Edit

Share via


InProcessTestSiloSpecificOptions.Create Method

Definition

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.

Applies to