PermissionSet.RemovePermissionImpl(Type) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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
Metoden anropas från en ReadOnlyPermissionSet.
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.