Share via


IntelliTraceFile Constructor (String, IntelliTraceFile.OpenFlags)

Initializes a new instance of a IntelliTraceFile class.

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

Syntax

'Declaration
Public Sub New ( _
    logFilePath As String, _
    flags As IntelliTraceFile..::..OpenFlags _
)
public IntelliTraceFile(
    string logFilePath,
    IntelliTraceFile..::..OpenFlags flags
)
public:
IntelliTraceFile(
    String^ logFilePath, 
    IntelliTraceFile..::..OpenFlags flags
)
new : 
        logFilePath:string * 
        flags:IntelliTraceFile..::..OpenFlags -> IntelliTraceFile
public function IntelliTraceFile(
    logFilePath : String, 
    flags : IntelliTraceFile..::..OpenFlags
)

Parameters

  • logFilePath
    Type: System.String
    The path and file name of the IntelliTrace (.iTrace) file to open.

Remarks

Throws a IOException exception if the specified .iTrace file is not accessible. Throws a NotSupportedException exception if the specified .iTrace file is not on the local computer. Throws a InvalidDataException if the specified .iTrace file is invalid or corrupt.

.NET Framework Security

See Also

Reference

IntelliTraceFile Class

IntelliTraceFile Overload

Microsoft.VisualStudio.IntelliTrace Namespace