DkmBreakpointCondition.Create(DkmBreakpointConditionOperator, DkmCompilerId, DkmEvaluationFlags, String, UInt32) 方法

定義

建立新的 DkmBreakpointCondition 物件實例。Create a new DkmBreakpointCondition object instance.

public:
 static Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointCondition ^ Create(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointConditionOperator Operator, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompilerId CompilerId, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationFlags CompilationFlags, System::String ^ Text, System::UInt32 Timeout);
public static Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition Create (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointConditionOperator Operator, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId CompilerId, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags CompilationFlags, string Text, uint Timeout);
static member Create : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointConditionOperator * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationFlags * string * uint32 -> Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition
Public Shared Function Create (Operator As DkmBreakpointConditionOperator, CompilerId As DkmCompilerId, CompilationFlags As DkmEvaluationFlags, Text As String, Timeout As UInteger) As DkmBreakpointCondition

參數

Operator
DkmBreakpointConditionOperator

在指出如何使用中斷點文字 ( ' BreakWhenTrue ' 或 ' BreakWhenChanged ' ) 。[In] Indicates how the breakpoint text should be used ('BreakWhenTrue' or 'BreakWhenChanged').

CompilerId
DkmCompilerId

在中斷點條件的語言。[In] Language of the breakpoint condition. 可能是 Guid. 空白/Guid.empty,表示應該使用堆疊框架的語言。May be Guid.Empty/Guid.Empty to indicate that the language of the stack frame should be used. 如果存在,則必須定義廠商識別碼。If present, the vendor id must be defined.

CompilationFlags
DkmEvaluationFlags

在這會影響運算式評估工具如何編譯條件文字的旗標。[In] Flags which effect how the condition text should be compiled by the expression evaluator.

Text
String

在剖析之運算式的來源文字。[In] Source text of the parsed expression.

Timeout
UInt32

在這是可能很慢的作業(例如函數評估)所使用的超時時間。[In] This is the timeout to be used for potentially slow operations such as a function evaluation. 這個值是以毫秒為單位。This value is in milliseconds.

傳回

DkmBreakpointCondition

擴展此方法呼叫的結果。[Out] Result of this method call.

適用於