Delen via


PollingFileChangeToken(FileInfo) Constructor

Definition

Initializes a new instance of PollingFileChangeToken that polls the specified file for changes as determined by LastWriteTimeUtc.

public:
 PollingFileChangeToken(System::IO::FileInfo ^ fileInfo);
public PollingFileChangeToken (System.IO.FileInfo fileInfo);
new Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken : System.IO.FileInfo -> Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken
Public Sub New (fileInfo As FileInfo)

Parameters

fileInfo
FileInfo

The FileInfo to poll.

Applies to