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
Visual Basic (Declaration) |
Protected
Sub
DeclineWithResponse ( _
declineOptions
As
CallDeclineOptions _
)
|
JavaScript |
function
declineWithResponse(
declineOptions);
|
Exceptions
Exception |
Condition |
ArgumentNullException
|
Thrown when the argument
declineOptionsis null. |
ArgumentOutOfRangeException
|
Thrown when the response code in
declineOptionswas not in the
expected range. |
InvalidOperationException
|
Thrown when there is no transaction to decline. |
Microsoft.Rtc.Signaling
.
.
::
.
RealTimeException
|
Thrown when there was a transport error. |
See Also