Compartilhar via


TestSiloSpecificOptions.Create Método

Definição

Sobrecargas

Create(TestClusterOptions, Int32, Boolean)
Create(TestCluster, TestClusterOptions, Int32, Boolean)

Cria uma instância de TestSiloSpecificOptions classe.

Create(TestClusterOptions, Int32, Boolean)

public static Orleans.TestingHost.TestSiloSpecificOptions Create (Orleans.TestingHost.TestClusterOptions testClusterOptions, int instanceNumber, bool assignNewPort = false);
static member Create : Orleans.TestingHost.TestClusterOptions * int * bool -> Orleans.TestingHost.TestSiloSpecificOptions
Public Shared Function Create (testClusterOptions As TestClusterOptions, instanceNumber As Integer, Optional assignNewPort As Boolean = false) As TestSiloSpecificOptions

Parâmetros

testClusterOptions
TestClusterOptions
instanceNumber
Int32
assignNewPort
Boolean

Retornos

Aplica-se a

Create(TestCluster, TestClusterOptions, Int32, Boolean)

Origem:
TestClusterOptions.cs

Cria uma instância de TestSiloSpecificOptions classe.

public static Orleans.TestingHost.TestSiloSpecificOptions Create (Orleans.TestingHost.TestCluster testCluster, Orleans.TestingHost.TestClusterOptions testClusterOptions, int instanceNumber, bool assignNewPort = false);
static member Create : Orleans.TestingHost.TestCluster * Orleans.TestingHost.TestClusterOptions * int * bool -> Orleans.TestingHost.TestSiloSpecificOptions
Public Shared Function Create (testCluster As TestCluster, testClusterOptions As TestClusterOptions, instanceNumber As Integer, Optional assignNewPort As Boolean = false) As TestSiloSpecificOptions

Parâmetros

testCluster
TestCluster

O cluster de teste.

testClusterOptions
TestClusterOptions

As opções de cluster de teste.

instanceNumber
Int32

O número da instância.

assignNewPort
Boolean

se definido truecomo , atribua uma nova porta para o silo.

Retornos

As opções.

Aplica-se a