UnsubscribeCommand(String,CommandCallback,IntPtr)
Unsubscribes to command channels matching the specified id
, callback
, and userData
.
Passing NULL values makes it possible to unsubscribe from multiple channels in the same call.
Sending a NULL or empty id
matches any id
.
Sending a NULL callback
matches any callback
.
Sending a NULL userData
matches any userData
.
The call is synchronous.
See SubscribeCommand(String,CommandCallback,IntPtr) for more information.
Parameters
id : string : Name of the channel to unsubscribe from.
callback : CommandCallback : The CommandCallback that specifies the function to call when the data is available.
userData : IntPtr : The userData sent to the callback when invoked.
Return
Status : Status that indicates if the operation succeeds.