Publish.GacRemove(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.