RegistrationHelperTx.InstallAssemblyFromConfig Method (RegistrationConfig, Object)


This API supports the product infrastructure and is not intended to be used directly from your code.

Installs a specified assembly in the COM+ catalog using transactional semantics.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public void InstallAssemblyFromConfig(
	ref RegistrationConfig regConfig,
	object sync


Type: System.EnterpriseServices.RegistrationConfig

Configuration information for installing an assembly into the COM+ catalog.

Type: System.Object

A synchronization object generated by the infrastructure that waits until the specified assembly has been configured in the COM+ catalog.

Under certain circumstances, the InstallAssemblyFromConfig method is called from within the .NET Framework infrastructure. It does not need to be called directly from your code. Instead, call the InstallAssemblyFromConfig method.

This method requires the caller to have administrative privileges on the local computer.

.NET Framework
Available since 1.1
Return to top