Share via


LocalEseStoreSettings.LoadFrom Method

Definition

Convenience method to create an instance of this class initialized with property values loaded from the application configuration package.

public static System.Fabric.LocalEseStoreSettings LoadFrom (System.Fabric.CodePackageActivationContext codePackageActivationContext, string configPackageName, string sectionName);
static member LoadFrom : System.Fabric.CodePackageActivationContext * string * string -> System.Fabric.LocalEseStoreSettings
Public Shared Function LoadFrom (codePackageActivationContext As CodePackageActivationContext, configPackageName As String, sectionName As String) As LocalEseStoreSettings

Parameters

codePackageActivationContext
CodePackageActivationContext

The activation context under which this code is running. Retrieved from FabricRuntime.

configPackageName
String

The name of the configuration package (specified in the Service Manifest) containing the settings to load.

sectionName
String

The name of the section in Settings.xml within the specified configuration package containing the settings to load.

Returns

The initialized settings object.

Applies to