RemoteWebConfigurationHostServer.GetData Method (String, Boolean, Int64)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally to support remote access to configuration data.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public byte[] GetData(
	string fileName,
	bool getReadTimeOnly,
	out long readTime
)

Parameters

fileName
Type: System.String

The path to the remote configuration file to be accessed.

getReadTimeOnly
Type: System.Boolean

A Boolean value that specifies whether only the readTime is returned.

readTime
Type: System.Int64

The time when the file was last accessed.

Return Value

Type: System.Byte[]

An array of 8-bit unsigned integers (bytes) that contains the configuration data.

Exception Condition
Exception

fileName does not point to a file with the .config extension.

.NET Framework
Available since 2.0
Return to top
Show: