BuildEventArgsReader Class

Definition

Deserializes and returns BuildEventArgs-derived objects from a BinaryReader

public ref class BuildEventArgsReader : IDisposable
public ref class BuildEventArgsReader : IDisposable, Microsoft::Build::Logging::IBuildEventArgsReaderNotifications
public class BuildEventArgsReader : IDisposable
public class BuildEventArgsReader : IDisposable, Microsoft.Build.Logging.IBuildEventArgsReaderNotifications
type BuildEventArgsReader = class
    interface IDisposable
type BuildEventArgsReader = class
    interface IBuildEventArgsReaderNotifications
    interface IBuildEventStringsReader
    interface IDisposable
Public Class BuildEventArgsReader
Implements IDisposable
Public Class BuildEventArgsReader
Implements IBuildEventArgsReaderNotifications, IDisposable
Inheritance
BuildEventArgsReader
Implements

Constructors

BuildEventArgsReader(BinaryReader, Int32)

Initializes a new instance of BuildEventArgsReader using a BinaryReader instance.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Read()

Reads the next log record from the BinaryReader.

Events

StringEncountered

An event that allows the caller to be notified when a string is encountered in the binary log. BinaryReader passed in ctor is at the beginning of the string at this point.

StringReadDone

An event that allows the subscriber to be notified when a string is read from the binary log. Subscriber may adjust the string by setting StringToBeUsed property. The passed event arg can be reused and should not be stored.

Applies to