IPipelineOutputSnapshotter<TSnapshot> Methods

InterfaceMethods1 member
Captures pipeline output as provider-defined snapshots.
CaptureAsync(string, CancellationToken)Section titled CaptureAsync(string, CancellationToken)abstractTask<TSnapshot>
Captures the output at the supplied directory.
public interface IPipelineOutputSnapshotter<TSnapshot>
{
public abstract Task<TSnapshot> CaptureAsync(
string outputDirectory,
CancellationToken cancellationToken)
{
// ...
}
}
outputDirectorystringThe output directory resolved for this capture.
cancellationTokenCancellationTokenThe cancellation token.
Task<TSnapshot>A snapshot of the captured output.