AudioVideoCall.BeginSendMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initiates an operation to send message to the remote participant of this call.
public:
IAsyncResult ^ BeginSendMessage(Microsoft::Rtc::Signaling::MessageType messageType, Microsoft::Rtc::Signaling::ContentDescription ^ contentDescription, Microsoft::Rtc::Collaboration::CallSendMessageRequestOptions ^ options, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginSendMessage (Microsoft.Rtc.Signaling.MessageType messageType, Microsoft.Rtc.Signaling.ContentDescription contentDescription, Microsoft.Rtc.Collaboration.CallSendMessageRequestOptions options, AsyncCallback userCallback, object state);
override this.BeginSendMessage : Microsoft.Rtc.Signaling.MessageType * Microsoft.Rtc.Signaling.ContentDescription * Microsoft.Rtc.Collaboration.CallSendMessageRequestOptions * AsyncCallback * obj -> IAsyncResult
Parameters
- messageType
- MessageType
Message type to send.
- contentDescription
- ContentDescription
Content description to send.
- options
- CallSendMessageRequestOptions
Optional parameters to send in the message.
- 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 options
parameter contains invalid or restricted signaling headers.
Thrown when the call is in an invalid state to perform this operation.