Skip to content

RequestContext

class

Namespace: Orleans.Runtime

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

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 is propagated from Orleans clients to Orleans grains automatically by the Orleans runtime.

Properties

  • Entries Gets the collection of entries currently in the request context.
  • Keys Gets the collection of keys for the values currently in the request context.
  • ReentrancyId

Methods