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) { // ... }}Parameters
outputDirectory stringThe output directory resolved for this capture.cancellationToken CancellationToken The cancellation token.Returns
Task<TSnapshot> A snapshot of the captured output.