Edit

Share via


ConferenceInvitation.BeginAccept Method

Definition

Overloads

BeginAccept(AsyncCallback, Object)

Begins an asynchronous operation to accept the incoming conference invitation.

BeginAccept(ConferenceInvitationAcceptOptions, AsyncCallback, Object)

Begins an asynchronous operation to accept the incoming conference invitation with the given ConferenceInvitationAcceptOptions.

BeginAccept(AsyncCallback, Object)

Begins an asynchronous operation to accept the incoming conference invitation.

public:
 IAsyncResult ^ BeginAccept(AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginAccept (AsyncCallback userCallback, object state);
member this.BeginAccept : AsyncCallback * obj -> IAsyncResult
Public Function BeginAccept (userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

userCallback
AsyncCallback
state
Object

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

Thrown in these two cases: The signaling session is in an invalid stateThis method is called after the invitation has expired or one of the response methods has already been called.

Thrown when a transport error occurs while sending the response.

Applies to

BeginAccept(ConferenceInvitationAcceptOptions, AsyncCallback, Object)

Begins an asynchronous operation to accept the incoming conference invitation with the given ConferenceInvitationAcceptOptions.

public:
 IAsyncResult ^ BeginAccept(Microsoft::Rtc::Collaboration::ConferenceInvitationAcceptOptions ^ options, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginAccept (Microsoft.Rtc.Collaboration.ConferenceInvitationAcceptOptions options, AsyncCallback userCallback, object state);
member this.BeginAccept : Microsoft.Rtc.Collaboration.ConferenceInvitationAcceptOptions * AsyncCallback * obj -> IAsyncResult
Public Function BeginAccept (options As ConferenceInvitationAcceptOptions, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

options
ConferenceInvitationAcceptOptions

Optional parameters for accepting the conference invitation.

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 signaling session is in an invalid state.This method is called after the invitation has expired or one of the response methods has already been called.

Thrown when a transport error occurs while sending the response.

Applies to