Declines an incoming call with options.
Namespace:
Microsoft.Rtc.Collaboration
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
JavaScript |
function
decline(
options);
|
Exceptions
Exception |
Condition |
ArgumentException
|
Thrown when the given
optionsparameter contains invalid or
restricted headers |
InvalidOperationException
|
Thrown when the call is in an invalid state to perform this
operation. Only incoming calls can be declined. |
Microsoft.Rtc.Signaling
.
.
::
.
RealTimeException
|
Thrown when the decline operation failed to complete
successfully. |
See Also