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)
- Source:
- 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
,则为 silo 分配新端口。
返回
选项。