Skip to content

Reference

OpcStatusCodeExtensions Members

Provides extension methods to determine the severity of an OpcStatusCode.

Reference

OpcStatusCodeExtensions Members ​

Type
OpcStatusCodeExtensions
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Methods ​

IsBad ​

static

Determines whether the severity of the status code specified is Bad.

csharp
[CLSCompliant(false)]
public static bool IsBad(this OpcStatusCode value)
vbnet
<CLSCompliant(False)>
Public Shared Function IsBad(value As OpcStatusCode) As Boolean

Parameters

NameTypeDescription
valueOpcStatusCodeThe status code to examine.

Returns

Boolean

The value true if the severity of the value is Bad; otherwise the value false.

IsGood ​

static

Determines whether the severity of the status code specified is Good.

csharp
[CLSCompliant(false)]
public static bool IsGood(this OpcStatusCode value)
vbnet
<CLSCompliant(False)>
Public Shared Function IsGood(value As OpcStatusCode) As Boolean

Parameters

NameTypeDescription
valueOpcStatusCodeThe status code to examine.

Returns

Boolean

The value true if the severity of the value is Good; otherwise the value false.

IsNotBad ​

static

Determines whether the severity of the status code specified is not Bad.

csharp
[CLSCompliant(false)]
public static bool IsNotBad(this OpcStatusCode value)
vbnet
<CLSCompliant(False)>
Public Shared Function IsNotBad(value As OpcStatusCode) As Boolean

Parameters

NameTypeDescription
valueOpcStatusCodeThe status code to examine.

Returns

Boolean

The value true if the severity of the value is not Bad; otherwise the value false.

IsNotGood ​

static

Determines whether the severity of the status code specified is not Good.

csharp
[CLSCompliant(false)]
public static bool IsNotGood(this OpcStatusCode value)
vbnet
<CLSCompliant(False)>
Public Shared Function IsNotGood(value As OpcStatusCode) As Boolean

Parameters

NameTypeDescription
valueOpcStatusCodeThe status code to examine.

Returns

Boolean

The value true if the severity of the value is not Good; otherwise the value false.

IsNotUncertain ​

static

Determines whether the severity of the status code specified is not Uncertain.

csharp
[CLSCompliant(false)]
public static bool IsNotUncertain(this OpcStatusCode value)
vbnet
<CLSCompliant(False)>
Public Shared Function IsNotUncertain(value As OpcStatusCode) As Boolean

Parameters

NameTypeDescription
valueOpcStatusCodeThe status code to examine.

Returns

Boolean

The value true if the severity of the value is not Uncertain; otherwise the value false.

IsUncertain ​

static

Determines whether the severity of the status code specified is Uncertain.

csharp
[CLSCompliant(false)]
public static bool IsUncertain(this OpcStatusCode value)
vbnet
<CLSCompliant(False)>
Public Shared Function IsUncertain(value As OpcStatusCode) As Boolean

Parameters

NameTypeDescription
valueOpcStatusCodeThe status code to examine.

Returns

Boolean

The value true if the severity of the value is Uncertain; otherwise the value false.