PermissionSet.GetPermissionImpl(Type) Yöntem

Tanım

Kümede varsa belirtilen türde bir izin nesnesi alır.

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

Parametreler

permClass
Type

İzin nesnesinin türü.

Döndürülenler

parametresi tarafından permClass belirtilen türdeki izin nesnesinin, içinde PermissionSetyer alan veya null hiçbiri yoksa bir kopyası.

Açıklamalar

GetPermissionImpl yöntemi, yöntemi için GetPermission uygulamadır.

yöntemi bir UnrestrictedPermissionSetiçin döndürürnull. Tüm izinleri etkili bir UnrestrictedPermissionSet şekilde içerse de, döndürülecek gerçek bir örneği yoktur.

Şunlara uygulanır