ActivityCondition Classe

Definição

Cuidado

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

Representa uma classe abstrata para uma expressão, que é avaliada como um Boolean.Represents an abstract class for an expression, which evaluates to a Boolean. Essa classe deve ser herdada.This class must be inherited.

public ref class ActivityCondition abstract : System::Workflow::ComponentModel::DependencyObject
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ConditionTypeConverter))]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ConditionValidator))]
public abstract class ActivityCondition : System.Workflow.ComponentModel.DependencyObject
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ConditionTypeConverter))]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ConditionValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class ActivityCondition : System.Workflow.ComponentModel.DependencyObject
[<System.ComponentModel.Browsable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ConditionTypeConverter))>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ConditionValidator))>]
type ActivityCondition = class
    inherit DependencyObject
[<System.ComponentModel.Browsable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ConditionTypeConverter))>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ConditionValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityCondition = class
    inherit DependencyObject
Public MustInherit Class ActivityCondition
Inherits DependencyObject
Herança
ActivityCondition
Derivado
Atributos

Comentários

Observação

Este material discute tipos e namespaces obsoletos.This material discusses types and namespaces that are obsolete. Para obter mais informações, consulte Deprecated Types in Windows Workflow Foundation 4.5 (Tipos preteridos no Windows Workflow Foundation 4.5).For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Uma condição é uma expressão, que é avaliada como um Boolean valor.A condition is an expression, which evaluates to a Boolean value.

O Windows Workflow Foundation oferece dois tipos de condição: CodeCondition e RuleConditionReference .Windows Workflow Foundation offers two condition types: CodeCondition and RuleConditionReference.

Você pode criar um tipo de condição personalizada derivando dessa classe e implementando o Evaluate método.You can create a custom condition type by deriving from this class and implementing the Evaluate method.

Construtores

ActivityCondition()

Quando implementado em uma classe derivada, inicializa uma nova instância da classe ActivityCondition.When implemented in a derived class, initializes a new instance of the ActivityCondition class.

Propriedades

DesignMode

Obtém o valor que indica se esta instância está em modo de design ou de tempo de execução.Gets the value that indicates whether this instance is in design or run-time mode.

(Herdado de DependencyObject)
ParentDependencyObject

Obtém o DependencyObject pai no grafo DependencyObject.Gets the parent DependencyObject in the DependencyObject graph.

(Herdado de DependencyObject)
Site

Obtém ou define uma referência ao componente Site do DependencyObject.Gets or sets a reference to the Site component of the DependencyObject.

(Herdado de DependencyObject)
UserData

Obtém um IDictionary que associa dados personalizados a essa instância de classe.Gets an IDictionary that associates custom data with this class instance.

(Herdado de DependencyObject)

Métodos

AddHandler(DependencyProperty, Object)

Adiciona um manipulador para um evento de um DependencyObject.Adds a handler for an event of a DependencyObject.

(Herdado de DependencyObject)
Dispose()

Libera todos os recursos usados pelo DependencyObject.Releases all the resources used by the DependencyObject.

(Herdado de DependencyObject)
Dispose(Boolean)

Libera os recursos não gerenciados usados e opcionalmente os gerenciados usados pelo DependencyObject.Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.

(Herdado de DependencyObject)
Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
Evaluate(Activity, IServiceProvider)

Avalia a condição subjacente.Evaluates the underlying condition.

GetBinding(DependencyProperty)

Fornece acesso para ao ActivityBind associado ao DependencyProperty específico.Provides access to the ActivityBind associated with the specific DependencyProperty.

(Herdado de DependencyObject)
GetBoundValue(ActivityBind, Type)

Recupera o Object que é a entidade de um ActivityBind.Retrieves the Object that is the subject of an ActivityBind.

(Herdado de DependencyObject)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetInvocationList<T>(DependencyProperty)

Obtém uma matriz que contém os delegados para o DependencyProperty especificado.Gets an array that contains the delegates for the specified DependencyProperty.

(Herdado de DependencyObject)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
GetValue(DependencyProperty)

Fornece acesso ao valor do DependencyProperty designado.Provides access to the value of the designated DependencyProperty.

(Herdado de DependencyObject)
GetValueBase(DependencyProperty)

Fornece acesso ao objeto associado de um DependencyProperty e ignora a substituição de GetValue(DependencyProperty).Provides access to the bound object of a DependencyProperty and bypasses the GetValue(DependencyProperty) override.

(Herdado de DependencyObject)
InitializeProperties()

Executa a inicialização nas propriedades de dependência quando substituído em uma classe derivada.Performs initialization on dependency properties when overridden in a derived class.

(Herdado de DependencyObject)
IsBindingSet(DependencyProperty)

Indica se o valor de um DependencyProperty é definido como uma associação.Indicates whether the value of a DependencyProperty is set as a binding. Consulte SetBinding(DependencyProperty, ActivityBind).See SetBinding(DependencyProperty, ActivityBind).

(Herdado de DependencyObject)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
MetaEquals(DependencyObject)

Determina se o metaproperties deste DependencyObject é igual a metaproperties do DependencyObject com parâmetros.Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.

(Herdado de DependencyObject)
RemoveHandler(DependencyProperty, Object)

Remove um EventHandler de um DependencyProperty associado.Removes an EventHandler from an associated DependencyProperty.

(Herdado de DependencyObject)
RemoveProperty(DependencyProperty)

Remove um DependencyProperty do DependencyObject.Removes a DependencyProperty from the DependencyObject.

(Herdado de DependencyObject)
SetBinding(DependencyProperty, ActivityBind)

Define o ActivityBind para o DependencyProperty especificado.Sets the ActivityBind for the specified DependencyProperty.

(Herdado de DependencyObject)
SetBoundValue(ActivityBind, Object)

Define o valor do ActivityBind de destino.Sets the value of the target ActivityBind.

(Herdado de DependencyObject)
SetReadOnlyPropertyValue(DependencyProperty, Object)

Define o valor de um DependencyProperty, que é somente leitura.Sets the value of a DependencyProperty, which is read-only.

(Herdado de DependencyObject)
SetValue(DependencyProperty, Object)

Define o valor do DependencyProperty para o objeto.Sets the value of the DependencyProperty to the object.

(Herdado de DependencyObject)
SetValueBase(DependencyProperty, Object)

Define o valor da DependencyProperty usando o Object especificado, ignorando o SetValue(DependencyProperty, Object).Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue(DependencyProperty, Object).

(Herdado de DependencyObject)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Implantações explícitas de interface

IComponent.Disposed

Representa o método que manipula o evento Disposed de um componente.Represents the method that handles the Disposed event of a component.

(Herdado de DependencyObject)

Aplica-se a