Accepts the incoming transfer.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Function 
Accept ( _
	
headers 
As 
IEnumerable(
Of 

SignalingHeader) _
) 
As 
Call
C#
public 
Call 
Accept(
	
IEnumerable<

SignalingHeader> 
headers
)
Visual C++
public:
Call^ 
Accept(
	
IEnumerable<

SignalingHeader^>^ 
headers
)
JavaScript
function 
accept(
headers);

Parameters

headers
Type: IEnumerable < (Of < ( SignalingHeader > ) > )
The SIP extension headers to add to the response. Can be null.

Return Value

The call targeting the destination URI indicated in the transfer.

Remarks

The call returned by the Accept method is contained in the new Conversation exposed on the event arguments.

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 anymore
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when the call is unable to send successful response to the transferor.

See Also