Edit

Share via


RegistrationHelper.UninstallAssembly Method

Definition

Uninstalls an assembly previous registered with InstallAssembly(String, String, String, InstallationFlags).

Overloads

UninstallAssembly(String, String)

Uninstalls the assembly from the given application.

UninstallAssembly(String, String, String)

Uninstalls the assembly from the given application.

UninstallAssembly(String, String)

Uninstalls the assembly from the given application.

public:
 virtual void UninstallAssembly(System::String ^ assembly, System::String ^ application);
public void UninstallAssembly (string assembly, string application);
abstract member UninstallAssembly : string * string -> unit
override this.UninstallAssembly : string * string -> unit
Public Sub UninstallAssembly (assembly As String, application As String)

Parameters

assembly
String

The file name of the assembly to uninstall.

application
String

If this name is not null, it is the name of the application that contains the components in the assembly.

Implements

Exceptions

The input assembly does not have a strong name.

Applies to

UninstallAssembly(String, String, String)

Uninstalls the assembly from the given application.

public:
 void UninstallAssembly(System::String ^ assembly, System::String ^ application, System::String ^ partition);
public void UninstallAssembly (string assembly, string application, string partition);
member this.UninstallAssembly : string * string * string -> unit
Public Sub UninstallAssembly (assembly As String, application As String, partition As String)

Parameters

assembly
String

The file name of the assembly to uninstall.

application
String

If this name is not null, it is the name of the application that contains the components in the assembly.

partition
String

The name of the partition. This parameter can be null.

Exceptions

The input assembly does not have a strong name.

Applies to