OPC Studio User's Guide and Reference
StatusInfo Property (UAStatusCode)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAStatusCode Class : StatusInfo Property
Status information.
Syntax
'Declaration
 
<XmlIgnoreAttribute()>
Public ReadOnly Property StatusInfo As StatusInfo
'Usage
 
Dim instance As UAStatusCode
Dim value As StatusInfo
 
value = instance.StatusInfo
[XmlIgnore()]
public StatusInfo StatusInfo {get;}
[XmlIgnore()]
public:
property StatusInfo StatusInfo {
   StatusInfo get();
}

Property Value

The default value of this property is Normal (StatusInfo.Normal).

Remarks
When the status code is "Bad", the status information is OpcLabs.BaseLib.Data.StatusInfo.Error. When the status code is "Uncertain", the status information is OpcLabs.BaseLib.Data.StatusInfo.Warning. Otherwise, the status information is OpcLabs.BaseLib.Data.StatusInfo.Normal.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also