Sends a message synchronously. Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in microsoft.rtc.collaboration.dll)



Exception type Condition

Thrown when a non-null is expected for an argument. The argument name for which a non-null is expected is part of the exception message.


A server policy setting does not allow the sending of the message.


Thrown when the server or remote participant returns an error.

The response code in the exception should give more information about the error or encompasses an SIP error or failure cases encountered during sending the message - SIP Transport error, SIP Authentication, and credential-related errors.


Thrown when invalid arguments are passed.


Thrown when the session is in an invalid state to send a message.


Thrown when the server or remote participant returns an error. The SipResponseData in the exception should give additional information.


The session should be in the Connected state. This method is not recommended for a UI thread.

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.


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