Compartir a través de


TransactionAttribute Clase

Definición

El atributo TransactionAttribute se usa para marcar métodos que inician y unen transacciones.

[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class TransactionAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
[Orleans.InvokableBaseType(typeof(Orleans.Runtime.GrainReference), typeof(System.Threading.Tasks.ValueTask), typeof(Orleans.TransactionRequest))]
[Orleans.InvokableBaseType(typeof(Orleans.Runtime.GrainReference), typeof(System.Threading.Tasks.ValueTask<>), typeof(Orleans.TransactionRequest<>))]
[Orleans.InvokableBaseType(typeof(Orleans.Runtime.GrainReference), typeof(System.Threading.Tasks.Task), typeof(Orleans.TransactionTaskRequest))]
[Orleans.InvokableBaseType(typeof(Orleans.Runtime.GrainReference), typeof(System.Threading.Tasks.Task<>), typeof(Orleans.TransactionTaskRequest<>))]
[Orleans.InvokableCustomInitializer("SetTransactionOptions")]
public sealed class TransactionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type TransactionAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
[<Orleans.InvokableBaseType(typeof(Orleans.Runtime.GrainReference), typeof(System.Threading.Tasks.ValueTask), typeof(Orleans.TransactionRequest))>]
[<Orleans.InvokableBaseType(typeof(Orleans.Runtime.GrainReference), typeof(System.Threading.Tasks.ValueTask<>), typeof(Orleans.TransactionRequest<>))>]
[<Orleans.InvokableBaseType(typeof(Orleans.Runtime.GrainReference), typeof(System.Threading.Tasks.Task), typeof(Orleans.TransactionTaskRequest))>]
[<Orleans.InvokableBaseType(typeof(Orleans.Runtime.GrainReference), typeof(System.Threading.Tasks.Task<>), typeof(Orleans.TransactionTaskRequest<>))>]
[<Orleans.InvokableCustomInitializer("SetTransactionOptions")>]
type TransactionAttribute = class
    inherit Attribute
Public NotInheritable Class TransactionAttribute
Inherits Attribute
Herencia
TransactionAttribute
Atributos

Constructores

TransactionAttribute(TransactionOption)

El atributo TransactionAttribute se usa para marcar métodos que inician y unen transacciones.

TransactionAttribute(TransactionOptionAlias)

El atributo TransactionAttribute se usa para marcar métodos que inician y unen transacciones.

Propiedades

ReadOnly

El atributo TransactionAttribute se usa para marcar métodos que inician y unen transacciones.

Requirement

El atributo TransactionAttribute se usa para marcar métodos que inician y unen transacciones.

Se aplica a