InProcessTestSiloSpecificOptions.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of the TestSiloSpecificOptions class.
public static Orleans.TestingHost.InProcessTestSiloSpecificOptions Create(Orleans.TestingHost.InProcessTestCluster testCluster, Orleans.TestingHost.InProcessTestClusterOptions testClusterOptions, int instanceNumber, bool assignNewPort = false);
static member Create : Orleans.TestingHost.InProcessTestCluster * Orleans.TestingHost.InProcessTestClusterOptions * int * bool -> Orleans.TestingHost.InProcessTestSiloSpecificOptions
Public Shared Function Create (testCluster As InProcessTestCluster, testClusterOptions As InProcessTestClusterOptions, instanceNumber As Integer, Optional assignNewPort As Boolean = false) As InProcessTestSiloSpecificOptions
Parameters
- testCluster
- InProcessTestCluster
The test cluster.
- testClusterOptions
- InProcessTestClusterOptions
The test cluster options.
- instanceNumber
- Int32
The instance number.
- assignNewPort
- Boolean
if set to true
, assign a new port for the silo.
Returns
The options.