OperationValidationEventArgs 类

定义

警告

此 API 现已过时。

OperationValidation 事件提供数据。Provides data for the OperationValidation event.

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

注解

备注

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

构造函数

OperationValidationEventArgs(ReadOnlyCollection<ClaimSet>)

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

属性

ClaimSets

ClaimSet 对象的集合,这些对象包含已添加到操作的授权上下文的声明。The collection of ClaimSet objects that contains the claims that have been added to the operation's authorization context.

IsValid

如果操作有效,则为 true;否则为 falsetrue if the operation is valid; false otherwise.

方法

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)

适用于