Begins an asynchronous operation to invite remote participants to the conversation’s conference.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Function 
BeginInviteRemoteParticipants ( _
	
destinationUris 
As 
IEnumerable(
Of 
String), _
	
toastMessage 
As 

ToastMessage, _
	
userCallback 
As 
AsyncCallback, _
	
state 
As 
Object _
) 
As 
IAsyncResult
C#
public 
IAsyncResult 
BeginInviteRemoteParticipants(
	
IEnumerable<
string> 
destinationUris,
	

ToastMessage 
toastMessage,
	
AsyncCallback 
userCallback,
	
Object 
state
)
Visual C++
public:
IAsyncResult^ 
BeginInviteRemoteParticipants(
	
IEnumerable<
String^>^ 
destinationUris, 
	

ToastMessage^ 
toastMessage, 
	
AsyncCallback^ 
userCallback, 
	
Object^ 
state
)
JavaScript
function 
beginInviteRemoteParticipants(
destinationUris, 
toastMessage, 
userCallback, 
state);

Parameters

destinationUris
Type: IEnumerable < (Of < ( String > ) > )
A enumeration of URIs to which invitations to the conference will be sent.
toastMessage
Type: Microsoft.Rtc.Collaboration . . :: . ToastMessage
A short message that can be displayed to the recipient upon receipt. This parameter can be null.
userCallback
Type: AsyncCallback
The method to be called when the asynchronous operation is completed.
state
Type: Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Return Value

An IAsyncResult that references the asynchronous operation.

Remarks

Sends a conference invitation to each of the destinationUris.

The conversation must already be joined to a conference before calling this method.

Exceptions

Exception Condition
ArgumentException Thrown if any of the method parameters fail validation.
InvalidOperationException Thrown if the conversation does not have a valid conference session.

See Also