共用方式為


TestSiloSpecificOptions.Create 方法

定義

多載

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

建立 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

參數

testClusterOptions
TestClusterOptions
instanceNumber
Int32
assignNewPort
Boolean

傳回

適用於

Create(TestCluster, TestClusterOptions, Int32, Boolean)

來源:
TestClusterOptions.cs

建立 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

參數

testCluster
TestCluster

測試叢集。

testClusterOptions
TestClusterOptions

測試叢集選項。

instanceNumber
Int32

實例編號。

assignNewPort
Boolean

如果設定為 true ,請為定址接收器指派新的埠。

傳回

選項。

適用於