IsFailureResponse Method
Returns whether the response code is in the range of failure responses.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Shared Function IsFailureResponse ( _
responseCode As Integer _
) As Boolean
'Usage
Dim responseCode As Integer
Dim returnValue As Boolean
returnValue = ResponseCode.IsFailureResponse(responseCode)
public static bool IsFailureResponse(
int responseCode
)
Parameters
- responseCode
Type: System..::..Int32
The response code to check.
Return Value
Type: System..::..Boolean
true if the response code is in the range of failure responses, otherwise false.
Remarks
A return value of false does not necessarily indicate that the response code indicates success.