Export (0) Print
Expand All

PipeAccessRule Constructor (IdentityReference, PipeAccessRights, AccessControlType)

Initializes a new instance of the PipeAccessRule class with the specified identity, pipe access rights, and access control type.

Namespace:  System.IO.Pipes
Assembly:  System.Core (in System.Core.dll)

public PipeAccessRule(
	IdentityReference identity,
	PipeAccessRights rights,
	AccessControlType type
)

Parameters

identity
Type: System.Security.Principal.IdentityReference

An IdentityReference object that encapsulates a reference to a user account.

rights
Type: System.IO.Pipes.PipeAccessRights

One of the PipeAccessRights values that specifies the type of operation associated with the access rule.

type
Type: System.Security.AccessControl.AccessControlType

One of the AccessControlType values that specifies whether to allow or deny the operation.

Use this constructor to create an access control rule that you can persist using the PipeSecurity class. Access control rules define user account rights that determine which actions are allowed or disallowed on computers that are running Microsoft Windows.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft