Numeric SIP status code class - static version.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Shared Function GetStatusClass ( _ statusCode As Integer _ ) As Integer |
Visual Basic (usage) |
---|
Dim statusCode As Integer Dim returnValue As Integer returnValue = Response. GetStatusClass( statusCode) |
C# |
---|
public static int GetStatusClass( int statusCode ) |
Parameters
- statusCode
- Type:
System
.
.
::
.
.
Int32
Remarks
For example, a 486 status code belongs to the 400 status class. This property is calculated based on the supplied StatusCode .