RemoteWebConfigurationHostServer.GetData(String, Boolean, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
.NET