IOutputChannelStore Interface
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.
This interface describes the entity that stores and manages a collection of output channels.
public interface class IOutputChannelStore
public interface IOutputChannelStore
type IOutputChannelStore = interface
Public Interface IOutputChannelStore
Methods
CreateChannelAsync(String, String, PipeReader, Encoding, CancellationToken) |
Creates a new output channel and supplies the Stream used to write to it. |
GetChannelsAsync(CancellationToken) |
Gets all active channels. |
OpenChannelAsync(String, PipeWriter, CancellationToken) |
Attaches a Stream to an existing channel for read access. |
WriteAsync(String, String, CancellationToken) |
Obsolete.
Writes input to the channel. If the channel does not exist, it creates one. This method currently mimics the behavior expected from TextWriter. |
WriteLineAsync(String, String, CancellationToken) |
Obsolete.
Writes input as a new line to the channel. If the channel does not exist, it creates one. This method currently mimics the behavior expected from TextWriter. |
Events
ChannelClosed |
Occurs when a channel has been closed. |
ChannelCreated |
Occurs when a channel has been created. |