Partilhar via


AudioVideoCall.EndPark 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.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Function EndPark ( _
    result As IAsyncResult _
) As CallParkResponseData
'Usage
Dim instance As AudioVideoCall
Dim result As IAsyncResult
Dim returnValue As CallParkResponseData

returnValue = instance.EndPark(result)
public CallParkResponseData EndPark(
    IAsyncResult result
)

Parameters

Return Value

Type: Microsoft.Rtc.Collaboration.CallParkResponseData
Returns the Park message data with orbit number and parsed SIP response.

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 park request.

OperationTimeoutException

Thrown when the park 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.

See Also

Reference

AudioVideoCall Class

AudioVideoCall Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace