Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SiloBuilderExtensions.UseTransactions Method
Definition
- Namespace:
- Orleans.Hosting
- Assemblies:
- Orleans.Runtime.dll, Orleans.Streaming.AzureStorage.dll, Orleans.Streaming.EventHubs.dll, Orleans.Streaming.SQS.dll, Orleans.Transactions.dll
- Assemblies:
- Orleans.Persistence.AdoNet.dll, Orleans.Runtime.Abstractions.dll, Orleans.Streaming.AzureStorage.dll, Orleans.Streaming.EventHubs.dll, Orleans.Streaming.SQS.dll, Orleans.Transactions.dll, Orleans.Transactions.DynamoDB.dll, OrleansProviders.dll
- Assemblies:
- Orleans.Persistence.AdoNet.dll, Orleans.Runtime.Abstractions.dll, Orleans.Streaming.AzureStorage.dll, Orleans.Streaming.EventHubs.dll, Orleans.Streaming.SQS.dll, Orleans.Transactions.dll, OrleansProviders.dll
- Packages:
- Microsoft.Orleans.Runtime v10.0.0, Microsoft.Orleans.Streaming.AzureStorage v10.0.0, Microsoft.Orleans.Streaming.EventHubs v10.0.0, Microsoft.Orleans.Streaming.SQS v10.0.0, Microsoft.Orleans.Transactions v10.0.0
- Packages:
- Microsoft.Orleans.Runtime v7.2.5, Microsoft.Orleans.Streaming.AzureStorage v7.2.5, Microsoft.Orleans.Streaming.EventHubs v7.2.5, Microsoft.Orleans.Streaming.SQS v7.2.5, Microsoft.Orleans.Transactions v7.2.5
- Packages:
- Microsoft.Orleans.Runtime v8.0.0, Microsoft.Orleans.Streaming.AzureStorage v8.0.0, Microsoft.Orleans.Streaming.EventHubs v8.0.0, Microsoft.Orleans.Streaming.SQS v8.0.0, Microsoft.Orleans.Transactions v8.0.0
- Packages:
- Microsoft.Orleans.Runtime v8.1.0, Microsoft.Orleans.Streaming.AzureStorage v8.1.0, Microsoft.Orleans.Streaming.EventHubs v8.1.0, Microsoft.Orleans.Streaming.SQS v8.1.0, Microsoft.Orleans.Transactions v8.1.0
- Packages:
- Microsoft.Orleans.Runtime v8.2.0, Microsoft.Orleans.Streaming.AzureStorage v8.2.0, Microsoft.Orleans.Streaming.EventHubs v8.2.0, Microsoft.Orleans.Streaming.SQS v8.2.0, Microsoft.Orleans.Transactions v8.2.0
- Packages:
- Microsoft.Orleans.Runtime v9.0.0, Microsoft.Orleans.Streaming.AzureStorage v9.0.0, Microsoft.Orleans.Streaming.EventHubs v9.0.0, Microsoft.Orleans.Streaming.SQS v9.0.0, Microsoft.Orleans.Transactions v9.0.0
- Packages:
- Microsoft.Orleans.Runtime v9.1.2, Microsoft.Orleans.Streaming.AzureStorage v9.1.2, Microsoft.Orleans.Streaming.EventHubs v9.1.2, Microsoft.Orleans.Streaming.SQS v9.1.2, Microsoft.Orleans.Transactions v9.1.2
- Packages:
- Microsoft.Orleans.OrleansProviders v2.4.5, Microsoft.Orleans.OrleansServiceBus v2.4.5, Microsoft.Orleans.Persistence.AdoNet v2.4.5, Microsoft.Orleans.Runtime.Abstractions v2.4.5, Microsoft.Orleans.Streaming.AzureStorage v2.4.5, Microsoft.Orleans.Streaming.SQS v2.4.5, Microsoft.Orleans.Transactions v2.4.5, Microsoft.Orleans.Transactions.DynamoDB v2.0.0
- Packages:
- Microsoft.Orleans.OrleansProviders v3.6.5, Microsoft.Orleans.OrleansServiceBus v3.6.5, Microsoft.Orleans.Persistence.AdoNet v3.6.5, Microsoft.Orleans.Runtime.Abstractions v3.6.5, Microsoft.Orleans.Streaming.AzureStorage v3.6.5, Microsoft.Orleans.Streaming.SQS v3.6.5, Microsoft.Orleans.Transactions v3.6.5
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.
Overloads
| Name | Description |
|---|---|
| UseTransactions(ISiloBuilder) |
Configure cluster to use the distributed TM algorithm |
| UseTransactions(ISiloBuilder, Boolean) |
Configure cluster to use the distributed TM algorithm |
| UseTransactions(ISiloHostBuilder, Boolean) |
Configure cluster to use the distributed TM algorithm |
UseTransactions(ISiloBuilder)
Configure cluster to use the distributed TM algorithm
public static Orleans.Hosting.ISiloBuilder UseTransactions(this Orleans.Hosting.ISiloBuilder builder);
static member UseTransactions : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseTransactions (builder As ISiloBuilder) As ISiloBuilder
Parameters
- builder
- ISiloBuilder
Silo host builder
Applies to
UseTransactions(ISiloBuilder, Boolean)
- Source:
- SiloBuilderExtensions.cs
Configure cluster to use the distributed TM algorithm
public static Orleans.Hosting.ISiloBuilder UseTransactions(this Orleans.Hosting.ISiloBuilder builder, bool withStatisticsReporter = true);
static member UseTransactions : Orleans.Hosting.ISiloBuilder * bool -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseTransactions (builder As ISiloBuilder, Optional withStatisticsReporter As Boolean = true) As ISiloBuilder
Parameters
- builder
- ISiloBuilder
Silo host builder
- withStatisticsReporter
- Boolean
Configure a transaction statistics reporter. Set to false if you want to configure your own transaction statistics reporting or don't want transaction statistics reported
Applies to
UseTransactions(ISiloHostBuilder, Boolean)
- Source:
- SiloBuilderExtensions.cs
Configure cluster to use the distributed TM algorithm
public static Orleans.Hosting.ISiloHostBuilder UseTransactions(this Orleans.Hosting.ISiloHostBuilder builder, bool withStatisticsReporter = true);
static member UseTransactions : Orleans.Hosting.ISiloHostBuilder * bool -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseTransactions (builder As ISiloHostBuilder, Optional withStatisticsReporter As Boolean = true) As ISiloHostBuilder
Parameters
- builder
- ISiloHostBuilder
Silo host builder
- withStatisticsReporter
- Boolean
Configure a transaction statistics reporter. Set to false if you want to configure your own transaction statistics reporting or don't want transaction statistics reported
