편집

다음을 통해 공유


PipeOptions Class

Definition

Represents a set of Pipe options.

public ref class PipeOptions
public class PipeOptions
type PipeOptions = class
Public Class PipeOptions
Inheritance
PipeOptions

Constructors

PipeOptions(MemoryPool<Byte>, PipeScheduler, PipeScheduler, Int64, Int64, Int32, Boolean)

Initializes a new instance of the PipeOptions class with the specified parameters.

Properties

Default

Gets the default instance of PipeOptions.

MinimumSegmentSize

Gets the minimum size of the segment requested from the Pool.

PauseWriterThreshold

Gets the number of bytes in the Pipe when FlushAsync(CancellationToken) starts blocking. A value of zero prevents FlushAsync(CancellationToken) from ever blocking, effectively making the number of bytes in the Pipe unlimited.

Pool

Gets the MemoryPool<T> object used for buffer management.

ReaderScheduler

Gets the PipeScheduler used to execute PipeReader callbacks and async continuations.

ResumeWriterThreshold

Gets the number of bytes in the Pipe when FlushAsync(CancellationToken) stops blocking.

UseSynchronizationContext

Gets a value that determines if asynchronous callbacks and continuations should be executed on the SynchronizationContext they were captured on. This takes precedence over the schedulers specified in ReaderScheduler and WriterScheduler.

WriterScheduler

Gets the PipeScheduler used to execute PipeWriter callbacks and async continuations.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to