AudioVideoCallTransferReceivedEventArgs.Accept Method
Accepts the "Transfer" operation received.
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function Accept ( _
headers As IEnumerable(Of SignalingHeader) _
) As AudioVideoCall
'Usage
Dim instance As AudioVideoCallTransferReceivedEventArgs
Dim headers As IEnumerable(Of SignalingHeader)
Dim returnValue As AudioVideoCall
returnValue = instance.Accept(headers)
public AudioVideoCall Accept(
IEnumerable<SignalingHeader> headers
)
Parameters
- headers
Type: System.Collections.Generic.IEnumerable<SignalingHeader>
The signaling headers to add. Can be null.
Return Value
Type: Microsoft.Rtc.Collaboration.AudioVideo.AudioVideoCall
The new call will belong to existing conversation (for self-transfer scenario) or a new conversation. The application is responsible for establishing this new call.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the Endpoint associated with the new transfer call is terminating or terminated or when then underlying transfer transaction is not valid. |
RealTimeException | Thrown when the call is unable to send successful response to the transferor. |
See Also
Reference
AudioVideoCallTransferReceivedEventArgs Class