Szerkesztés

Megosztás a következőn keresztül:


TestingSiloHost.StartOrleansSilo Method

Definition

Start a new silo in the target cluster

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

Parameters

host
TestingSiloHost

The target cluster

type
Silo.SiloType

The type of the silo to deploy

options
TestingSiloOptions

The options to use for the silo

instanceCount
Int32

The instance count of the silo

shared
AppDomain

The shared AppDomain to use

Returns

A handle to the deployed silo

Applies to