OPC Studio User's Guide and Reference
GetEffectiveComInstantiationParameters Method (EasyMachineParameters)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.Engine Namespace > EasyMachineParameters Class : GetEffectiveComInstantiationParameters Method
Determines the effective COM instantiation parameters.
Syntax
'Declaration
 
Public Function GetEffectiveComInstantiationParameters() As ComInstantiationParameters
'Usage
 
Dim instance As EasyMachineParameters
Dim value As ComInstantiationParameters
 
value = instance.GetEffectiveComInstantiationParameters()
public ComInstantiationParameters GetEffectiveComInstantiationParameters()
public:
ComInstantiationParameters^ GetEffectiveComInstantiationParameters(); 

Return Value

Returns the effective COM instantiation parameters, as specified by this object.

This method never returns null (Nothing in Visual Basic).

Remarks

The effective parameters are calculated by taking OpcLabs.BaseLib.Runtime.InteropServices.ComConfiguration.InstantiationParameters of the OpcLabs.BaseLib.Runtime.InteropServices.ComManagement.Configuration in OpcLabs.BaseLib.Runtime.InteropServices.ComManagement.Instance, and overriding them with ComInstantiationParameters from this object.

This is not a property, because the result depends on factors that reside outside the object.

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