BoundedChannelOptions Classe
Definição
Fornece opções que controlam o comportamento das instâncias Channel<T> limitadas.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
- Herança
Construtores
| BoundedChannelOptions(Int32) |
Inicializa as opções.Initializes the options. |
Propriedades
| AllowSynchronousContinuations |
|
| Capacity |
Obtém ou define o número máximo de itens que o canal limitado pode armazenar.Gets or sets the maximum number of items the bounded channel may store. |
| FullMode |
Obtém ou define o comportamento incorrido por operações de gravação quando o canal está cheio.Gets or sets the behavior incurred by write operations when the channel is full. |
| SingleReader |
|
| SingleWriter |
|
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |