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