Checks whether or not the given code is the same as the code for the POSIX
error name in a cross platform way.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax public static bool IsError(
string name,
int code
)
Parameters
- name
- Type: SystemString
The name of the code to get the value for (e.g. ECONNREFUSED) - code
- Type: SystemInt32
The code to check
Return Value
Type:
Booleantrue if the code matches, otherwise
falseSee Also