Skip to content

Reference

OpcStatus Class

Provides information about the outcome of an operation.

Reference

OpcStatus Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcStatus Members
Also in
Opc.UaFx.Client

Provides information about the outcome of an operation.

Syntax ​

csharp
public class OpcStatus
vbnet
Public Class OpcStatus

Inheritance ​

Object → OpcStatus

Implements ​

Constructors ​

NameDescription
OpcStatus2 overloadsInitializes a new instance of the OpcStatus class which represents a 'neutral good' status.

Properties ​

NameDescription
AggregateBitsGets a value indicating where aggregated data comes from.
CodeGets the underlying status code its information is represented by the OpcStatus.
CodeBitsGets the bits (16:31) of the Code used to provide status data without any extra information.
DescriptionGets a value which describes the status in detail.
FlagBitsGets the bits (0:15) of the Code used to provide additional information about the status.
HasSemanticsChangedGets a value indicating that the semantics of the associated data value have changed.
HasStructureChangedGets a value indicating that the structure of the associated data value has changed since the last notification.
HasValueInfoGets a value indicating that the status information is associated with a data value returned from the Server.
IsBadGets a value indicating whether the status Code expresses a bad outcome of the operation associated with this OpcStatus.
IsGoodGets a value indicating whether the status Code expresses a good outcome of the operation associated with this OpcStatus.
IsOverflowGets a value indicating that not every detected change has been returned since the Servers queue buffer of a monitored item reached its limit and had to purge out data.
IsUncertainGets a value indicating whether the status Code expresses an uncertain outcome of the operation associated with this OpcStatus.
LimitBitsGets a value indicating the constraints a value falls within.
SubCodeGets the code used to represent different conditions.

Methods ​

NameDescription
CompareTo2 overloadsCompares the current OpcStatus with the other.
Equals2 overloadsDetermines whether the specified other is equal to this OpcStatus.
GetHashCodeoverrideRetrieves a hash code for this OpcStatus.
OnChangedprotected · virtualRaises the Changed event of the OpcStatus.
ToStringoverrideReturns a string that represents the current OpcStatus.
Update2 overloadsUpdates the Code represented by the OpcStatus using the code specified.

Events ​

NameDescription
ChangedOccurs when the OpcStatus changes.

Operators ​

NameDescription
EqualitystaticReturns a value indicating whether two instance of OpcStatus are equal.
GreaterThanstaticDetermines whether the first specified OpcStatus object is greater than the second specified OpcStatus object.
GreaterThanOrEqualstaticDetermines whether the first specified OpcStatus object is greater than or equal to the second specified OpcStatus object.
Implicitstatic · 2 overloadsConverts a OpcStatusCode to an OpcStatus object.
InequalitystaticReturns a value indicating whether two instances of OpcStatus are not equal.
LessThanstaticDetermines whether the first specified OpcStatus object is less than the second specified OpcStatus object.
LessThanOrEqualstaticDetermines whether the first specified OpcStatus object is less than or equal to the second OpcStatus object.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59