ActivityContext Classe

Definição

A classe base para classes de contexto que representam o ambiente de execução de uma atividade.The base class for context classes that represent the execution environment of an activity.

public ref class ActivityContext
public class ActivityContext
type ActivityContext = class
Public Class ActivityContext
Herança
ActivityContext
Derivado

Comentários

Essa classe fornece acesso limitado ao tempo de execução do Windows Workflow Foundation (WF) e é a classe base para todos os contextos de execução que são fornecidos pelo Windows Workflow Foundation (WF).This class provides limited access to the Windows Workflow Foundation (WF) runtime and is the base class for all execution contexts that are provided by Windows Workflow Foundation (WF).

Propriedades

ActivityInstanceId

Obtém o identificador exclusivo da instância de atividade em execução no momento.Gets the unique identifier of the currently executing activity instance.

DataContext

Obtém o contexto de dados da atividade atualmente em execução.Gets the data context of the currently executing activity.

WorkflowInstanceId

Obtém o identificador exclusivo da instância do fluxo de trabalho em execução no momento.Gets the unique identifier of the currently executing workflow instance.

Métodos

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)
GetExtension<T>()

Retorna uma extensão do tipo especificado.Returns an extension of the specified type.

GetHashCode()

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

(Herdado de Object)
GetLocation<T>(LocationReference)

Retorna o local tipado do local referenciado especificado para o contexto de atividade atual.Returns the typed location for the specified referenced location for the current activity context.

GetType()

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

(Herdado de Object)
GetValue(Argument)

Obtém o valor do Argument especificado.Gets the value of the specified Argument.

GetValue(RuntimeArgument)

Obtém o valor do RuntimeArgument especificado.Gets the value of the specified RuntimeArgument.

GetValue<T>(InArgument<T>)

Obtém o valor do InArgument<T> especificado.Gets the value of the specified InArgument<T>.

GetValue<T>(InOutArgument<T>)

Obtém o valor do InOutArgument<T> especificado.Gets the value of the specified InOutArgument<T>.

GetValue<T>(LocationReference)

Obtém o valor na LocationReference especificada.Gets the value at the specified LocationReference.

GetValue<T>(OutArgument<T>)

Obtém o valor do OutArgument<T> especificado.Gets the value of the specified OutArgument<T>.

MemberwiseClone()

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

(Herdado de Object)
SetValue(Argument, Object)

Atribui um valor ao Argument especificado.Assigns a value to the specified Argument.

SetValue<T>(InArgument<T>, T)

Atribui um valor ao InArgument<T> especificado.Assigns a value to the specified InArgument<T>.

SetValue<T>(InOutArgument<T>, T)

Atribui um valor ao InOutArgument<T> especificado.Assigns a value to the specified InOutArgument<T>.

SetValue<T>(LocationReference, T)

Atribui um valor ao LocationReference especificado.Assigns a value to the specified LocationReference.

SetValue<T>(OutArgument<T>, T)

Atribui um valor ao OutArgument<T> especificado.Assigns a value to the specified OutArgument<T>.

ToString()

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

(Herdado de Object)

Aplica-se a