RemoteWebConfigurationHostServer.GetData Method (String, Boolean, Int64)
.NET Framework (current version)
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.
Assembly: System.Web (in System.Web.dll)
Public Function GetData ( fileName As String, getReadTimeOnly As Boolean, <OutAttribute> ByRef readTime As Long ) As Byte()
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
Available since 2.0
Show: