Редагувати

Поділитися через


PeerCollaborationPermissionAttribute.CreatePermission Method

Definition

Creates and returns a new IPermission.

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

A new IPermission object.

Remarks

This method is not called, and is included only to support inheritance from SecurityAttribute.

Notes to Inheritors

When permissions are inherited SecurityAttribute, CreatePermission() must be overridden.

Applies to

See also