ConditionalEventArgs 类

定义

警告

此 API 现已过时。

返回 CodeCondition 类的结果信息。Returns result information for the CodeCondition class. 此类不能被继承。This class cannot be inherited.

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

注解

备注

本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

类公开类型为 EventHandler<ConditionalEventArgs > 的事件。 CodeConditionThe CodeCondition class exposes an event of type EventHandler<ConditionalEventArgs>. 事件的目的是通过true Result事件参数的属性提供有关条件计算 (或false) 的结果的信息。The purpose of the event is to provide information about the result of the condition evaluation (true or false) through the Result property of the event args.

构造函数

ConditionalEventArgs()

初始化 ConditionalEventArgs 类的新实例。Initializes a new instance of the ConditionalEventArgs class.

ConditionalEventArgs(Boolean)

使用条件的结果初始化 ConditionalEventArgs 类的新实例。Initializes a new instance of the ConditionalEventArgs class using the result of the condition.

属性

Result

获取或设置 CodeCondition 计算的结果。Gets or sets the result of a CodeCondition evaluation.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于