다음을 통해 공유


RemoteWebConfigurationHostServer.GetData(String, Boolean, Int64) 메서드

정의

구성 데이터에 대한 원격 액세스를 지원하기 위해 내부적으로 사용됩니다.

이 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[]

구성 데이터가 포함된 부호 없는 8비트 정수(바이트)의 array입니다.

구현

예외

fileName이 .config 확장명이 지정된 파일을 가리키지 않는 경우

적용 대상

추가 정보