TestSiloSpecificOptions.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
建立 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
,請為定址接收器指派新的埠。
傳回
選項。