ClientBuilderExtensions.LoadConfiguration 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
LoadConfiguration(IClientBuilder) |
Loads configuration from the standard client configuration locations. |
LoadConfiguration(IClientBuilder, FileInfo) |
Loads configuration from the provided location. |
LoadConfiguration(IClientBuilder, String) |
Loads configuration from the provided location. |
LoadConfiguration(IClientBuilder)
Loads configuration from the standard client configuration locations.
public static Orleans.IClientBuilder LoadConfiguration (this Orleans.IClientBuilder builder);
static member LoadConfiguration : Orleans.IClientBuilder -> Orleans.IClientBuilder
<Extension()>
Public Function LoadConfiguration (builder As IClientBuilder) As IClientBuilder
Parameters
- builder
- IClientBuilder
The builder.
Returns
The builder.
Remarks
This method loads the first client configuration file it finds, searching predefined directories for predefined file names. The following file names are tried in order:
Applies to
LoadConfiguration(IClientBuilder, FileInfo)
Loads configuration from the provided location.
public static Orleans.IClientBuilder LoadConfiguration (this Orleans.IClientBuilder builder, System.IO.FileInfo configurationFile);
static member LoadConfiguration : Orleans.IClientBuilder * System.IO.FileInfo -> Orleans.IClientBuilder
<Extension()>
Public Function LoadConfiguration (builder As IClientBuilder, configurationFile As FileInfo) As IClientBuilder
Parameters
- builder
- IClientBuilder
The builder.
- configurationFile
- FileInfo
Returns
The builder.
Applies to
LoadConfiguration(IClientBuilder, String)
Loads configuration from the provided location.
public static Orleans.IClientBuilder LoadConfiguration (this Orleans.IClientBuilder builder, string configurationFilePath);
static member LoadConfiguration : Orleans.IClientBuilder * string -> Orleans.IClientBuilder
<Extension()>
Public Function LoadConfiguration (builder As IClientBuilder, configurationFilePath As String) As IClientBuilder
Parameters
- builder
- IClientBuilder
The builder.
- configurationFilePath
- String
Returns
The builder.