# ICallChainReentrantGrainContext

Package: [Microsoft.Orleans.Core.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core.Abstractions)

```csharp
public interface ICallChainReentrantGrainContext
```

Provides functionality for entering and exiting sections of code within a grain during which requests bearing the same [RequestContext](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/) are allowed to re-enter the grain.

## Methods

- [OnEnterReentrantSection(Guid)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.core.internal.icallchainreentrantgraincontext/methods/onenterreentrantsection-system-guid-284f825c/)
- [OnExitReentrantSection(Guid)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.core.internal.icallchainreentrantgraincontext/methods/onexitreentrantsection-system-guid-1a351ace/)
