MediaProvider.EndGetAnswer Method
Completes the operation started by BeginGetAnswer.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected MustOverride Function EndGetAnswer ( _
result As IAsyncResult _
) As SdpAnswer
'Usage
Dim result As IAsyncResult
Dim returnValue As SdpAnswer
returnValue = Me.EndGetAnswer(result)
protected abstract SdpAnswer EndGetAnswer(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Return Value
Type: Microsoft.Rtc.Collaboration.SdpAnswer
The answer to send out. If a null answer is returned, the call will be terminated with InternalServerError.
Exceptions
Exception | Condition |
---|---|
OfferAnswerException | Thrown when the given offer was not acceptable. |