ApplicationPinServices.EndVerifyPin Method
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.PinManagement
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function EndVerifyPin ( _
result As IAsyncResult _
) As PinVerificationResult
'Usage
Dim instance As ApplicationPinServices
Dim result As IAsyncResult
Dim returnValue As PinVerificationResult
returnValue = instance.EndVerifyPin(result)
public PinVerificationResult EndVerifyPin(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Return Value
Type: Microsoft.Rtc.Collaboration.PinManagement.PinVerificationResult
Returns pin owner details.
Exceptions
Exception | Condition |
---|---|
PinFailureException | Thrown when the pin verification for the given uri failed. Applications can use the Reason property to get the failure reason. Reason |
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 due to invalid object state. |
RealTimeException | Thrown when any of the sub operations of this operation failed due to SIP related errors like connection failure, Authentication failure. |