ערוך

שתף באמצעות


Publish.GacRemove(String) Method

Definition

Removes an assembly from the global assembly cache.

public:
 virtual void GacRemove(System::String ^ AssemblyPath);
public void GacRemove (string AssemblyPath);
abstract member GacRemove : string -> unit
override this.GacRemove : string -> unit
Public Sub GacRemove (AssemblyPath As String)

Parameters

AssemblyPath
String

The file system path for the assembly.

Implements

Exceptions

A caller in the call chain does not have permission to access unmanaged code.

-or-

The caller does not have path discovery permission.

AssemblyPath is null.

AssemblyPath is empty.

AssemblyPath is not found.

An assembly or module was loaded twice with two different evidences.

AssemblyPath is not a valid assembly.

Applies to