RegistrationHelperTx.InstallAssemblyFromConfig Method

Definition

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

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

public:
 void InstallAssemblyFromConfig(System::EnterpriseServices::RegistrationConfig ^ % regConfig, System::Object ^ sync);
public void InstallAssemblyFromConfig (ref System.EnterpriseServices.RegistrationConfig regConfig, object sync);
member this.InstallAssemblyFromConfig : RegistrationConfig * obj -> unit
Public Sub InstallAssemblyFromConfig (ByRef regConfig As RegistrationConfig, sync As Object)

Parameters

regConfig
RegistrationConfig

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

sync
Object

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

Remarks

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.

Applies to