Loads agent configurations from a file.

Namespace: NHINDirect.Agent.Config
Assembly: nhinAgent (in nhinAgent.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static T LoadFile<T>(
	string filePath
)
where T : AgentSettings
Visual Basic
Public Shared Function LoadFile(Of T As AgentSettings) ( _
	filePath As String _
) As T
Visual C++
public:
generic<typename T>
where T : AgentSettings
static T LoadFile(
	String^ filePath
)

Parameters

filePath
Type: System..::..String
A string containing a valid path and filename of a valid XML configuration file.

Type Parameters

T
Must be AgentSettings

Return Value

The settings defined in the file

See Also