RemoteWebConfigurationHostServer.GetData(String, Boolean, Int64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
內部用於支援遠端存取設定資料。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
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()
參數
- fileName
- String
要存取遠端設定檔的路徑。
- getReadTimeOnly
- Boolean
一個布林值,指定是否只回傳 。readTime
- readTime
- Int64
檔案最後被存取的時間。
傳回
Byte[]
一個 array 包含組態資料的 8 位元無號整數(位元組)。
實作
例外狀況
fileName 不會指向副檔名為 .config 的檔案。