CallMessageReceivedEventArgs.SendResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SendResponse(Int32) |
Sends response to the incoming message request with the given response code. |
SendResponse(Int32, ContentDescription, CallSendMessageResponseOptions) |
Sends response to the incoming message request with the given response code and options. |
SendResponse(Int32)
Sends response to the incoming message request with the given response code.
public:
void SendResponse(int responseCode);
public void SendResponse (int responseCode);
member this.SendResponse : int -> unit
Public Sub SendResponse (responseCode As Integer)
Parameters
- responseCode
- Int32
Response code to use.
Exceptions
Thrown when value is set to be less than MinimumResponseCode or greater than MaximumResponseCode
Thrown when in an invalid state or when a response has already been sent.
Thrown when a transport error occurred while sending a response.
Applies to
SendResponse(Int32, ContentDescription, CallSendMessageResponseOptions)
Sends response to the incoming message request with the given response code and options.
public:
void SendResponse(int responseCode, Microsoft::Rtc::Signaling::ContentDescription ^ contentDescription, Microsoft::Rtc::Collaboration::CallSendMessageResponseOptions ^ options);
public void SendResponse (int responseCode, Microsoft.Rtc.Signaling.ContentDescription contentDescription, Microsoft.Rtc.Collaboration.CallSendMessageResponseOptions options);
member this.SendResponse : int * Microsoft.Rtc.Signaling.ContentDescription * Microsoft.Rtc.Collaboration.CallSendMessageResponseOptions -> unit
Parameters
- responseCode
- Int32
Response code to use.
- contentDescription
- ContentDescription
Content deescription to send.
- options
- CallSendMessageResponseOptions
Call message response options to use. Can be null.
Exceptions
Thrown when value is set to be less than 200 or greater than 699.
Thrown when options
contains invalid diagnostics information. DiagnosticsInformation.
Thrown when in an invalid state or when a response has already been sent.
Thrown when a transport error occurred while sending a response.