This method is used to determine 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
Visual Basic (Declaration) |
---|
Public Function EndEstablish ( _ result As IAsyncResult _ ) As SipResponseData |
C# |
---|
public SipResponseData EndEstablish( IAsyncResult result ) |
Visual C++ |
---|
public: SipResponseData^ EndEstablish( IAsyncResult^ result ) |
JavaScript |
---|
function endEstablish( result); |
Parameters
- result
- Type:
IAsyncResult
The reference to the pending asynchronous operation.
Return Value
The SIP response from the operation.Remarks
If the operation does not throw, the local endpoint is
successfully established.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the resultparameter is null. |
ArgumentException | Thrown when the resultparameter is invalid. |
Microsoft.Rtc.Signaling . . :: . OperationFailureException | Thrown when endpoint is in invalid state be established, or if retrieval of in-band provisioning data fails. |
Microsoft.Rtc.Signaling . . :: . RegisterException | Thrown when the Register operation failed with the message text indicating the reason. |
Microsoft.Rtc.Signaling . . :: . AuthenticationException | Thrown when a general authentication-related problem occurred. |
Microsoft.Rtc.Signaling . . :: . OperationTimeoutException | Thrown when server did not respond to Register request. |
Microsoft.Rtc.Signaling . . :: . RealTimeException | Thrown when this operation failed for other reasons. |