CodeCondition Class

 
Note: This API is now obsolete.

Defines a condition that guards/drives the execution of a certain activity within a workflow definition. It has an event of type ConditionalEventArgs to return the result of the condition.

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


[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public ref class CodeCondition : ActivityCondition

NameDescription
System_CAPS_pubmethodCodeCondition()

Initializes a new instance of the CodeCondition 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. (Overrides ActivityCondition::Evaluate(Activity^, IServiceProvider^).)

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 a ActivityBind.(Overrides DependencyObject::GetBoundValue(ActivityBind^, Type^).)

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_pubfieldSystem_CAPS_staticConditionEvent

Represents the DependencyProperty that targets the Condition event.

NameDescription
System_CAPS_pubeventCondition

Occurs when the condition is evaluated.

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.

.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: