CallTransferReceivedEventArgs.DeclineWithResponse Method
Declines the "Transfer" operation.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in microsoft.rtc.collaboration.dll)
Syntax
'Declaration
Protected Sub DeclineWithResponse ( _
responseCode As Integer, _
responseText As String, _
headers As IEnumerable(Of SignalingHeader) _
)
protected void DeclineWithResponse (
int responseCode,
string responseText,
IEnumerable<SignalingHeader> headers
)
protected:
void DeclineWithResponse (
int responseCode,
String^ responseText,
IEnumerable<SignalingHeader^>^ headers
)
protected void DeclineWithResponse (
int responseCode,
String responseText,
IEnumerable<SignalingHeader> headers
)
protected function DeclineWithResponse (
responseCode : int,
responseText : String,
headers : IEnumerable<SignalingHeader>
)
Parameters
- responseCode
- responseText
- headers
Remarks
This will result in sending a failure response.
Exceptions
[cref][T:System.ArgumentOutOfRangeException]: The response code was not in the correct range.
[cref][T:System.InvalidOperationException]: There is no transaction to decline.
[cref][T:Microsoft.Rtc.Signaling.RealTimeException]: There was a error within the transport.
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
Reference
CallTransferReceivedEventArgs Class
CallTransferReceivedEventArgs Members
Microsoft.Rtc.Collaboration Namespace