McuSession.EndSendCommand Method
Waits for the pending send command to complete.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Function EndSendCommand ( _
result As IAsyncResult _
) As ConferenceCommandResponse
'Usage
Dim result As IAsyncResult
Dim returnValue As ConferenceCommandResponse
returnValue = Me.EndSendCommand(result)
protected ConferenceCommandResponse EndSendCommand(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Return Value
Type: Microsoft.Rtc.Collaboration.ConferenceCommandResponse
The results of the operation.
Exceptions
Exception | Condition |
---|---|
OperationTimeoutException | Thrown when the operation timed out waiting for a reply. |
ConferenceFailureException | Thrown when the operation failed with a Centralized Conference Control Protocol (C3P) body in the response. |
RealTimeException | Thrown when the operation failed without a C3P body in the response. |
Remarks
The operation times out if no response was received within three minutes. If a pending response was received, the wait period is reset back to three minutes.