ConfigurableVaultApplicationBaseTSecureConfigurationLoadConfiguration Method

Safely loads the application's configuration. Defaulting to an empty JSON object if none is found.

Definition

Namespace: MFiles.VAF.Core
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
protected TSecureConfiguration LoadConfiguration(
	Vault vault,
	bool throwParseErrors = true
)

Parameters

vault  Vault
The vault to load the configuration for/from.
throwParseErrors  Boolean  (Optional)
- If true, an exception will be thrown if the configuration cannot be deserialized, otherwise null will be returned.

Return Value

TSecureConfiguration
The application's configuration.

See Also