Rediger

Del via


BoundedChannelOptions Class

Definition

Provides options that control the behavior of bounded Channel<T> instances.

public ref class BoundedChannelOptions sealed : System::Threading::Channels::ChannelOptions
public sealed class BoundedChannelOptions : System.Threading.Channels.ChannelOptions
type BoundedChannelOptions = class
    inherit ChannelOptions
Public NotInheritable Class BoundedChannelOptions
Inherits ChannelOptions
Inheritance
BoundedChannelOptions

Constructors

BoundedChannelOptions(Int32)

Initializes the options.

Properties

AllowSynchronousContinuations

true if operations performed on a channel may synchronously invoke continuations subscribed to notifications of pending async operations; false if all continuations should be invoked asynchronously.

(Inherited from ChannelOptions)
Capacity

Gets or sets the maximum number of items the bounded channel may store.

FullMode

Gets or sets the behavior incurred by write operations when the channel is full.

SingleReader

true readers from the channel guarantee that there will only ever be at most one read operation at a time; false if no such constraint is guaranteed.

(Inherited from ChannelOptions)
SingleWriter

true if writers to the channel guarantee that there will only ever be at most one write operation at a time; false if no such constraint is guaranteed.

(Inherited from ChannelOptions)

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