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 RequestContextRemarks
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
EntriesGets the collection of entries currently in the request context.KeysGets the collection of keys for the values currently in the request context.ReentrancyId
Methods
AllowCallChainReentrancyAllows reentrancy for subsequent calls issued before the returnedReentrancySectionis disposed.ClearClears the current request context.Get(string)Retrieves a value from the request context.Remove(string)Remove a value from the request context.Set(string, object)Sets a value in the request context.SuppressCallChainReentrancySuppresses reentrancy for subsequent calls issued before the returnedReentrancySectionis disposed.
