Condividi tramite


TransactionAttribute Classe

Definizione

L'attributo TransactionAttribute viene usato per contrassegnare i metodi che avviano e aggiungono le transazioni.

[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")]
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class TransactionAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class TransactionAttribute : Attribute
[<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")>]
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type TransactionAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type TransactionAttribute = class
    inherit Attribute
Public NotInheritable Class TransactionAttribute
Inherits Attribute
Ereditarietà
TransactionAttribute
Attributi

Costruttori

Nome Descrizione
TransactionAttribute(TransactionOption)

L'attributo TransactionAttribute viene usato per contrassegnare i metodi che avviano e aggiungono le transazioni.

TransactionAttribute(TransactionOptionAlias)

L'attributo TransactionAttribute viene usato per contrassegnare i metodi che avviano e aggiungono le transazioni.

Proprietà

Nome Descrizione
ReadOnly
Obsoleti.

L'attributo TransactionAttribute viene usato per contrassegnare i metodi che avviano e aggiungono le transazioni.

Requirement

L'attributo TransactionAttribute viene usato per contrassegnare i metodi che avviano e aggiungono le transazioni.

Si applica a