TestSiloSpecificOptions.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Create(TestClusterOptions, Int32, Boolean) | |
Create(TestCluster, TestClusterOptions, Int32, Boolean) |
Crée une instance de la classe 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
Paramètres
- testClusterOptions
- TestClusterOptions
- instanceNumber
- Int32
- assignNewPort
- Boolean
Retours
S’applique à
Create(TestCluster, TestClusterOptions, Int32, Boolean)
- Source:
- TestClusterOptions.cs
Crée une instance de la classe 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
Paramètres
- testCluster
- TestCluster
Cluster de test.
- testClusterOptions
- TestClusterOptions
Options de cluster de test.
- instanceNumber
- Int32
Numéro d’instance.
- assignNewPort
- Boolean
si la valeur true
est , attribuez un nouveau port pour le silo.
Retours
Options.