Edit

Share via


UserEndpointPresenceServices.BeginDeleteUserPresenceState Method

Definition

Begins an asynchronous operation to delete all maunally published User presence states.

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

Exceptions

Thrown when the endpoint is not in the "registered" state.

Remarks

User PresenceState is typically published by the client, when user manually set the PresenceState in UI. This method allows application to delete all manual user PresenceState publication and reset the presence state to depend only on application's automatic presence state publications.

Applies to