Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sends the transfer notification. This will result in sending Notification to the transferor explicitly.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function BeginSendTransferNotification ( _
responseCode As Integer, _
notificationOptions As CallTransferNotificationOptions, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As CallTransferReceivedEventArgs
Dim responseCode As Integer
Dim notificationOptions As CallTransferNotificationOptions
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginSendTransferNotification(responseCode, _
notificationOptions, userCallback, _
state)
public IAsyncResult BeginSendTransferNotification(
int responseCode,
CallTransferNotificationOptions notificationOptions,
AsyncCallback userCallback,
Object state
)
Parameters
- responseCode
Type: System.Int32
The specific response code.
- notificationOptions
Type: Microsoft.Rtc.Collaboration.CallTransferNotificationOptions
Optional parameters to include when sending notification. Can be null.
- userCallback
Type: System.AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
Type: System.Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Return Value
Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | 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. |
| ArgumentOutOfRangeException | Thrown when the response code is out of range. |
See Also
Reference
CallTransferReceivedEventArgs Class