Partager via


TestSiloSpecificOptions.Create Méthode

Définition

Surcharges

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

Crée une instance de la classe TestSiloSpecificOptions.

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

Paramètres

testClusterOptions
TestClusterOptions
instanceNumber
Int32
assignNewPort
Boolean

Retours

S’applique à

Create(TestCluster, TestClusterOptions, Int32, Boolean)

Source:
TestClusterOptions.cs

Crée une instance de la classe TestSiloSpecificOptions.

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

Paramètres

testCluster
TestCluster

Cluster de test.

testClusterOptions
TestClusterOptions

Options de cluster de test.

instanceNumber
Int32

Numéro d’instance.

assignNewPort
Boolean

si la valeur trueest , attribuez un nouveau port pour le silo.

Retours

Options.

S’applique à