IAsyncStartupValidator Interface
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.
Provides asynchronous options validation during host startup.
public interface class IAsyncStartupValidator
public interface IAsyncStartupValidator
type IAsyncStartupValidator = interface
Public Interface IAsyncStartupValidator
Remarks
New implementations should be registered only as IAsyncStartupValidator. Do not additionally register a custom implementation as IStartupValidator; that interface is retained for compatibility with existing synchronous startup validators.
Methods
| Name | Description |
|---|---|
| ValidateAsync(CancellationToken) |
Validates options asynchronously during host startup. |