Sends a response to the message unless DisableAutomaticResponse is true. Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in microsoft.rtc.collaboration.dll)



Exception type Condition

Thrown when a transport error occurred while sending a response.


Thrown when in an invalid state or when a response has already been sent.


This method is optional for message received events. If the application does not call SendResponse in MessageReceived handlers, the platform automatically responds with ResponseCode.Succeeded.

The application is responsible for ensuring that required headers for the specific response code are added using this overloaded SendResponse method. For example, sending response code 405 requires the Allow header to be added.

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