BeginTransfer Method (String, AsyncCallback, Object)
Initiates a transfer request to the remote participant to transfer the current call to the given transfer target in Attended or Unattended mode.
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
'Declaration Public Function BeginTransfer ( _ targetUri As String, _ userCallback As AsyncCallback, _ state As Object _ ) As IAsyncResult
'Usage Dim instance As AudioVideoCall Dim targetUri As String Dim userCallback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = instance.BeginTransfer(targetUri, _ userCallback, state)
public IAsyncResult BeginTransfer( string targetUri, AsyncCallback userCallback, Object state )
In the Unattended type, the call is terminated as soon as the transfer request is accepted by the remote participant. In the Attended type, the call monitors the success or failure notifications from the remote regarding how the transfer is being carried out. If the transfer succeeds, this call is terminated; otherwise the call is not affected.
[T:System.ArgumentNullException]: Thrown if the value is null.
[T:System.InvalidOperationException]: Thrown if the current call is not in a valid state to initiate a transfer operation.