Skip to content

Reference

OpcResult Class

Provides information indicating and describing the outcome of an operation.

Reference

OpcResult Class ​

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

Provides information indicating and describing the outcome of an operation.

Syntax ​

csharp
public class OpcResult
vbnet
Public Class OpcResult

Inheritance ​

Object → OpcResult

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcResult4 overloadsInitializes a new instance of the OpcResult class using the statusCode specified.

Properties ​

NameDescription
AdditionvirtualGets additional diagnostic/debugging information associated with the operation which provides the result represented.
CodevirtualGets the OpcStatusCode associated with the result.
DescriptionvirtualGets the localized description of the result represented.
InnerResultGets the OpcResult instance that caused the current result.
IsBadvirtualGets a value indicating whether the result falls within the category bad.
IsGoodvirtualGets a value indicating whether the result falls within the category good.
IsUncertainvirtualGets a value indicating whether the result falls within the category uncertain.

Methods ​

NameDescription
CompareTo2 overloadsCompares the current OpcResult with the other.
Equals2 overloadsDetermines whether the specified other is equal to this OpcResult.
GetBaseResultsince v2.8Returns the OpcResult that is the root cause of one or more subsequent exceptions.
GetHashCodeoverrideRetrieves a hash code for this OpcResult.
ToStringoverrideReturns a string that represents the current OpcResult.

Operators ​

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

Applies to ​

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