Method IsServerError
IsServerError(Int32)
Determines whether a given error code is from the implementation-defined server-errors range.
Declaration
public static bool IsServerError(int code)
Parameters
Type | Name | Description |
---|---|---|
Int32 | code | The error code to test. |
Returns
Type | Description |
---|---|
Boolean | true , if code is a server error, otherwise false . |