Sends a reliable provisional response with option to send answer
for early media.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in
microsoft.rtc.collaboration.dll)
Syntax
|
Public Function BeginSendReliableProvisionalResponse ( _
responseCode As Integer, _
signalingHeaders As IEnumerable(Of SignalingHeader), _
needEarlyMediaSupport As Boolean, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
|
|
public IAsyncResult BeginSendReliableProvisionalResponse (
int responseCode,
IEnumerable<SignalingHeader> signalingHeaders,
bool needEarlyMediaSupport,
AsyncCallback userCallback,
Object state
)
|
Parameters
- responseCode
-
The provisonal response code in the range 101-199.
- signalingHeaders
-
The custom signaling headers to add the response.
- needEarlyMediaSupport
-
The flag indicating whether the provisional response needs to
send the media description.
- userCallback
-
The callback to be invoked when the SendProvisionalResponse
operation has completed.
- state
-
The state to be passed back to the callback.
Return Value
An
IAsyncResult object that references this operation.
Exceptions
Exception type |
Condition |
ArgumentOutOfRangeException
|
Thrown when the response code is not a provisional
response code.
|
InvalidOperationException
|
Thrown if the sesison is not in incoming state.
|
Remarks
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.
Platforms
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