แก้ไข

แชร์ผ่าน


ConditionalEventArgs Class

Definition

Caution

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

Returns result information for the CodeCondition class. This class cannot be inherited.

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
Inheritance
ConditionalEventArgs
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

The CodeCondition class exposes an event of type EventHandler<ConditionalEventArgs>. 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.

Constructors

ConditionalEventArgs()

Initializes a new instance of the ConditionalEventArgs class.

ConditionalEventArgs(Boolean)

Initializes a new instance of the ConditionalEventArgs class using the result of the condition.

Properties

Result

Gets or sets the result of a CodeCondition evaluation.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to