FileConfigurationProvider.Load Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Load() |
Loads the contents of the file at Path. |
Load(Stream) |
Loads this provider's data from a stream. |
Load()
- Source:
- FileConfigurationProvider.cs
- Source:
- FileConfigurationProvider.cs
- Source:
- FileConfigurationProvider.cs
- Source:
- FileConfigurationProvider.cs
- Source:
- FileConfigurationProvider.cs
Loads the contents of the file at Path.
public:
override void Load();
public override void Load ();
override this.Load : unit -> unit
Public Overrides Sub Load ()
Exceptions
If Optional is false
on the source and a
file does not exist at specified Path.
If Optional is false
on the source and part of a file or or directory cannot be found at the specified Path.
Wrapping any exception thrown by the concrete implementation of the Load() method. Use the source OnLoadException callback if you need more control over the exception.
Applies to
Load(Stream)
- Source:
- FileConfigurationProvider.cs
- Source:
- FileConfigurationProvider.cs
- Source:
- FileConfigurationProvider.cs
- Source:
- FileConfigurationProvider.cs
- Source:
- FileConfigurationProvider.cs
Loads this provider's data from a stream.
public:
abstract void Load(System::IO::Stream ^ stream);
public abstract void Load (System.IO.Stream stream);
override this.Load : System.IO.Stream -> unit
Public MustOverride Sub Load (stream As Stream)
Parameters
- stream
- Stream
The stream to read.