ClientBuilderExtensions.LoadConfiguration Method

Definition

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:

The following directories are searched in order:
Each directory is searched for all configuration file names before proceeding to the next directory.

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.

Applies to