Method ReportProgressAsync
ReportProgressAsync(double, double?, string, CancellationToken)
Reports progress for the current call. Does nothing when the caller did not supply a progress token or the host did not install a sink.
public Task ReportProgressAsync(double progress, double? total, string message, CancellationToken cancellationToken = default)
Parameters
progressdoubleWork completed so far, in the same unit as
total.totaldouble?Total work when known, otherwise
null.messagestringA short description of the current step.
cancellationTokenCancellationTokenA token to observe while sending.