語言

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
屬性

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

該 CodeCondition 類別會暴露一個類型為 EventHandler<ConditionalEventArgs> 的事件。 事件的目的是透過事件 args 的屬性提供條件評估true 結果(或 false) Result 的資訊。

建構函式

名稱 Description
ConditionalEventArgs()
已淘汰.

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

ConditionalEventArgs(Boolean)
已淘汰.

利用條件結果初始化該類別的新實例 ConditionalEventArgs 。

屬性

名稱 Description
Result
已淘汰.

取得或設定評估結果 CodeCondition 。

方法

名稱 Description
Equals(Object)
已淘汰.

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

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

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

(繼承來源 Object)

適用於