QuickOPC User's Guide and Reference
ErrorMessage Property (OperationResult)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > OperationResult Class : ErrorMessage Property
Gets or sets a message that describes the current exception.
Syntax
'Declaration
 
<ColumnDisplayAttribute(2)>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, ShortName="Error Message")>
Public Property ErrorMessage As String
'Usage
 
Dim instance As OperationResult
Dim value As String
 
instance.ErrorMessage = value
 
value = instance.ErrorMessage
[ColumnDisplay(2)]
[DefaultValue("")]
[Display(AutoGenerateField=false, ShortName="Error Message")]
public string ErrorMessage {get; set;}
[ColumnDisplay(2)]
[DefaultValue("")]
[Display(AutoGenerateField=false, ShortName="Error Message")]
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