BeginInviteRemoteParticipants Method (IEnumerable(String), IEnumerable(String), ToastMessage, AsyncCallback, Object)
Invites remote participants to the conversation.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function BeginInviteRemoteParticipants ( _
destinationUris As IEnumerable(Of String), _
mediaTypes As IEnumerable(Of String), _
toastMessage As ToastMessage, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As Conversation
Dim destinationUris As IEnumerable(Of String)
Dim mediaTypes As IEnumerable(Of String)
Dim toastMessage As ToastMessage
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginInviteRemoteParticipants(destinationUris, _
mediaTypes, toastMessage, userCallback, _
state)
public IAsyncResult BeginInviteRemoteParticipants(
IEnumerable<string> destinationUris,
IEnumerable<string> mediaTypes,
ToastMessage toastMessage,
AsyncCallback userCallback,
Object state
)
Parameters
- destinationUris
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
- mediaTypes
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
- toastMessage
Type: Microsoft.Rtc.Collaboration..::..ToastMessage
- userCallback
Type: System..::..AsyncCallback
- state
Type: System..::..Object
Return Value
Type: System..::..IAsyncResult
Remarks
Sends a conference invitation to each of the ???????. The conversation must already be joined to a conference.
Exceptions
[cref][T:System.ArgumentException]: Thrown if any of the method parameters fail validation.
[cref][T:System.InvalidOperationException]: Thrown if the conversation does not have a valid conference session.