# IBatchContainer.ImportRequestContext

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.ibatchcontainer/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.ibatchcontainer/methods/)

```csharp
public abstract bool ImportRequestContext()
```

Gives an opportunity to [IBatchContainer](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.ibatchcontainer/) to set any data in the [RequestContext](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/) before this [IBatchContainer](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.ibatchcontainer/) is sent to consumers. It can be the data that was set at the time event was generated and enqueued into the persistent provider or any other data.

### Returns

`true` if the [RequestContext](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/) was indeed modified, `false` otherwise.
