AudioVideoCallTransferReceivedEventArgs.Accept Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Accepts the "Transfer" operation received.
public:
Microsoft::Rtc::Collaboration::AudioVideo::AudioVideoCall ^ Accept(System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ headers);
public Microsoft.Rtc.Collaboration.AudioVideo.AudioVideoCall Accept (System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> headers);
override this.Accept : seq<Microsoft.Rtc.Signaling.SignalingHeader> -> Microsoft.Rtc.Collaboration.AudioVideo.AudioVideoCall
Public Function Accept (headers As IEnumerable(Of SignalingHeader)) As AudioVideoCall
Parameters
- headers
- IEnumerable<SignalingHeader>
The signaling headers to add. Can be null.
Returns
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
Thrown when the Endpoint associated with the new transfer call is terminating or terminated or when then underlying transfer transaction is not valid.
Thrown when the call is unable to send successful response to the transferor.