TransactionAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The TransactionAttribute attribute is used to mark methods that start and join transactions.
[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
- Inheritance
-
TransactionAttribute
- Attributes
Constructors
TransactionAttribute(TransactionOption) | |
TransactionAttribute(TransactionOptionAlias) |
Properties
ReadOnly | |
Requirement |