ConditionalEventArgs 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

傳回 CodeCondition 類別的結果資訊。 此類別無法獲得繼承。

public ref class ConditionalEventArgs sealed : EventArgs
[System.Serializable]
public sealed class ConditionalEventArgs : EventArgs
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ConditionalEventArgs : EventArgs
[<System.Serializable>]
type ConditionalEventArgs = class
    inherit EventArgs
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ConditionalEventArgs = class
    inherit EventArgs
Public NotInheritable Class ConditionalEventArgs
Inherits EventArgs
繼承
ConditionalEventArgs
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

CodeCondition類別會公開 EventHandler 型別的事件 <ConditionalEventArgs> 。 事件的目的是提供有關條件評估結果的資訊 (truefalse 透過事件引數的屬性) Result

建構函式

ConditionalEventArgs()

初始化 ConditionalEventArgs 類別的新執行個體。

ConditionalEventArgs(Boolean)

使用條件的結果,初始化 ConditionalEventArgs 類別的新執行個體。

屬性

Result

取得或設定 CodeCondition 評估的結果。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於