Declines the Refer operation. This will result
in sending a failure response.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
DeclineWithResponse ( _
responseCode
As
Integer, _
responseText
As
String, _
signalingHeaders
As
IEnumerable(
Of
SignalingHeader) _
)
|
C# |
public
void
DeclineWithResponse(
int
responseCode,
string
responseText,
IEnumerable<
SignalingHeader>
signalingHeaders
)
|
Visual C++ |
public:
void
DeclineWithResponse(
int
responseCode,
String^
responseText,
IEnumerable<
SignalingHeader^>^
signalingHeaders
)
|
JavaScript |
function
declineWithResponse(
responseCode,
responseText,
signalingHeaders);
|
Parameters
-
responseCode
- Type:
Int32
The response code. It must be a failure response code.
-
responseText
- Type:
String
The response text, can be null.
-
signalingHeaders
- Type:
IEnumerable
<
(Of
<
(
SignalingHeader
>
)
>
)
The signaling headers to add. Can be null.
Exceptions
See Also