Bewerken

Delen via


PipeOptions Enum

Definition

Provides options for creating a PipeStream object. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

This enumeration supports a bitwise combination of its member values.

public enum class PipeOptions
[System.Flags]
public enum PipeOptions
[System.Flags]
[System.Serializable]
public enum PipeOptions
[<System.Flags>]
type PipeOptions = 
[<System.Flags>]
[<System.Serializable>]
type PipeOptions = 
Public Enum PipeOptions
Inheritance
PipeOptions
Attributes

Fields

Name Value Description
WriteThrough -2147483648

Indicates that the system should write through any intermediate cache and go directly to the pipe.

None 0

Indicates that there are no additional parameters.

FirstPipeInstance 524288
CurrentUserOnly 536870912

When used to create a NamedPipeServerStream instance, indicates that the pipe can only be connected to a client created by the same user. When used to create a NamedPipeClientStream instance, indicates that the pipe can only connect to a server created by the same user. On Windows, it verifies both the user account and elevation level.

Asynchronous 1073741824

Indicates that the pipe can be used for asynchronous reading and writing.

Remarks

Use the PipeOptions enumeration to specify advanced pipe options.

Applies to