Verifies the Container. This method will call all registered delegates,
            iterate registered collections and throws an exception if there was an error.
            
Namespace: SimpleInjector
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
Parameters
- option
 - Type: SimpleInjectorVerificationOption
Specifies how the container should verify its configuration. 
Exceptions
| Exception | Condition | 
|---|---|
| InvalidOperationException | Thrown when the registration of instances was invalid. | 
| DiagnosticVerificationException | Thrown in case there are diagnostic errors and the VerifyAndDiagnose option is supplied. | 
| ArgumentException | Thrown when option has an invalid value. | 
See Also