Edit

Share via


RemotePresence.BeginRemoveAllTargets(AsyncCallback, Object) Method

Definition

Begins an asynchronous operation to unsubscribe to all existing subscriptions that are not already terminating.

public:
 IAsyncResult ^ BeginRemoveAllTargets(AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginRemoveAllTargets (AsyncCallback userCallback, object state);
member this.BeginRemoveAllTargets : AsyncCallback * obj -> IAsyncResult
Public Function BeginRemoveAllTargets (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.

Remarks

This Api is now obsolete, please use StartUnsubscribingToAllPresentities instead.

Applies to