ActivityChangedEventArgs 类

定义

警告

此 API 现已过时。

包含对与设计器关联的活动所做更改的信息。Contains information about changes made to the activity associated with the designer.

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

注解

备注

本材料讨论的类型和命名空间已废弃不用。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.

对与设计器关联的活动进行更改时,ActivityChangedEventArgs 将包含有关此更改的信息。When changes are made to an activity associated with a designer, the ActivityChangedEventArgs will contain information about the change.

构造函数

ActivityChangedEventArgs(Activity, MemberDescriptor, Object, Object)

初始化 ActivityChangedEventArgs 的实例。Initializes an instance of the ActivityChangedEventArgs.

属性

Activity

获取已更改的 ActivityGets the Activity that has changed.

Member

要更改的 Activity 的成员。The member of the Activity being changed.

NewValue

已更改的 Activity 的成员的新值。The new value of the member of the Activity that has changed.

OldValue

已更改的 Activity 的成员的旧值。The old value of the member of the Activity that has changed.

方法

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)

适用于