# TestSiloSpecificOptions.Create(TestCluster, TestClusterOptions, int, bool)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testsilospecificoptions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testsilospecificoptions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs#L196-L214)

```csharp
public static TestSiloSpecificOptions Create(TestCluster testCluster, TestClusterOptions testClusterOptions, int instanceNumber, bool assignNewPort = false)
```

Creates an instance of the [TestSiloSpecificOptions](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testsilospecificoptions/) class.

### Parameters

- `testCluster` (`TestCluster`): The test cluster.
- `testClusterOptions` (`TestClusterOptions`): The test cluster options.
- `instanceNumber` (`int`): The instance number.
- `assignNewPort` (`bool`): if set to `true`, assign a new port for the silo.

### Returns

The options.
