PlatformContext Constructors
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.
Overloads
| Name | Description |
|---|---|
| PlatformContext() |
Initializes a new instance of PlatformContext for mocking. |
| PlatformContext(String, String) |
Initializes a new instance of PlatformContext. |
PlatformContext()
- Source:
- PlatformContext.cs
Initializes a new instance of PlatformContext for mocking.
protected PlatformContext();
Protected Sub New ()
Applies to
PlatformContext(String, String)
- Source:
- PlatformContext.cs
Initializes a new instance of PlatformContext.
public PlatformContext(string? userIdKey, string? callId);
new Azure.AI.AgentServer.Core.PlatformContext : string * string -> Azure.AI.AgentServer.Core.PlatformContext
Public Sub New (userIdKey As String, callId As String)
Parameters
- userIdKey
- String
The value of the x-agent-user-id header, or
null if the header was absent.
- callId
- String
The value of the x-agent-foundry-call-id header, or
null if the header was absent.