Share via


IsSuccessfulResponse Method

Returns whether the response is in the range of successful responses.

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

Return Value

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

Remarks

A return value of false does not necessarily mean it is a failure response.

See Also

Reference

ResponseCode Class

ResponseCode Members

Microsoft.Rtc.Signaling Namespace