Edit

Share via


BackToBackCall.EndEstablish(IAsyncResult) Method

Definition

Determines whether the corresponding operation completed successfully. This method will wait if the operation has not yet completed.

public:
 void EndEstablish(IAsyncResult ^ result);
public void EndEstablish (IAsyncResult result);
member this.EndEstablish : IAsyncResult -> unit
Public Sub EndEstablish (result As IAsyncResult)

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Exceptions

Thrown when this method is invoked multiple times using the same asyncResult.

Thrown when the result parameter is null.

Thrown when the result parameter is invalid.

Thrown when the remote side returns a failure response for the establish request operation.

Thrown when this operation timed out.

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.

Thrown when any of the sub-operations of this operation failed due to errors such as connection failure or authentication failure.

Applies to