Bewerken

Share via


PnrpPermissionAttribute(SecurityAction) Constructor

Definition

Initializes a new instance of the PnrpPermissionAttribute class with the specified SecurityAction.

public:
 PnrpPermissionAttribute(System::Security::Permissions::SecurityAction action);
public PnrpPermissionAttribute (System.Security.Permissions.SecurityAction action);
new System.Net.PeerToPeer.PnrpPermissionAttribute : System.Security.Permissions.SecurityAction -> System.Net.PeerToPeer.PnrpPermissionAttribute
Public Sub New (action As SecurityAction)

Parameters

action
SecurityAction

One of the SecurityAction values.

Remarks

PnrpPermissionAttribute works with PnrpPermission to allow or deny actions by the peer granted the permission and the permission attribute.

Applies to

See also