UnsubscribeCommand(String,CommandCallback,IntPtr)¶
Unsubscribes to commands matching the specified id
, callback
, and userData
.
Sending a NULL or empty id
will match any id
.
Sending a NULL callback
will match any callback
.
Sending a NULL userData
will match any userData
.
The above rules allow to unsubscribe from multiple subscriptions in the same call.
The call is synchronous.
See SubscribeCommand(String,CommandCallback,IntPtr).
Parameters¶
- id : string : Name id of the subscribe command to unsubscribe.
- callback : CommandCallback : The CommandCallback that specifies the function to call when the data is available.
- userData : IntPtr : The userData is sent to the callback when invoked.