QuickOPC User's Guide and Reference
ServiceTargetSite Property (_UAServiceException)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComTypes Namespace > _UAServiceException Interface : ServiceTargetSite Property
Gets the method that throws the originating exception.
Syntax
'Declaration
 
<CanBeNullAttribute()>
ReadOnly Property ServiceTargetSite As MethodBase
'Usage
 
Dim instance As _UAServiceException
Dim value As MethodBase
 
value = instance.ServiceTargetSite
[CanBeNull()]
MethodBase ServiceTargetSite {get;}
[CanBeNull()]
property MethodBase^ ServiceTargetSite {
   MethodBase^ get();
}

Property Value

The System.Reflection.MethodBase that threw the originating exception.
Remarks

This property is introduced because the System.Exception.TargetSite property cannot be set or overriden.

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