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.
Declines the incoming transfer. This will result in sending a failure response.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub DeclineWithResponse ( _
declineOptions As CallDeclineOptions _
)
'Usage
Dim instance As CallTransferReceivedEventArgs
Dim declineOptions As CallDeclineOptions
instance.DeclineWithResponse(declineOptions)
public void DeclineWithResponse(
CallDeclineOptions declineOptions
)
Parameters
- declineOptions
Type: Microsoft.Rtc.Collaboration.CallDeclineOptions
Options to use when declining an incoming transfer request.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when the response code in declineOptions was not in the expected range. |
| ArgumentException | Thrown when the given declineOptions parameter contains invalid or restricted headers. |
| ArgumentException | Thrown when the given declineOptions parameter contains invalid diagnostics information DiagnosticsInformation. |
| InvalidOperationException | Thrown when there is no transaction to decline. |
| RealTimeException | Thrown when there was a transport error. |
See Also
Reference
CallTransferReceivedEventArgs Class