Condividi tramite


TestSiloSpecificOptions.Create Metodo

Definizione

Overload

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

Crea un'istanza della 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

Parametri

testClusterOptions
TestClusterOptions
instanceNumber
Int32
assignNewPort
Boolean

Restituisce

Si applica a

Create(TestCluster, TestClusterOptions, Int32, Boolean)

Origine:
TestClusterOptions.cs

Crea un'istanza della 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

Parametri

testCluster
TestCluster

Cluster di test.

testClusterOptions
TestClusterOptions

Opzioni del cluster di test.

instanceNumber
Int32

Numero di istanza.

assignNewPort
Boolean

se impostato su true, assegnare una nuova porta per il silo.

Restituisce

Opzioni.

Si applica a