Edytuj

Udostępnij za pośrednictwem


StateActivityValidator Class

Definition

Caution

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

Represents a class that verifies whether a StateActivity class is configured correctly.

public ref class StateActivityValidator : System::Workflow::ComponentModel::Compiler::CompositeActivityValidator
[System.Runtime.InteropServices.ComVisible(false)]
public class StateActivityValidator : System.Workflow.ComponentModel.Compiler.CompositeActivityValidator
[System.Runtime.InteropServices.ComVisible(false)]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class StateActivityValidator : System.Workflow.ComponentModel.Compiler.CompositeActivityValidator
[<System.Runtime.InteropServices.ComVisible(false)>]
type StateActivityValidator = class
    inherit CompositeActivityValidator
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type StateActivityValidator = class
    inherit CompositeActivityValidator
Public Class StateActivityValidator
Inherits CompositeActivityValidator
Inheritance
Attributes

Remarks

Note

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

Constructors

StateActivityValidator()

Initializes a new instance of the StateActivityValidator class.

Methods

Equals(Object)

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

(Inherited from Object)
GetFullPropertyName(ValidationManager)

Helper method to extract the full property name.

(Inherited from Validator)
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)
Validate(ValidationManager, Object)

Validates the StateActivity class during workflow compilation.

ValidateActivityChange(Activity, ActivityChangeAction)

Validates the changes made to StateActivity.

ValidateProperties(ValidationManager, Object)

Helper method to automatically validate the specific objects properties.

(Inherited from Validator)
ValidateProperty(PropertyInfo, Object, Object, ValidationManager)

Performs validation on a property and returns a ValidationErrorCollection that contains the results of that validation.

(Inherited from Validator)

Applies to