Click or drag to resize

ConfigurableVaultApplicationBaseTSecureConfigurationLoadConfiguration Method

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

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

Parameters

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

Return Value

Type: TSecureConfiguration
The application's configuration.
See Also