InvocationContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Per-request context for an invocation, carrying platform-resolved identifiers, forwarded client headers, and query parameters.
public sealed class InvocationContext
type InvocationContext = class
Public NotInheritable Class InvocationContext
- Inheritance
-
InvocationContext
Constructors
| Name | Description |
|---|---|
| InvocationContext(String, String, IReadOnlyDictionary<String,String>, IReadOnlyDictionary<String,StringValues>, IsolationContext) |
Initializes a new instance of InvocationContext. |
Properties
| Name | Description |
|---|---|
| ClientHeaders |
Read-only dictionary of |
| InvocationId |
The invocation ID. Sourced from the |
| Isolation |
Gets the platform-injected isolation keys for this request. Handlers use these opaque partition keys to scope user-private and conversation-shared state. Returns Empty when the platform headers are absent (e.g., local development). |
| QueryParameters |
Read-only dictionary of all query parameters forwarded from the caller's request. Per the invocation protocol spec, all query parameters are forwarded unchanged — containers may define additional custom parameters as part of their own contract. |
| SessionId |
The session ID. Resolved from |