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), _
mediaTypes
As
IEnumerable(
Of
String), _
toastMessage
As
ToastMessage, _
userCallback
As
AsyncCallback, _
state
As
Object _
)
As
IAsyncResult
|
C# |
public
IAsyncResult
BeginInviteRemoteParticipants(
IEnumerable<
string>
destinationUris,
IEnumerable<
string>
mediaTypes,
ToastMessage
toastMessage,
AsyncCallback
userCallback,
Object
state
)
|
Visual C++ |
public:
IAsyncResult^
BeginInviteRemoteParticipants(
IEnumerable<
String^>^
destinationUris,
IEnumerable<
String^>^
mediaTypes,
ToastMessage^
toastMessage,
AsyncCallback^
userCallback,
Object^
state
)
|
JavaScript |
function
beginInviteRemoteParticipants(
destinationUris,
mediaTypes,
toastMessage,
userCallback,
state);
|
Parameters
-
destinationUris
- Type:
IEnumerable
<
(Of
<
(
String
>
)
>
)
A enumeration of URIs to which invitations to the conference
will be sent.
-
mediaTypes
- Type:
IEnumerable
<
(Of
<
(
String
>
)
>
)
An enumeration of media types to be added to the
invitation.
-
toastMessage
- Type:
Microsoft.Rtc.Collaboration
.
.
::
.
ToastMessage
A short message which 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
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