TestingSiloHost.StartOrleansSilo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在目標叢集中啟動新的定址接收器
public static Orleans.TestingHost.SiloHandle StartOrleansSilo (Orleans.TestingHost.TestingSiloHost host, Orleans.Runtime.Silo.SiloType type, Orleans.TestingHost.TestingSiloOptions options, int instanceCount, AppDomain shared = default);
static member StartOrleansSilo : Orleans.TestingHost.TestingSiloHost * Orleans.Runtime.Silo.SiloType * Orleans.TestingHost.TestingSiloOptions * int * AppDomain -> Orleans.TestingHost.SiloHandle
Public Shared Function StartOrleansSilo (host As TestingSiloHost, type As Silo.SiloType, options As TestingSiloOptions, instanceCount As Integer, Optional shared As AppDomain = Nothing) As SiloHandle
參數
- host
- TestingSiloHost
目標叢集
- type
- Silo.SiloType
要部署的接收器類型
- options
- TestingSiloOptions
用於定址接收器的選項
- instanceCount
- Int32
定址接收器的實例計數
- shared
- AppDomain
要使用的共用 AppDomain
傳回
已部署定址接收器的控制碼