Provides a generic test for failure on any status value.
Namespace: wclCommonAssembly: wclCommon (in wclCommon.dll) Version: 7.11.10.0 (7.11.10.0)
Syntax public static bool Failed(
int Status
)
Public Shared Function Failed (
Status As Integer
) As Boolean
public:
static bool Failed(
int Status
)
Parameters
- Status Int32
- The status code. This value can be an HRESULT or an SCODE.
A negative number indicates failure.
Return Value
Booleantrue if
Status represents a failed status value; otherwise,
false.
See Also