Redigera

Dela via


TestSiloSpecificOptions.Create Method

Definition

Overloads

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

Creates an instance of the TestSiloSpecificOptions class.

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

Parameters

testClusterOptions
TestClusterOptions
instanceNumber
Int32
assignNewPort
Boolean

Returns

Applies to

Create(TestCluster, TestClusterOptions, Int32, Boolean)

Source:
TestClusterOptions.cs

Creates an instance of the TestSiloSpecificOptions class.

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

Parameters

testCluster
TestCluster

The test cluster.

testClusterOptions
TestClusterOptions

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