ResolvedDiagnosticEvent 建構函式
初始化 ResolvedDiagnosticEvent 類別的新執行個體。
命名空間: Microsoft.VisualStudio.IntelliTrace
組件: Microsoft.IntelliTrace.11.0.0 (在 Microsoft.IntelliTrace.11.0.0.dll 中)
語法
'宣告
Public Sub New ( _
process As IntelliTraceProcess, _
notifyPointEvent As DiagnosticEvent _
)
public ResolvedDiagnosticEvent(
IntelliTraceProcess process,
DiagnosticEvent notifyPointEvent
)
public:
ResolvedDiagnosticEvent(
IntelliTraceProcess^ process,
DiagnosticEvent^ notifyPointEvent
)
new :
process:IntelliTraceProcess *
notifyPointEvent:DiagnosticEvent -> ResolvedDiagnosticEvent
public function ResolvedDiagnosticEvent(
process : IntelliTraceProcess,
notifyPointEvent : DiagnosticEvent
)
參數
- process
型別:Microsoft.VisualStudio.IntelliTrace.IntelliTraceProcess
IntelliTraceProcess ,其中包含 notifyPointEvent。
- notifyPointEvent
型別:Microsoft.VisualStudio.IntelliTrace.DiagnosticEvent
原始DiagnosticEvent。
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentNullException | process 或 notifyPointEvent 為 null。 |
備註
就會擲回ArgumentNullException exceptiojn 如果process或notifyPointEvent為 null。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。