OPC Studio 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()>
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()]
public Exception Exception {get; set;}
[ArgumentDirections(ArgumentDirections.Result)]
[CanBeNull()]
[DataMember()]
public:
property Exception^ Exception {
   Exception^ get();
   void set (    Exception^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

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