Share via


TraceDebugLogFile Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of a TraceDebugLogFile class.

Namespace:  Microsoft.VisualStudio.TraceLog
Assembly:  Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)

Syntax

'Declaration
Public Sub New ( _
    logFilePath As String _
)
'Usage
Dim logFilePath As String

Dim instance As New TraceDebugLogFile(logFilePath)
public TraceDebugLogFile(
    string logFilePath
)
public:
TraceDebugLogFile(
    String^ logFilePath
)
new : 
        logFilePath:string -> TraceDebugLogFile
public function TraceDebugLogFile(
    logFilePath : String
)

Parameters

  • logFilePath
    Type: System.String
    The path and file name of the trace debug log file to open.

Remarks

Throws IOException if the specified log file is not accessible. Throws NotSupportedException if the specified .log file is on a network instead of on the local computer. Throws InvalidDataException if the log file is invalid or corrupted.

.NET Framework Security

See Also

Reference

TraceDebugLogFile Class

TraceDebugLogFile Members

Microsoft.VisualStudio.TraceLog Namespace