HarnessScenarioVerificationContext
NexusLabs.Foundry.MicrosoftAgentFramework.Testing¶
HarnessScenarioVerificationContext Class¶
Contains the Harness lifecycle evidence supplied to VerifyHarness(HarnessScenarioVerificationContext).
public sealed record HarnessScenarioVerificationContext : System.IEquatable<NexusLabs.Foundry.MicrosoftAgentFramework.Testing.HarnessScenarioVerificationContext>
Inheritance System.Object 🡒 HarnessScenarioVerificationContext
Implements System.IEquatable<HarnessScenarioVerificationContext>
Constructors¶
HarnessScenarioVerificationContext(string, string, string, string, IWorkspace, AgentSession, string, IReadOnlyList<string>, IReadOnlyList<string>, Exception) Constructor¶
Contains the Harness lifecycle evidence supplied to VerifyHarness(HarnessScenarioVerificationContext).
public HarnessScenarioVerificationContext(string ScenarioName, string UserId, string OrchestrationId, string SessionId, NexusLabs.Foundry.MicrosoftAgentFramework.Workspace.IWorkspace Workspace, Microsoft.Agents.AI.AgentSession? Session, string? ResponseText, System.Collections.Generic.IReadOnlyList<string> ResolvedGeneratedToolNames, System.Collections.Generic.IReadOnlyList<string> ExecutedGeneratedToolNames, System.Exception? ExecutionError);
Parameters¶
ScenarioName System.String
The scenario name.
UserId System.String
The runner-issued user identity.
OrchestrationId System.String
The runner-issued orchestration identity.
SessionId System.String
The runner-issued session identity.
Workspace NexusLabs.Foundry.MicrosoftAgentFramework.Workspace.IWorkspace
The workspace after execution.
Session Microsoft.Agents.AI.AgentSession
The created MAF session, or null if creation failed.
ResponseText System.String
The final response text, or null if execution failed.
ResolvedGeneratedToolNames System.Collections.Generic.IReadOnlyList<System.String>
Generated tool names resolved before construction.
ExecutedGeneratedToolNames System.Collections.Generic.IReadOnlyList<System.String>
Generated tool names whose supplied function bodies were invoked.
ExecutionError System.Exception
The construction, session, or execution error, if any.
Properties¶
HarnessScenarioVerificationContext.ExecutedGeneratedToolNames Property¶
Generated tool names whose supplied function bodies were invoked.
Property Value¶
System.Collections.Generic.IReadOnlyList<System.String>
HarnessScenarioVerificationContext.ExecutionError Property¶
The construction, session, or execution error, if any.
Property Value¶
HarnessScenarioVerificationContext.OrchestrationId Property¶
The runner-issued orchestration identity.
Property Value¶
HarnessScenarioVerificationContext.ResolvedGeneratedToolNames Property¶
Generated tool names resolved before construction.
Property Value¶
System.Collections.Generic.IReadOnlyList<System.String>
HarnessScenarioVerificationContext.ResponseText Property¶
The final response text, or null if execution failed.
Property Value¶
HarnessScenarioVerificationContext.ScenarioName Property¶
The scenario name.
Property Value¶
HarnessScenarioVerificationContext.Session Property¶
The created MAF session, or null if creation failed.
Property Value¶
Microsoft.Agents.AI.AgentSession
HarnessScenarioVerificationContext.SessionId Property¶
The runner-issued session identity.
Property Value¶
HarnessScenarioVerificationContext.UserId Property¶
The runner-issued user identity.
Property Value¶
HarnessScenarioVerificationContext.Workspace Property¶
The workspace after execution.
Property Value¶
NexusLabs.Foundry.MicrosoftAgentFramework.Workspace.IWorkspace