Редактиране

Споделяне чрез


Channel<T> Class

Definition

Provides a base class for channels that support reading and writing elements of type T.

generic <typename T>
public ref class Channel abstract : System::Threading::Channels::Channel<T, T>
public abstract class Channel<T> : System.Threading.Channels.Channel<T,T>
type Channel<'T> = class
    inherit Channel<'T, 'T>
Public MustInherit Class Channel(Of T)
Inherits Channel(Of T, T)

Type Parameters

T

Specifies the type of data readable and writable in the channel.

Inheritance
Channel<T,T>
Channel<T>

Constructors

Channel<T>()

Initializes an instance of the Channel<T> class.

Properties

Reader

Gets the readable half of this channel.

(Inherited from Channel<TWrite,TRead>)
Writer

Gets the writable half of this channel.

(Inherited from Channel<TWrite,TRead>)

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