RuntimeTransactionHandle RuntimeTransactionHandle RuntimeTransactionHandle RuntimeTransactionHandle Class

Definición

Proporciona acceso a la transacción en tiempo de ejecución de una instancia de flujo de trabajo.Provides access to the run-time transaction in a workflow instance.

public ref class RuntimeTransactionHandle sealed : System::Activities::Handle, System::Activities::IExecutionProperty, System::Activities::IPropertyRegistrationCallback
[System.Runtime.Serialization.DataContract]
public sealed class RuntimeTransactionHandle : System.Activities.Handle, System.Activities.IExecutionProperty, System.Activities.IPropertyRegistrationCallback
type RuntimeTransactionHandle = class
    inherit Handle
    interface IExecutionProperty
    interface IPropertyRegistrationCallback
Public NotInheritable Class RuntimeTransactionHandle
Inherits Handle
Implements IExecutionProperty, IPropertyRegistrationCallback
Herencia
RuntimeTransactionHandleRuntimeTransactionHandleRuntimeTransactionHandleRuntimeTransactionHandle
Atributos
Implementaciones

Constructores

RuntimeTransactionHandle() RuntimeTransactionHandle() RuntimeTransactionHandle() RuntimeTransactionHandle()

Inicializa una nueva instancia de la clase RuntimeTransactionHandle.Initializes a new instance of the RuntimeTransactionHandle class.

RuntimeTransactionHandle(Transaction) RuntimeTransactionHandle(Transaction) RuntimeTransactionHandle(Transaction) RuntimeTransactionHandle(Transaction)

Inicializa una nueva instancia de la clase RuntimeTransactionHandle usando la transacción raíz especificada.Initializes a new instance of the RuntimeTransactionHandle class using the specified root transaction.

Propiedades

AbortInstanceOnTransactionFailure AbortInstanceOnTransactionFailure AbortInstanceOnTransactionFailure AbortInstanceOnTransactionFailure

Obtiene o establece si se debe anular la instancia de flujo de trabajo en caso de que se produzca un error en la transacción.Gets or sets whether the workflow instance should be aborted if the transaction fails.

ExecutionPropertyName ExecutionPropertyName ExecutionPropertyName ExecutionPropertyName

Obtiene el nombre que va a usar Handle cuando se agrega a las propiedades de ejecución de una actividad.Gets the name to be used by this Handle when added to an activity's execution properties.

(Inherited from Handle)
Owner Owner Owner Owner

Obtiene la ActivityInstance que contiene la Variable que a su vez contiene el Handle.Gets the ActivityInstance that contains the Variable that contains the Handle.

(Inherited from Handle)
SuppressTransaction SuppressTransaction SuppressTransaction SuppressTransaction

Obtiene o establece un valor que indica si se suprime esta transacción en tiempo de ejecución.Gets or sets a value that indicates whether this run-time transaction is suppressed.

Métodos

CompleteTransaction(NativeActivityContext) CompleteTransaction(NativeActivityContext) CompleteTransaction(NativeActivityContext) CompleteTransaction(NativeActivityContext)

Completa la transacción en tiempo de ejecución actual.Completes the current run-time transaction.

CompleteTransaction(NativeActivityContext, BookmarkCallback) CompleteTransaction(NativeActivityContext, BookmarkCallback) CompleteTransaction(NativeActivityContext, BookmarkCallback) CompleteTransaction(NativeActivityContext, BookmarkCallback)

Completa la transacción en tiempo de ejecución actual y programa la devolución de llamada del marcador cuando la transacción ha finalizado.Completes the current run-time transaction and schedules the bookmark callback when the transaction is complete.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCurrentTransaction(AsyncCodeActivityContext) GetCurrentTransaction(AsyncCodeActivityContext) GetCurrentTransaction(AsyncCodeActivityContext) GetCurrentTransaction(AsyncCodeActivityContext)

