MediaProvider.EndSdpRenegotiation Method
Ends the asynchronous operation started by the BeginSdpRenegotiation method.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Sub EndSdpRenegotiation ( _
result As IAsyncResult _
)
'Usage
Dim result As IAsyncResult
Me.EndSdpRenegotiation(result)
protected void EndSdpRenegotiation(
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 server or remote participant returns an error and error response code can not be mapped to SdpAnswerStatus. |
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
Microsoft.Rtc.Collaboration.ComponentModel Namespace
BeginSdpRenegotiation(CallDialogContext, AsyncCallback, Object)