Partager via


ExtensionSectionMetadataModelManager<TSectionMetadata,TModel>.TryReportModelDiagnosticsAsync Method

Definition

Attempts to report diagnostics for the newly created model.

protected virtual System.Threading.Tasks.Task TryReportModelDiagnosticsAsync (TModel model, System.Threading.CancellationToken cancellationToken);
abstract member TryReportModelDiagnosticsAsync : 'Model * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.TryReportModelDiagnosticsAsync : 'Model * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function TryReportModelDiagnosticsAsync (model As TModel, cancellationToken As CancellationToken) As Task

Parameters

model
TModel

The model that was created.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the work.

Applies to