BinaryLogReplayEventSource.Replay Method
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.
Overloads
Replay(String) |
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(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
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(BinaryReader, CancellationToken)
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(String, CancellationToken)
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.