Chameleon and Iguana Plugin C# Class Libraries

Destination.WaitForDisconnectWithTimeout Method 

Waits until either the plugin is disconnected from Iguana, or a specified timeout elapses.

[Visual Basic]
Public Function WaitForDisconnectWithTimeout( _
   ByVal TimeoutInMilliseconds As Integer _
) As Boolean
[C#]
public bool WaitForDisconnectWithTimeout(
   int TimeoutInMilliseconds
);

Parameters

TimeoutInMilliseconds
Timeout (in milliseconds) to wait for disconnection.

Return Value

Returns true if the plugin disconnected from Iguana, or false if the timeout elapsed before the plugin was disconnected from Iguana.

Remarks

May not be called from within an event handler (for example, may not be called from within the Disconnected handler).

See Also

Destination Class | iNTERFACEWARE.Iguana.Plugin Namespace