Logging.LogFileVersion Method
Applies To: Windows 8.1
Writes the four-part version number of an executable to AXE’s pre-configured ETW file.
Namespace: Microsoft.Assessments
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)
Usage
'Usage
Dim instance As Logging
Dim message As String
Dim fileName As String
Dim extraInformation As String
instance.LogFileVersion(message, fileName, extraInformation)
Syntax
'Declaration
Public Sub LogFileVersion ( _
message As String, _
fileName As String, _
extraInformation As String _
)
public void LogFileVersion (
string message,
string fileName,
string extraInformation
)
public:
void LogFileVersion (
String^ message,
String^ fileName,
String^ extraInformation
)
public void LogFileVersion (
String message,
String fileName,
String extraInformation
)
public function LogFileVersion (
message : String,
fileName : String,
extraInformation : String
)
Parameters
- message
A custom message to show at the beginning of the log message.
- fileName
The name of the executable to retrieve the version number from.
- extraInformation
A custom message to show at the end of the log message.
Remarks
The file version is written out using the following format:
message fileName version messageTimestamp extraInformation
where the messageTimestamp is the time the message is logged.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 8.1
See Also
Reference
Logging Class
Logging Members
Microsoft.Assessments Namespace