Freigeben über


TestSiloSpecificOptions.Create Methode

Definition

Überlädt

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

Erstellt eine Instanz der TestSiloSpecificOptions-Klasse.

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

Parameter

testClusterOptions
TestClusterOptions
instanceNumber
Int32
assignNewPort
Boolean

Gibt zurück

Gilt für:

Create(TestCluster, TestClusterOptions, Int32, Boolean)

Quelle:
TestClusterOptions.cs

Erstellt eine Instanz der TestSiloSpecificOptions-Klasse.

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

Parameter

testCluster
TestCluster

Der Testcluster.

testClusterOptions
TestClusterOptions

Die Testclusteroptionen.

instanceNumber
Int32

Die Instanznummer.

assignNewPort
Boolean

Wenn auf truefestgelegt ist, weisen Sie einen neuen Port für das Silo zu.

Gibt zurück

Die Optionen.

Gilt für: