NamedPipeLoggerServer Class

Summary

A server for receiving MSBuild logging events over a named pipe.
Namespace
MsBuildPipeLogger
Interfaces
Base Types
graph TD Base0["PipeLoggerServer<TPipeStream>"]-->Type click Base0 "/api/MsBuildPipeLogger/PipeLoggerServer_1" Base1["EventArgsDispatcher"]-->Base0 Interface0["IPipeLoggerServer"]-.->Type click Interface0 "/api/MsBuildPipeLogger/IPipeLoggerServer" Interface1["IDisposable"]-.->Type Type["NamedPipeLoggerServer"] class Type type-node

Syntax

public class NamedPipeLoggerServer : PipeLoggerServer<NamedPipeServerStream>, IPipeLoggerServer, 
    IDisposable

Constructors

Name Summary
NamedPipeLoggerServer(string) Creates a named pipe server for receiving MSBuild logging events.
NamedPipeLoggerServer(string, CancellationToken) Creates a named pipe server for receiving MSBuild logging events.

Properties

Name Value Summary
CancellationToken CancellationToken
PipeName string
PipeStream TPipeStream

Methods

Name Value Summary
Connect() void
Dispose() void
Read() BuildEventArgs
Reads a single event from the pipe. This method blocks until an event is received, there are no more events, or the pipe is closed.
ReadAll() void
Reads all events from the pipe and blocks until there are no more events or the pipe is closed.