Verastream SDK .Net Reference
removeIStatusListener Method
Example 



For .NET based languages, pass null in for inListener parameter. For Visual Basic or MFC based languages pass in a dispatch pointer to listener receiving status events.
Removes the StatusListener from the Screen object. The Screen object will no longer receive status event notifications.
Syntax
'Declaration
 
Public Sub removeIStatusListener( _
   ByVal inListener As ScreenUPG _
) 
'Usage
 
Dim instance As ScreenUPG
Dim inListener As ScreenUPG
 
instance.removeIStatusListener(inListener)
public void removeIStatusListener( 
   ScreenUPG inListener
)
public:
void removeIStatusListener( 
   ScreenUPG^ inListener
) 

Parameters

inListener
For .NET based languages, pass null in for inListener parameter. For Visual Basic or MFC based languages pass in a dispatch pointer to listener receiving status events.
Example
[C#] [VB]
// Notify screen object that we'd no longer like to receive events
screen.removeIStatusListener(null);
            
// Remove the delegate
ScreenUPG.ScreenUPG.onStatusReceivedHandler -= instance.myStatusReceivedHandler;
screen.removeIStatusListener screen
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also