OPC Studio User's Guide and Reference
ErrorMessage Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UABaseVariable<TValue,TAttribute> Class : ErrorMessage Property
Contains the error message. An empty string if the operation has been successful.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
<MappingTagAttribute("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")>
<NotNullAttribute()>
<UADataAttribute(UADataMappingKind.ErrorMessage)>
Public Property ErrorMessage As String
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As String
 
instance.ErrorMessage = value
 
value = instance.ErrorMessage
[DefaultValue("")]
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[NotNull()]
[UAData(UADataMappingKind.ErrorMessage)]
public string ErrorMessage {get; set;}
[DefaultValue("")]
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[NotNull()]
[UAData(UADataMappingKind.ErrorMessage)]
public:
property String^ ErrorMessage {
   String^ get();
   void set (    String^ value);
}
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