RemoteWebConfigurationHostServer.GetData(String, Boolean, Int64) Method

Definition

Used internally to support remote access to configuration data.

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

public:
 virtual cli::array <System::Byte> ^ GetData(System::String ^ fileName, bool getReadTimeOnly, [Runtime::InteropServices::Out] long % readTime);
public byte[] GetData (string fileName, bool getReadTimeOnly, out long readTime);
abstract member GetData : string * bool * int64 -> byte[]
override this.GetData : string * bool * int64 -> byte[]
Public Function GetData (fileName As String, getReadTimeOnly As Boolean, ByRef readTime As Long) As Byte()

Parameters

fileName
String

The path to the remote configuration file to be accessed.

getReadTimeOnly
Boolean

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

readTime
Int64

The time when the file was last accessed.

Returns

Byte[]

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

Implements

Exceptions

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

Applies to

See also