OPC Studio User's Guide and Reference
SecurityInitializationException Property (ComManagement)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Runtime.InteropServices Namespace > ComManagement Class : SecurityInitializationException Property
Contains the exception from the COM security initialization attempt.
Syntax
'Declaration
 
Public ReadOnly Property SecurityInitializationException As Exception
'Usage
 
Dim instance As ComManagement
Dim value As Exception
 
value = instance.SecurityInitializationException
public Exception SecurityInitializationException {get;}
public:
property Exception^ SecurityInitializationException {
   Exception^ get();
}

Property Value

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

The default value of this property is null.

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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