AspNetHostingPermissionAttribute.CreatePermission 方法

定义

使用先前由 AspNetHostingPermission 属性设置的权限级别来创建新的 Level

public:
 override System::Security::IPermission ^ CreatePermission();
public override System.Security.IPermission CreatePermission ();
override this.CreatePermission : unit -> System.Security.IPermission
Public Overrides Function CreatePermission () As IPermission

返回

IPermission

一个 IPermission,它是新的 AspNetHostingPermission

适用于