Declines the incoming conference invitation with the given ConferenceInvitationDeclineOptions.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
Decline ( _
	
options 
As 

ConferenceInvitationDeclineOptions _
)
C#
public 
void 
Decline(
	

ConferenceInvitationDeclineOptions 
options
)
Visual C++
public:
void 
Decline(
	

ConferenceInvitationDeclineOptions^ 
options
)
JavaScript
function 
decline(
options);

Remarks

To provide conferencing interoperability with legacy clients such as Office Communicator 1.0 and Communicator Web Access 1.0 any conference invitation that is declined with 415 - "Unsupported Media Type" or 488 - "Not Acceptable Here" could result in a dial out from the MCU to this participant.

Exceptions

Exception Condition
InvalidOperationException Thrown when:
  1. The signaling session is in an invalid state.
  2. This method is called after the invitation has expired or one of the response methods has already been called.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when the decline operation failed to complete successfully.

See Also