Modifier

Partager via


AspNetHostingPermissionAttribute.CreatePermission Method

Definition

Creates a new AspNetHostingPermission with the permission level previously set by the Level property.

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

Returns

An IPermission that is the new AspNetHostingPermission.

Applies to