Méthode | Description | |
---|---|---|
ChangeFilePath ( string p_strNewFileName ) : void |
Changes the file where the trace is saved.
|
|
Flush ( ) : void |
Writes all remaining data to the underlying listener.
|
|
HeaderlessTextWriterTraceListener ( |
A simple constructor that initializes the obejct with the given values. When this constuctor is used, the trace data will only be written to the given path when SaveToFile() is called. |
|
HeaderlessTextWriterTraceListener ( string p_strTraceFilePath ) : System |
A simple constructor that initializes the obejct with the given values.
|
|
SaveToFile ( ) : void |
Saves the trace info to the file.
|
|
Write ( string message ) : void |
Writes the given messsage, if it isn't the header info.
|
public ChangeFilePath ( string p_strNewFileName ) : void | ||
p_strNewFileName | string | The new filename. |
Résultat | void |
public HeaderlessTextWriterTraceListener ( |
||
p_msmTraceInfo | The stream to which to send trace info. | |
p_strTraceFilePath | string | The path of the file to which to write trace info. |
Résultat | System |
public HeaderlessTextWriterTraceListener ( string p_strTraceFilePath ) : System | ||
p_strTraceFilePath | string | The path of the file to which to write trace info. |
Résultat | System |
public Write ( string message ) : void | ||
message | string | The message to write. |
Résultat | void |