다음을 통해 공유


BinaryLogReplayEventSource.Replay Method

Definition

Overloads

Replay(String, CancellationToken)

Read the provided binary log file and raise corresponding events for each BuildEventArgs

Replay(String)

Read the provided binary log file and raise corresponding events for each BuildEventArgs

Replay(BuildEventArgsReader, CancellationToken)

Read the provided binary log file and raise corresponding events for each BuildEventArgs

Replay(BinaryReader, CancellationToken)

Read the provided binary log file and raise corresponding events for each BuildEventArgs

Replay(Stream, CancellationToken)

Read the provided binary log file opened as a stream and raise corresponding events for each BuildEventArgs

Replay(BinaryReader, Boolean, CancellationToken)

Read the provided binary log file and raise corresponding events for each BuildEventArgs

Replay(String, CancellationToken)

Source:
BinaryLogReplayEventSource.cs

Read the provided binary log file and raise corresponding events for each BuildEventArgs

public:
 void Replay(System::String ^ sourceFilePath, System::Threading::CancellationToken cancellationToken);
public void Replay (string sourceFilePath, System.Threading.CancellationToken cancellationToken);
member this.Replay : string * System.Threading.CancellationToken -> unit
Public Sub Replay (sourceFilePath As String, cancellationToken As CancellationToken)

Parameters

sourceFilePath
String

The full file path of the binary log file

cancellationToken
CancellationToken

A CancellationToken indicating the replay should stop as soon as possible.

Applies to

Replay(String)

Source:
BinaryLogReplayEventSource.cs

Read the provided binary log file and raise corresponding events for each BuildEventArgs

public:
 void Replay(System::String ^ sourceFilePath);
public void Replay (string sourceFilePath);
member this.Replay : string -> unit
Public Sub Replay (sourceFilePath As String)

Parameters

sourceFilePath
String

The full file path of the binary log file

Applies to

Replay(BuildEventArgsReader, CancellationToken)

Source:
BinaryLogReplayEventSource.cs

Read the provided binary log file and raise corresponding events for each BuildEventArgs

public:
 void Replay(Microsoft::Build::Logging::BuildEventArgsReader ^ reader, System::Threading::CancellationToken cancellationToken);
public void Replay (Microsoft.Build.Logging.BuildEventArgsReader reader, System.Threading.CancellationToken cancellationToken);
member this.Replay : Microsoft.Build.Logging.BuildEventArgsReader * System.Threading.CancellationToken -> unit
Public Sub Replay (reader As BuildEventArgsReader, cancellationToken As CancellationToken)

Parameters

reader
BuildEventArgsReader

The build events reader - caller is responsible for disposing.

cancellationToken
CancellationToken

A CancellationToken indicating the replay should stop as soon as possible.

Applies to

Replay(BinaryReader, CancellationToken)

Source:
BinaryLogReplayEventSource.cs

Read the provided binary log file and raise corresponding events for each BuildEventArgs

public:
 void Replay(System::IO::BinaryReader ^ binaryReader, System::Threading::CancellationToken cancellationToken);
public void Replay (System.IO.BinaryReader binaryReader, System.Threading.CancellationToken cancellationToken);
member this.Replay : System.IO.BinaryReader * System.Threading.CancellationToken -> unit
Public Sub Replay (binaryReader As BinaryReader, cancellationToken As CancellationToken)

Parameters

binaryReader
BinaryReader

The binary log content binary reader - caller is responsible for disposing.

cancellationToken
CancellationToken

A CancellationToken indicating the replay should stop as soon as possible.

Applies to

Replay(Stream, CancellationToken)

Source:
BinaryLogReplayEventSource.cs

Read the provided binary log file opened as a stream and raise corresponding events for each BuildEventArgs

public:
 void Replay(System::IO::Stream ^ sourceFileStream, System::Threading::CancellationToken cancellationToken);
public void Replay (System.IO.Stream sourceFileStream, System.Threading.CancellationToken cancellationToken);
member this.Replay : System.IO.Stream * System.Threading.CancellationToken -> unit
Public Sub Replay (sourceFileStream As Stream, cancellationToken As CancellationToken)

Parameters

sourceFileStream
Stream

Stream over the binlog content.

cancellationToken
CancellationToken

Applies to

Replay(BinaryReader, Boolean, CancellationToken)

Source:
BinaryLogReplayEventSource.cs

Read the provided binary log file and raise corresponding events for each BuildEventArgs

public:
 void Replay(System::IO::BinaryReader ^ binaryReader, bool closeInput, System::Threading::CancellationToken cancellationToken);
public void Replay (System.IO.BinaryReader binaryReader, bool closeInput, System.Threading.CancellationToken cancellationToken);
member this.Replay : System.IO.BinaryReader * bool * System.Threading.CancellationToken -> unit
Public Sub Replay (binaryReader As BinaryReader, closeInput As Boolean, cancellationToken As CancellationToken)

Parameters

binaryReader
BinaryReader

The binary log content binary reader - caller is responsible for disposing, unless closeInput is set to true.

closeInput
Boolean

Indicates whether the passed BinaryReader should be closed on disposing.

cancellationToken
CancellationToken

A CancellationToken indicating the replay should stop as soon as possible.

Applies to