Méthode | Description | |
---|---|---|
BaseFileAppender ( string fileName, ICreateFileParameters createParameters ) : System |
Initializes a new instance of the BaseFileAppender class.
|
|
Close ( ) : void |
Closes this instance.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Flush ( ) : void |
Flushes this instance.
|
|
GetFileInfo ( System.DateTime &lastWriteTime, long &fileLength ) : bool |
Gets the file info.
|
|
Write ( byte bytes ) : void |
Writes the specified bytes.
|
Méthode | Description | |
---|---|---|
CreateFileStream ( bool allowConcurrentWrite ) : Windows.Storage.Streams.IRandomAccessStream |
Creates the file stream.
|
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
|
FileTouched ( ) : void |
Records the last write time for a file.
|
|
FileTouched ( System.DateTime dateTime ) : void |
Records the last write time for a file to be specific date.
|
Méthode | Description | |
---|---|---|
TryCreateFileStream ( bool allowConcurrentWrite ) : Windows.Storage.Streams.IRandomAccessStream | ||
WindowsCreateFile ( string fileName, bool allowConcurrentWrite ) : |
public BaseFileAppender ( string fileName, ICreateFileParameters createParameters ) : System | ||
fileName | string | Name of the file. |
createParameters | ICreateFileParameters | The create parameters. |
Résultat | System |
protected CreateFileStream ( bool allowConcurrentWrite ) : Windows.Storage.Streams.IRandomAccessStream | ||
allowConcurrentWrite | bool | If set to |
Résultat | Windows.Storage.Streams.IRandomAccessStream |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | True to release both managed and unmanaged resources; |
Résultat | void |
protected FileTouched ( System.DateTime dateTime ) : void | ||
dateTime | System.DateTime | Date and time when the last write occurred. |
Résultat | void |
public abstract GetFileInfo ( System.DateTime &lastWriteTime, long &fileLength ) : bool | ||
lastWriteTime | System.DateTime | The last write time. |
fileLength | long | Length of the file. |
Résultat | bool |
public abstract Write ( byte bytes ) : void | ||
bytes | byte | The bytes. |
Résultat | void |