Devuelve una referencia a la transacción en tiempo de ejecución actual.Returns a reference to the current run-time transaction.

GetCurrentTransaction(CodeActivityContext) GetCurrentTransaction(CodeActivityContext) GetCurrentTransaction(CodeActivityContext) GetCurrentTransaction(CodeActivityContext)

Devuelve una referencia a la transacción en tiempo de ejecución actual.Returns a reference to the current run-time transaction.

GetCurrentTransaction(NativeActivityContext) GetCurrentTransaction(NativeActivityContext) GetCurrentTransaction(NativeActivityContext) GetCurrentTransaction(NativeActivityContext)

Devuelve una referencia a la transacción en tiempo de ejecución actual.Returns a reference to the current run-time transaction.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
OnInitialize(HandleInitializationContext) OnInitialize(HandleInitializationContext) OnInitialize(HandleInitializationContext) OnInitialize(HandleInitializationContext)

Llamado por el tiempo de ejecución del flujo de trabajo cuando se inicializa el entorno que contiene el Handle.Called by the workflow runtime when the environment that contains the Handle is initialized.

(Inherited from Handle)
OnUninitialize(HandleInitializationContext) OnUninitialize(HandleInitializationContext) OnUninitialize(HandleInitializationContext) OnUninitialize(HandleInitializationContext)

Llamado por el tiempo de ejecución del flujo de trabajo cuando la Variable del Handle sale del ámbito.Called by the workflow runtime when the Variable for the Handle goes out of scope.

(Inherited from Handle)
RequestTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext,Object>, Object) RequestTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext,Object>, Object) RequestTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext,Object>, Object) RequestTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext,Object>, Object)

Inicia la creación de una clase NativeActivityTransactionContext para utilizarla con una nueva transacción.Initiates the creation of a NativeActivityTransactionContext for use with a new transaction.

RequireTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext,Object>, Object) RequireTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext,Object>, Object) RequireTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext,Object>, Object) RequireTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext,Object>, Object)

Inicia la creación de un NativeActivityTransactionContext para su uso con una transacción existente.Initiates the creation of a NativeActivityTransactionContext for use with an existing transaction.

ThrowIfUninitialized() ThrowIfUninitialized() ThrowIfUninitialized() ThrowIfUninitialized()

Produce una InvalidOperationException si no se ha inicializado un Handle.Throws an InvalidOperationException if the Handle has not been initialized.

(Inherited from Handle)
ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Implementaciones de interfaz explícitas

IExecutionProperty.CleanupWorkflowThread() IExecutionProperty.CleanupWorkflowThread() IExecutionProperty.CleanupWorkflowThread() IExecutionProperty.CleanupWorkflowThread()

Para obtener una descripción de este miembro, vea CleanupWorkflowThread().For a description of this member, see CleanupWorkflowThread().

IExecutionProperty.SetupWorkflowThread() IExecutionProperty.SetupWorkflowThread() IExecutionProperty.SetupWorkflowThread() IExecutionProperty.SetupWorkflowThread()

Para una descripción de este miembro, vea SetupWorkflowThread().For a description of this member, see SetupWorkflowThread().

IPropertyRegistrationCallback.Register(RegistrationContext) IPropertyRegistrationCallback.Register(RegistrationContext) IPropertyRegistrationCallback.Register(RegistrationContext) IPropertyRegistrationCallback.Register(RegistrationContext)

Para una descripción de este miembro, vea Register(RegistrationContext).For a description of this member, see Register(RegistrationContext).

IPropertyRegistrationCallback.Unregister(RegistrationContext) IPropertyRegistrationCallback.Unregister(RegistrationContext) IPropertyRegistrationCallback.Unregister(RegistrationContext) IPropertyRegistrationCallback.Unregister(RegistrationContext)

Para una descripción de este miembro, vea Unregister(RegistrationContext).For a description of this member, see Unregister(RegistrationContext).

Se aplica a