ConferenceInvitation.BeginDeliver Method (String, ConferenceInvitationDeliverOptions, AsyncCallback, Object)
Begins an asynchronous operation to deliver the conference invitation.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function BeginDeliver ( _
destinationUri As String, _
options As ConferenceInvitationDeliverOptions, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As ConferenceInvitation
Dim destinationUri As String
Dim options As ConferenceInvitationDeliverOptions
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginDeliver(destinationUri, _
options, userCallback, state)
public IAsyncResult BeginDeliver(
string destinationUri,
ConferenceInvitationDeliverOptions options,
AsyncCallback userCallback,
Object state
)
Parameters
- destinationUri
Type: System.String
The URI to which the invitation to the conference will be sent.
- options
Type: Microsoft.Rtc.Collaboration.ConferenceInvitationDeliverOptions
Optional parameters to deliver the invitation.
- userCallback
Type: System.AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
Type: System.Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Return Value
Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the destinationUri parameter contains invalid URI or when the options parameter contains invalid or restricted signaling headers. |
InvalidOperationException | Thrown when the conversation or conference is not in a valid state to perform this operation. |