PeerCollaborationPermissionAttribute Constructor (SecurityAction)

 

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

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

public PeerCollaborationPermissionAttribute(
	SecurityAction action
)

Parameters

action
Type: System.Security.Permissions.SecurityAction

Specifies a SecurityAction value.

PeerCollaborationPermissionAttribute works with PeerCollaborationPermission to allow or deny a peer access to the collaboration session.

.NET Framework
Available since 3.5
Return to top
Show: