QuickOPC User's Guide and Reference
Exception Property (ResultArguments)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Transfer Namespace > ResultArguments Class : Exception Property
Gets or sets the information about the reason of the failure of the operation.
Syntax
'Declaration
 
<ArgumentDirectionsAttribute(ArgumentDirections.Result)>
<CanBeNullAttribute()>
<DataMemberAttribute()>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, 
   Order=3003, 
   ShortName="Exception")>
Public Property Exception As Exception
'Usage
 
Dim instance As ResultArguments
Dim value As Exception
 
instance.Exception = value
 
value = instance.Exception
[ArgumentDirections(ArgumentDirections.Result)]
[CanBeNull()]
[DataMember()]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=3003, 
   ShortName="Exception")]
public Exception Exception {get; set;}
[ArgumentDirections(ArgumentDirections.Result)]
[CanBeNull()]
[DataMember()]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=3003, 
   ShortName="Exception")]
public:
property Exception^ Exception {
   Exception^ get();
   void set (    Exception^ 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