Declines the Refer operation.
Namespace:
Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in
microsoft.rtc.collaboration.dll)
Syntax
|
Public Sub DeclineWithResponse ( _
responseCode As Integer, _
responseText As String, _
signalingHeaders As IEnumerable(Of SignalingHeader) _
)
|
|
public void DeclineWithResponse (
int responseCode,
string responseText,
IEnumerable<SignalingHeader> signalingHeaders
)
|
Parameters
- responseCode
-
The response code. It must be a failure response code.
- responseText
-
The response text, which can be null.
- signalingHeaders
-
The signaling headers to add, which can be null.
Exceptions
Exception type |
Condition |
ArgumentOutOfRangeException
|
The response code is not in the correct range.
|
InvalidOperationException
|
There is no transaction to decline.
|
RealTimeException
|
There is a error within the transport.
|
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