IComSoapPublisher.GacRemove(String) 方法

定义

从全局程序集缓存中移除程序集。Removes an assembly from the global assembly cache.

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

参数

AssemblyPath
String

程序集的文件系统路径。The file system path for the assembly.

例外

AssemblyPathnullAssemblyPath is null.

AssemblyPath 为空。AssemblyPath is empty.

AssemblyPath 未找到。AssemblyPath is not found.

一个程序集或模块用两个不同的证据加载了两次。An assembly or module was loaded twice with two different evidences.

AssemblyPath 不是有效的程序集。AssemblyPath is not a valid assembly.

适用于