Edit

Share via


CallTransferReceivedEventArgs.BeginSendTransferNotification Method

Definition

Sends the transfer notification. This will result in sending Notification to the transferor explicitly.

public:
 IAsyncResult ^ BeginSendTransferNotification(int responseCode, Microsoft::Rtc::Collaboration::CallTransferNotificationOptions ^ notificationOptions, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginSendTransferNotification (int responseCode, Microsoft.Rtc.Collaboration.CallTransferNotificationOptions notificationOptions, AsyncCallback userCallback, object state);
member this.BeginSendTransferNotification : int * Microsoft.Rtc.Collaboration.CallTransferNotificationOptions * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendTransferNotification (responseCode As Integer, notificationOptions As CallTransferNotificationOptions, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

responseCode
Int32

The specific response code.

notificationOptions
CallTransferNotificationOptions

Optional parameters to include when sending notification. Can be null.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

Thrown when the endpoint is already terminated, sending transfer notification operation is not allowed or application has not accepted the incoming transfer request by disabling sending implicit transfer notifications yet.

Thrown when the response code is out of range.

Applies to