ExtensionSectionMetadataModelManager<TSectionMetadata,TModel>.TryReportModelDiagnosticsAsync 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.
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.