PhysicalFileProvider.UseActivePolling 속성

정의

PhysicalFileProvider 인스턴스가 파일 변경 내용을 적극적으로 폴링하는지 여부를 결정하는 값을 가져오거나 설정합니다.

true경우 Watch(String) 반환된 IChangeToken 수동이 아닌 파일 변경 내용(ActiveChangeCallbackstrue)을 적극적으로 폴링합니다.

이 속성은 UsePollingFileWatcher 설정된 경우에만 적용됩니다.

public:
 property bool UseActivePolling { bool get(); void set(bool value); };
public bool UseActivePolling { get; set; }
member this.UseActivePolling : bool with get, set
Public Property UseActivePolling As Boolean

속성 값

이 속성의 기본값은 DOTNET_USE_POLLING_FILE_WATCHER환경 변수의 값에 따라 결정됩니다. true 또는 1경우 이 속성은 기본적으로 true; 그렇지 않으면 false.

적용 대상