共用方式為


SiloBuilderExtensions.UseTransactions 方法

定義

多載

UseTransactions(ISiloBuilder)

設定叢集以使用分散式 TM 演算法

UseTransactions(ISiloBuilder, Boolean)

設定叢集以使用分散式 TM 演算法

UseTransactions(ISiloHostBuilder, Boolean)

設定叢集以使用分散式 TM 演算法

UseTransactions(ISiloBuilder)

設定叢集以使用分散式 TM 演算法

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

參數

builder
ISiloBuilder

定址接收器主機產生器

適用於

UseTransactions(ISiloBuilder, Boolean)

來源:
SiloBuilderExtensions.cs

設定叢集以使用分散式 TM 演算法

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

參數

builder
ISiloBuilder

定址接收器主機產生器

withStatisticsReporter
Boolean

設定交易統計資料包告程式。 如果您想要設定自己的交易統計資料包告,或不想報告交易統計資料,請將 設定為 false

適用於

UseTransactions(ISiloHostBuilder, Boolean)

來源:
SiloBuilderExtensions.cs

設定叢集以使用分散式 TM 演算法

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

參數

builder
ISiloHostBuilder

定址接收器主機產生器

withStatisticsReporter
Boolean

設定交易統計資料包告程式。 如果您想要設定自己的交易統計資料包告,或不想報告交易統計資料,請將 設定為 false

適用於