Click or drag to resize
AnalyticsMonitorFactoryCreateStorage Method (String, String)
Creates an IStorage which stores the data in given folder and with the given identifier. This instance can be used when creating the monitor instance by assigning it to the StorageInterface on the AnalyticsMonitorSettings instance. Use this overload to handle e.g. terminal services or shared machines where multiple users share the same machine but you need differentiated monitoring by passing e.g. the user name as identifier.

Namespace: EQATEC.Analytics.Monitor
Assembly: EQATEC.Analytics.Monitor (in EQATEC.Analytics.Monitor.dll) Version: 3.2.1.0 (3.2.1)
Syntax
public static IStorage CreateStorage(
	string folder,
	string identifier
)

Parameters

folder
Type: SystemString
The path to the folder where the monitor should persist data.
identifier
Type: SystemString
The unique identifier to use for differentiating the storage.

Return Value

Type: IStorage
An implementation of the IStorage interface for use on the file system.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf unable to locate or create the specified folder. See inner exception for details.
Remarks
This call will attempt to create the given folder it it does not already exists. If there are no permissions or if the folder specifies an invalid folder path the method will raise an exception.
See Also