QuickOPC User's Guide and Reference
GetEffectiveComInstantiationParameters Method (EasyMachineParameters)



OpcLabs.EasyOpcClassic 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.
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 of the object.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

EasyMachineParameters Class
EasyMachineParameters Members
OverrideBy Method