Publish.GacRemove(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從全域組裝快取中移除一個組裝體。
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)
參數
- AssemblyPath
- String
組合語言的檔案系統路徑。
實作
例外狀況
AssemblyPath 是 null。
AssemblyPath 空無一人。
找不到 AssemblyPath。
元件或模組已載入兩次,並具有兩個不同的辨識項。
AssemblyPath 不是一個有效的組裝。