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
- responseCode
Type: System..::..Int32
The response code to check.
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.