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: 7.7.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 

 MemberDescription
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