BackToBackCall.EndEstablish Method
Determines whether the corresponding operation completed successfully. This method will wait if the operation has not yet completed.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub EndEstablish ( _
result As IAsyncResult _
)
'Usage
Dim instance As BackToBackCall
Dim result As IAsyncResult
instance.EndEstablish(result)
public void EndEstablish(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when this method is invoked multiple times using the same asyncResult. |
ArgumentNullException | Thrown when the result parameter is null. |
ArgumentException | Thrown when the result parameter is invalid. |
FailureResponseException | Thrown when the remote side returns a failure response for the establish request operation. |
OperationTimeoutException | Thrown when this operation timed out. |
OperationFailureException | Thrown when any of the sub operations of this operation failed. This failure could be a failure to establish outgoing callleg or failure to accept incoming call. |
RealTimeException | Thrown when any of the sub-operations of this operation failed due to errors such as connection failure or authentication failure. |