# InProcessSiloHandle

Package: [Microsoft.Orleans.TestingHost](/orleans/docs/api/csharp/microsoft.orleans.testinghost/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.TestingHost) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/InProcessSiloHandle.cs#L15)

```csharp
public class InProcessSiloHandle : SiloHandle
```

Represents a handle to a silo that is deployed in the same process and AppDomain.

## Constructors

- [InProcessSiloHandle](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesssilohandle/constructors/constructor-add436d5/)

## Properties

- [IsActive](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesssilohandle/properties/isactive-08f3120d/)
- [ServiceProvider](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesssilohandle/properties/serviceprovider-175e6e1c/)
- [SiloHost](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesssilohandle/properties/silohost-7e6af3cf/)

## Methods

- [CreateAsync(string, IConfiguration, Action&lt;IHostBuilder&gt;)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesssilohandle/methods/createasync-string-microsoft-extensions-configuration-iconfiguration-system-acti-e7c90b65/)
- [DisposeAsync](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesssilohandle/methods/disposeasync-b4e99577/)
- [StopSiloAsync(CancellationToken)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesssilohandle/methods/stopsiloasync-system-threading-cancellationtoken-e3518dc5/)
- [StopSiloAsync(bool)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesssilohandle/methods/stopsiloasync-bool-6feb7fe2/)
