Channel<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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) |