PermissionSet.RemovePermissionImpl(Type) Metod

Definition

Tar bort en behörighet av en viss typ från uppsättningen.

protected:
 virtual System::Security::IPermission ^ RemovePermissionImpl(Type ^ permClass);
protected virtual System.Security.IPermission? RemovePermissionImpl(Type? permClass);
protected virtual System.Security.IPermission RemovePermissionImpl(Type permClass);
abstract member RemovePermissionImpl : Type -> System.Security.IPermission
override this.RemovePermissionImpl : Type -> System.Security.IPermission
Protected Overridable Function RemovePermissionImpl (permClass As Type) As IPermission

Parametrar

permClass
Type

Typ av behörighet att ta bort.

Returer

Behörigheten har tagits bort från uppsättningen.

Undantag

Kommentarer

Metoden RemovePermissionImpl är implementeringen för RemovePermission metoden.

Important

Du kan inte ta bort behörigheter från en obegränsad behörighetsuppsättning. Behörighetsuppsättningen förblir obegränsad när du försöker ta bort behörigheten och ett undantag genereras inte.

Gäller för