Share via


Decline Method

Decline an incoming call with 486 (Busy Here) response code.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub Decline
'Usage
Dim instance As Call

instance.Decline()
public void Decline()

Remarks

Exceptions

[cref][T:System.InvalidOperationException]: Thrown when call is in invalid state to perform this operation. Only incoming calls can be declined.

[cref][T:Microsoft.Rtc.Signaling.RealTimeException]: Thrown when the decline operation failed to complete successfully.

See Also

Reference

Call Class

Call Members

Decline Overload

Microsoft.Rtc.Collaboration Namespace