Sends a provisional response
synchronously.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
SendProvisionalResponse ( _
responseCode
As
Integer, _
signalingHeaders
As
IEnumerable(
Of
SignalingHeader) _
)
|
C# |
public
void
SendProvisionalResponse(
int
responseCode,
IEnumerable<
SignalingHeader>
signalingHeaders
)
|
Visual C++ |
public:
void
SendProvisionalResponse(
int
responseCode,
IEnumerable<
SignalingHeader^>^
signalingHeaders
)
|
JavaScript |
function
sendProvisionalResponse(
responseCode,
signalingHeaders);
|
Parameters
-
responseCode
- Type:
Int32
The provisional response code.
-
signalingHeaders
- Type:
IEnumerable
<
(Of
<
(
SignalingHeader
>
)
>
)
The collection of signaling headers. Can be null.
Exceptions
Exception |
Condition |
ArgumentOutOfRangeException
|
Thrown when the response code is not provisional. |
InvalidOperationException
|
Thrown when called in an invalid state. |
Microsoft.Rtc.Signaling
.
.
::
.
RealTimeException
|
Thrown when a transport error occurred while sending a
response. |
See Also