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.3.623.2
Syntaxprotected TSecureConfiguration LoadConfiguration(
Vault vault,
bool throwParseErrors = true
)
Protected Function LoadConfiguration (
vault As Vault,
Optional throwParseErrors As Boolean = true
) As TSecureConfiguration
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:
TSecureConfigurationThe application's configuration.
See Also