InstantMessagingFlow.EndSendInstantMessage(IAsyncResult) 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.
Gets the results of the SendInstantMessage operation.
public:
Microsoft::Rtc::Collaboration::SendInstantMessageResult ^ EndSendInstantMessage(IAsyncResult ^ result);
public Microsoft.Rtc.Collaboration.SendInstantMessageResult EndSendInstantMessage (IAsyncResult result);
member this.EndSendInstantMessage : IAsyncResult -> Microsoft.Rtc.Collaboration.SendInstantMessageResult
Public Function EndSendInstantMessage (result As IAsyncResult) As SendInstantMessageResult
Parameters
- result
- IAsyncResult
The reference to the pending asynchronous operation.
Returns
The message id from the provisional response, if any, received Or the list of participants failed to receive the message. By default, the message id will not be populated unless the application configured the flow property WaitingForDeliveryNotificationDisabled appropriately.
Exceptions
Thrown when this method is invoked multiple times using the same instance of asyncResult.
Thrown when the result
parameter is null.
Thrown when the result
parameter is invalid.
Thrown when the server or remote participant returns an error response. The SipResponseData in the exception should give additional information.
A server policy setting does not allow the sending of the message.
Thrown when the operation failed.
Thrown when the operation timed out while waiting for a response.