Publish.GacRemove(String) Méthode

Définition

Supprime un assembly du 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)

Paramètres

AssemblyPath
String

Chemin du système de fichiers de l’assembly.

Implémente

Exceptions

Un appelant de la chaîne d’appels n’a pas l’autorisation d’accéder au code non managé.

-ou-

L’appelant n’a pas d’autorisation de découverte de chemin d’accès.

AssemblyPath a la valeur null.

AssemblyPath est vide.

AssemblyPath n’est pas trouvé.

Un assembly ou un module a été chargé deux fois avec deux preuves différentes.

AssemblyPath n’est pas un assembly valide.

S’applique à