Edit

Share via


ConferenceSession.BeginTerminateConference(AsyncCallback, Object) Method

Definition

Terminates the conference and forces all participants to leave if performed by a conference leader. Otherwise it causes the participant to leave the conference.

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

Unless ejecting all participants is required, the recommended way of leaving a conference is using the BeginTerminate(ConversationTerminateOptions, AsyncCallback, Object) method.

Applies to