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.
- flags
Type: Microsoft.VisualStudio.IntelliTrace.IntelliTraceFile.OpenFlags
See IntelliTraceFile.OpenFlags for possible values.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.