# RequestContext

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) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Runtime/RequestContext.cs#L23)

```csharp
public static class RequestContext
```

This class holds information regarding the request currently being processed. It is explicitly intended to be available to application code.

## Remarks

The request context is represented as a property bag. Some values are provided by default; others are derived from messages headers in the request that led to the current processing.

Information stored in [RequestContext](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/) is propagated from Orleans clients to Orleans grains automatically by the Orleans runtime.

## Properties

- [Entries](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/properties/entries-a1328ca1/)
- [Keys](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/properties/keys-ffdd147c/)
- [ReentrancyId](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/properties/reentrancyid-2fe96eff/)

## Methods

- [AllowCallChainReentrancy](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/methods/allowcallchainreentrancy-3721c534/)
- [Clear](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/methods/clear-a1680ca4/)
- [Get(string)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/methods/get-string-18a82a09/)
- [Remove(string)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/methods/remove-string-f8b8eb31/)
- [Set(string, object)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/methods/set-string-object-24d22695/)
- [SuppressCallChainReentrancy](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/methods/suppresscallchainreentrancy-7152745e/)
