CodeCondition 类

定义

注意

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

定义一个条件,该条件可保护/驱动工作流定义中特定活动的执行。 它具有一个类型 ConditionalEventArgs 的事件,用于返回条件的结果。

public ref class CodeCondition : System::Workflow::ComponentModel::ActivityCondition
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CodeCondition+CodeConditionValidator))]
public class CodeCondition : System.Workflow.ComponentModel.ActivityCondition
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CodeCondition+CodeConditionValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class CodeCondition : System.Workflow.ComponentModel.ActivityCondition
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CodeCondition+CodeConditionValidator))>]
type CodeCondition = class
    inherit ActivityCondition
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CodeCondition+CodeConditionValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CodeCondition = class
    inherit ActivityCondition
Public Class CodeCondition
Inherits ActivityCondition
继承
属性

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

构造函数

名称 说明
CodeCondition()
已过时.

初始化 CodeCondition 类的新实例。

字段

名称 说明
ConditionEvent
已过时.

表示 DependencyProperty 针对事件 Condition 的目标。

属性

名称 说明
DesignMode
已过时.

获取一个值,该值指示此实例是处于设计模式还是运行时模式。

(继承自 DependencyObject)
ParentDependencyObject
已过时.

获取 DependencyObject 图中的父 DependencyObject

(继承自 DependencyObject)
Site
已过时.

获取或设置对 SiteDependencyObject 组件的引用。

(继承自 DependencyObject)
UserData
已过时.

获取将自定义数据与此类实例关联的 IDictionary

(继承自 DependencyObject)

方法

名称 说明
AddHandler(DependencyProperty, Object)
已过时.

DependencyObject的事件添加处理程序。

(继承自 DependencyObject)
Dispose()
已过时.

释放 DependencyObject使用的所有资源。

(继承自 DependencyObject)
Dispose(Boolean)
已过时.

释放非托管资源,并选择性地释放 DependencyObject使用的托管资源。

(继承自 DependencyObject)
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
Evaluate(Activity, IServiceProvider)
已过时.

计算基础条件。

GetBinding(DependencyProperty)
已过时.

提供对与特定 ActivityBind关联的 DependencyProperty 的访问权限。

(继承自 DependencyObject)
GetBoundValue(ActivityBind, Type)
已过时.

检索 Object 作为主题的 ActivityBind.

GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetInvocationList<T>(DependencyProperty)
已过时.

获取一个数组,该数组包含指定 DependencyProperty的委托。

(继承自 DependencyObject)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
GetValue(DependencyProperty)
已过时.

提供对指定 DependencyProperty值的访问权限。

(继承自 DependencyObject)
GetValueBase(DependencyProperty)
已过时.

提供对 DependencyProperty 绑定对象的访问并绕过 GetValue(DependencyProperty) 替代。

(继承自 DependencyObject)
InitializeProperties()
已过时.

在派生类中重写时,对依赖属性执行初始化。

(继承自 DependencyObject)
IsBindingSet(DependencyProperty)
已过时.

指示 DependencyProperty 的值是否设置为绑定。 请参阅 SetBinding(DependencyProperty, ActivityBind)

(继承自 DependencyObject)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
MetaEquals(DependencyObject)
已过时.

确定此 metapropertiesDependencyObject 是否等于参数化 metapropertiesDependencyObject

(继承自 DependencyObject)
RemoveHandler(DependencyProperty, Object)
已过时.

从关联的 EventHandler中删除 DependencyProperty

(继承自 DependencyObject)
RemoveProperty(DependencyProperty)
已过时.

DependencyProperty中删除 DependencyObject

(继承自 DependencyObject)
SetBinding(DependencyProperty, ActivityBind)
已过时.

设置指定 ActivityBindDependencyProperty

(继承自 DependencyObject)
SetBoundValue(ActivityBind, Object)
已过时.

设置目标 ActivityBind的值。

(继承自 DependencyObject)
SetReadOnlyPropertyValue(DependencyProperty, Object)
已过时.

设置只读 DependencyProperty的值。

(继承自 DependencyObject)
SetValue(DependencyProperty, Object)
已过时.

DependencyProperty 的值设置为对象。

(继承自 DependencyObject)
SetValueBase(DependencyProperty, Object)
已过时.

DependencyProperty 的值设置为指定的 Object,绕过 SetValue(DependencyProperty, Object)

(继承自 DependencyObject)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

活动

名称 说明
Condition
已过时.

计算条件时发生。

显式接口实现

名称 说明
IComponent.Disposed
已过时.

表示处理组件的 Disposed 事件的方法。

(继承自 DependencyObject)

适用于