Partager via


IntelliTraceFile Constructor (String)

Initializes a new instance of a IntelliTraceFile class.

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

Syntax

'Déclaration
Public Sub New ( _
    logFilePath As String _
)
public IntelliTraceFile(
    string logFilePath
)
public:
IntelliTraceFile(
    String^ logFilePath
)
new : 
        logFilePath:string -> IntelliTraceFile
public function IntelliTraceFile(
    logFilePath : String
)

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