ActivityCondition Class

 
Note: This API is now obsolete.

Represents an abstract class for an expression, which evaluates to a Boolean. This class must be inherited.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)


[ActivityValidatorAttribute(typeof(ConditionValidator))]
[BrowsableAttribute(true)]
[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class ActivityCondition : DependencyObject

NameDescription
System_CAPS_protmethodActivityCondition()

When implemented in a derived class, initializes a new instance of the ActivityCondition class.

NameDescription
System_CAPS_protpropertyDesignMode

Gets the value that indicates whether this instance is in design or run-time mode.(Inherited from DependencyObject.)

System_CAPS_protpropertyParentDependencyObject

Gets the parent DependencyObject in the DependencyObject graph.(Inherited from DependencyObject.)

System_CAPS_pubpropertySite

Gets or sets a reference to the Site component of the DependencyObject.(Inherited from DependencyObject.)

System_CAPS_pubpropertyUserData

Gets an IDictionary that associates custom data with this class instance.(Inherited from DependencyObject.)

NameDescription
System_CAPS_pubmethodAddHandler(DependencyProperty, Object)

Adds a handler for an event of a DependencyObject.(Inherited from DependencyObject.)

System_CAPS_pubmethodDispose()

Releases all the resources used by the DependencyObject.(Inherited from DependencyObject.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.(Inherited from DependencyObject.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodEvaluate(Activity, IServiceProvider)

Evaluates the underlying condition.

System_CAPS_protmethodFinalize()

Provided as an override to Object.Finalize to clean up any unmanaged resources deterministically.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetBinding(DependencyProperty)

Provides access to the ActivityBind associated with the specific DependencyProperty.(Inherited from DependencyObject.)

System_CAPS_protmethodGetBoundValue(ActivityBind, Type)

Retrieves the Object that is the subject of an ActivityBind.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetInvocationList<T>(DependencyProperty)

Gets an array that contains the delegates for the specified DependencyProperty.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValue(DependencyProperty)

Provides access to the value of the designated DependencyProperty.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetValueBase(DependencyProperty)

Provides access to the bound object of a DependencyProperty and bypasses the GetValue override.(Inherited from DependencyObject.)

System_CAPS_protmethodInitializeProperties()

Performs initialization on dependency properties when overridden in a derived class.(Inherited from DependencyObject.)

System_CAPS_pubmethodIsBindingSet(DependencyProperty)

Indicates whether the value of a DependencyProperty is set as a binding. See SetBinding.(Inherited from DependencyObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMetaEquals(DependencyObject)

Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.(Inherited from DependencyObject.)

System_CAPS_pubmethodRemoveHandler(DependencyProperty, Object)

Removes an EventHandler from an associated DependencyProperty.(Inherited from DependencyObject.)

System_CAPS_pubmethodRemoveProperty(DependencyProperty)

Removes a DependencyProperty from the DependencyObject.(Inherited from DependencyObject.)

System_CAPS_pubmethodSetBinding(DependencyProperty, ActivityBind)

Sets the ActivityBind for the specified DependencyProperty. (Inherited from DependencyObject.)

System_CAPS_protmethodSetBoundValue(ActivityBind, Object)

Sets the value of the target ActivityBind.(Inherited from DependencyObject.)

System_CAPS_protmethodSetReadOnlyPropertyValue(DependencyProperty, Object)

Sets the value of a DependencyProperty, which is read-only.(Inherited from DependencyObject.)

System_CAPS_pubmethodSetValue(DependencyProperty, Object)

Sets the value of the DependencyProperty to the object.(Inherited from DependencyObject.)

System_CAPS_pubmethodSetValueBase(DependencyProperty, Object)

Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue.(Inherited from DependencyObject.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_priveventIComponent.Disposed

Represents the method that handles the Disposed event of a component.(Inherited from DependencyObject.)

System_CAPS_noteNote

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

A condition is an expression, which evaluates to a Boolean value.

Windows Workflow Foundation offers two condition types: CodeCondition and RuleConditionReference.

You can create a custom condition type by deriving from this class and implementing the Evaluate method.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: