Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PeerCollaborationPermissionAttribute Constructor

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


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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft