CallMessageReceivedEventArgs.SendResponse Method (Int32)
Sends response to the incoming message request with the given response code.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub SendResponse ( _
responseCode As Integer _
)
'Usage
Dim instance As CallMessageReceivedEventArgs
Dim responseCode As Integer
instance.SendResponse(responseCode)
public void SendResponse(
int responseCode
)
Parameters
- responseCode
Type: System.Int32
Response code to use.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when value is set to be less than MinimumResponseCode or greater than MaximumResponseCode |
InvalidOperationException | Thrown when in an invalid state or when a response has already been sent. |
RealTimeException | Thrown when a transport error occurred while sending a response. |
See Also
Reference
CallMessageReceivedEventArgs Class