Visual Basic (Usage) | ![]() |
---|---|
Dim file As FileInfo Dim applicationType As ApplicationType Dim systemType As Type Dim applyTraceSettings As Boolean Dim value As ApplicationConfiguration value = ApplicationConfiguration.Load(file, applicationType, systemType, applyTraceSettings) |
C# | |
---|---|
public static ApplicationConfiguration Load( FileInfo file, ApplicationType applicationType, Type systemType, bool applyTraceSettings ) |
Parameters
- file
- The file.
- applicationType
- Type of the application.
- systemType
- Type of the system.
- applyTraceSettings
- if set to
true
apply trace settings after validation.
Return Value
Application configurationTarget Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x