共用方式為


TestingSiloHost.StartOrleansSilo 方法

定義

在目標叢集中啟動新的定址接收器

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

傳回

已部署定址接收器的控制碼

適用於