ReferStatus.BeginTerminateSubscription(AsyncCallback, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Terminates this refer subscription. The subscription is active until terminating Notify message is received. If the application is not interested in waiting for the notification messages, this method can be used to terminate the underlying subscription for these notification messages. The refer state will not be affected by this operation.
public:
IAsyncResult ^ BeginTerminateSubscription(AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginTerminateSubscription (AsyncCallback userCallback, object state);
member this.BeginTerminateSubscription : AsyncCallback * obj -> IAsyncResult
Public Function BeginTerminateSubscription (userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- userCallback
- AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
- Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Returns
An IAsyncResult that references the asynchronous operation.