IStartupValidator 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.
Caution
Implement IAsyncStartupValidator instead.
Provides synchronous options validation during host startup.
public interface class IStartupValidator
[System.Obsolete("Implement IAsyncStartupValidator instead.", DiagnosticId="SYSLIB0066", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public interface IStartupValidator
public interface IStartupValidator
[]
type IStartupValidator = interface
type IStartupValidator = interface
Public Interface IStartupValidator
- Attributes
Remarks
Options are enabled to be validated during startup by calling ValidateOnStart
Methods
| Name | Description |
|---|---|
| Validate() |
Validates options during host startup. |