共用方式為


ZooKeeperBasedMembershipTable.InitializeMembershipTable 方法

定義

初始化 ZooKeeper 型成員資格資料表。

public System.Threading.Tasks.Task InitializeMembershipTable (Orleans.Runtime.Configuration.GlobalConfiguration config, bool tryInitPath, Orleans.Runtime.Logger logger);
abstract member InitializeMembershipTable : Orleans.Runtime.Configuration.GlobalConfiguration * bool * Orleans.Runtime.Logger -> System.Threading.Tasks.Task
override this.InitializeMembershipTable : Orleans.Runtime.Configuration.GlobalConfiguration * bool * Orleans.Runtime.Logger -> System.Threading.Tasks.Task
Public Function InitializeMembershipTable (config As GlobalConfiguration, tryInitPath As Boolean, logger As Logger) As Task

參數

config
GlobalConfiguration

這個實例的組態。

tryInitPath
Boolean

如果設定為 true,我們會嘗試建立名為 「/DeploymentId」 的節點

logger
Logger

這個實例要使用的記錄器

傳回

實作

適用於