Поделиться через


TestSiloSpecificOptions.Create Метод

Определение

Перегрузки

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)

Исходный код:
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.

Возвращаемое значение

Параметры.

Применяется к