Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | Members | See Also
StreamBase Client API
MonitorListener Interface

Implement this interface in order to receive the information produced by a StreamBaseMonitor object.

Namespace: StreamBase.SB.Monitor
Assembly: StreamBase.SB.Monitor (in StreamBase.SB.Monitor.dll) Version: 10.3.0.0

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public interface MonitorListener

    Public Interface MonitorListener

    public interface class MonitorListener

# Members

| All Members |  |  | Methods |

Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |

| Member | Description
--- | --- | ---
| SnapshotReceived(Snapshot) | Called by a StreamBaseMonitor object when it has received a Snapshot. The snapshot object must only be used within the invocation of this method, as it will cease to be valid as soon as SnapshotReceived returns. For example, an implementation of this interface should not pass the snapshot object to another thread for asynchronous processing, because the snapshot may have become invalid by the time that thread receives the snapshot. If you need to store a snapshot for later processing, you may Clone() individual objects in the snapshot (ThreadInfo, SystemInfo, etc.)

# See Also

StreamBase.SB.Monitor Namespace