WebConfigDocument.Load Method (String, String)

 

Loads a given fileName from a given path and returns a WebConfigDocument or null if file is not found or is invalid.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Config
Assembly:  Microsoft.WindowsAzure.Mobile.Service.WebHost (in Microsoft.WindowsAzure.Mobile.Service.WebHost.dll)

public static WebConfigDocument Load(
	string path,
	string fileName
)

Parameters

path
Type: System.String

The path from where to load the config file.

fileName
Type: System.String

The name of the config file to load.

Return Value

Type: Microsoft.WindowsAzure.Mobile.Service.Config.WebConfigDocument

A WebConfigDocument or null if file could not be read.

Return to top
Show: