Partilhar via


ResponseCode.IsSuccessfulResponse Method

Returns true if the response is in the range of successful responses; otherwise false. A return value of false does not necessarily mean it is a failure response.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Shared Function IsSuccessfulResponse ( _
    responseCode As Integer _
) As Boolean
'Usage
Dim responseCode As Integer
Dim returnValue As Boolean

returnValue = ResponseCode.IsSuccessfulResponse(responseCode)
public static bool IsSuccessfulResponse(
    int responseCode
)

Parameters

  • responseCode
    Type: System.Int32
    The response code to check.

Return Value

Type: System.Boolean
Returns true when the response is in the range of successful responses; otherwise false.

See Also

Reference

ResponseCode Class

ResponseCode Members

Microsoft.Rtc.Signaling Namespace