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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > FailureEventArgs Class : Exception Property
Contains the Exception carried by the event arguments.
Syntax
'Declaration
 
<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)>
<DefaultValueAttribute("")>
Public Shadows ReadOnly Property Exception As Exception
'Usage
 
Dim instance As FailureEventArgs
Dim value As Exception
 
value = instance.Exception
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[DefaultValue("")]
public new Exception Exception {get;}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[DefaultValue("")]
public:
new property Exception^ Exception {
   Exception^ get();
}
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