Export (0) Print
Expand All

PublishSubscribeSession.BeginUnsubscribe Method

Begins an asynchronous operation to unsubscribe the underlying subscription.

Namespace:  Microsoft.Rtc.Collaboration.Presence
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

public virtual IAsyncResult BeginUnsubscribe(
	AsyncCallback userCallback,
	Object state


Type: System.AsyncCallback
The method to be called when the asynchronous operation is completed.
Type: System.Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Return Value

Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation.

If no underlying subscription exists, then this operation completes immediately.

© 2014 Microsoft