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

返回

已部署接收器的句柄

适用于