AnonymousPipeLoggerServer Class

Summary

A server for receiving MSBuild logging events over an anonymous 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["AnonymousPipeLoggerServer"] class Type type-node

Syntax

public class AnonymousPipeLoggerServer : PipeLoggerServer<AnonymousPipeServerStream>, 
    IPipeLoggerServer, IDisposable

Constructors

Name Summary
AnonymousPipeLoggerServer() Creates an anonymous pipe server for receiving MSBuild logging events.
AnonymousPipeLoggerServer(CancellationToken) Creates an anonymous pipe server for receiving MSBuild logging events.

Properties

Name Value Summary
CancellationToken CancellationToken
PipeStream TPipeStream

Methods

Name Value Summary
Connect() void
Dispose() void
GetClientHandle() string
Gets the client handle as a string. The local copy of the handle will be automatically disposed on the first call to Read.
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.