EndSendMessage Method

Gets the results of the Send operation.

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

Syntax

'Declaration
Public Function EndSendMessage ( _
    result As IAsyncResult _
) As InstantMessageId
'Usage
Dim instance As InstantMessagingFlow
Dim result As IAsyncResult
Dim returnValue As InstantMessageId

returnValue = instance.EndSendMessage(result)
public InstantMessageId EndSendMessage(
    IAsyncResult result
)

Parameters

Return Value

Type: Microsoft.Rtc.Collaboration..::..InstantMessageId

Remarks

Exceptions

[ref][ArgumentNullException]: The parameter was null. The IAsyncResult is a required parameter.

[ref][ArgumentException]: The IAsyncResult object was not created by calling Begin on this class.

[ref][ArgumentException]: The IAsyncResult object was created by a Begin method for a different operation.

[ref][InvalidOperationException]: End was called multiple times.

[cref][T:Microsoft.Rtc.Signaling.RealTimeException]: The operation failed.

[cref][T:Microsoft.Rtc.Signaling.OperationTimeoutException]: The operation timed out while waiting for a response.

See Also

Reference

InstantMessagingFlow Class

InstantMessagingFlow Members

Microsoft.Rtc.Collaboration Namespace