Share via


ResponseCode.IsFailureResponse Method

Returns true if the response code is in the range of failure responses; otherwise false. A return value of false does not necessarily indicate that the response code indicates success.

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
Returns true if the response code is in the range of failure responses, otherwise false.

See Also

Reference

ResponseCode Class

ResponseCode Members

Microsoft.Rtc.Signaling Namespace