HostFileChangeMonitor(IList<String>) 생성자

정의

HostFileChangeMonitor 클래스의 새 인스턴스를 초기화합니다.

public:
 HostFileChangeMonitor(System::Collections::Generic::IList<System::String ^> ^ filePaths);
public HostFileChangeMonitor(System.Collections.Generic.IList<string> filePaths);
new System.Runtime.Caching.HostFileChangeMonitor : System.Collections.Generic.IList<string> -> System.Runtime.Caching.HostFileChangeMonitor
Public Sub New (filePaths As IList(Of String))

매개 변수

filePaths
IList<String>

모니터링할 하나 이상의 디렉터리 경로 또는 파일 경로가 포함된 목록입니다.

예외

filePathsnull입니다.

filePaths 에는 항목이 0개 포함되어 있습니다.

-또는-

목록의 filePaths 경로 또는 빈 문자열입니다 null .

설명

생성자에 대한 호출은 HostFileChangeMonitor 매개 변수에 null filePaths 이 아닌 값을 제공해야 합니다. 최소한 생성자는 전달되는 경로 컬렉션의 유효성을 검사한 다음 해당 경로에 대한 모니터링을 초기화합니다.

메모

생성자는 경로 이름의 문자열 유효성 검사만 수행합니다. 경로를 정식화하거나 경로가 있는지 확인하지 않습니다.

적용 대상