Terminates a session by rejecting the incoming INVITE. Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in microsoft.rtc.collaboration.dll)

Syntax

Exceptions

Exception type Condition
ArgumentOutOfRangeException

Thrown when the response code is not in the proper range.

InvalidOperationException

Thrown when called in an invalid state.

RealTimeException

Thrown when a transport error occurs while sending.

Remarks

TerminateWithRejection can be called only for an incoming session before participating in it.


Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also