QuickOPC User's Guide and Reference
BrowseException Property (BrowseTreePosition)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Graphs Namespace > BrowseTreePosition Class : BrowseException Property
Gets the exception encountered during browsing.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ColumnDisplayAttribute(10)>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, 
   Order=203, 
   ShortName="Browse Exception")>
Public Property BrowseException As Exception
'Usage
 
Dim instance As BrowseTreePosition
Dim value As Exception
 
instance.BrowseException = value
 
value = instance.BrowseException
[CanBeNull()]
[ColumnDisplay(10)]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=203, 
   ShortName="Browse Exception")]
public Exception BrowseException {get; set;}
[CanBeNull()]
[ColumnDisplay(10)]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=203, 
   ShortName="Browse Exception")]
public:
property Exception^ BrowseException {
   Exception^ get();
   void set (    Exception^ value);
}

Property Value

Returns null reference if there has not been an exception during browsing from this node. Otherwise, returns the exception that prevented the object from browsing further.
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