InvokeAgentScope.Start Method
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.
Creates and starts a new scope for agent invocation tracing.
public static Microsoft.Agents.A365.Observability.Runtime.Tracing.Scopes.InvokeAgentScope Start(Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.InvokeAgentDetails invokeAgentDetails, Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.TenantDetails tenantDetails, Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.Request? request = default, Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.AgentDetails? callerAgentDetails = default, Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.CallerDetails? callerDetails = default, string? conversationId = default);
static member Start : Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.InvokeAgentDetails * Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.TenantDetails * Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.Request * Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.AgentDetails * Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.CallerDetails * string -> Microsoft.Agents.A365.Observability.Runtime.Tracing.Scopes.InvokeAgentScope
Public Shared Function Start (invokeAgentDetails As InvokeAgentDetails, tenantDetails As TenantDetails, Optional request As Request = Nothing, Optional callerAgentDetails As AgentDetails = Nothing, Optional callerDetails As CallerDetails = Nothing, Optional conversationId As String = Nothing) As InvokeAgentScope
Parameters
- invokeAgentDetails
- InvokeAgentDetails
The details of the agent invocation including endpoint, agent information, and conversation context.
- tenantDetails
- TenantDetails
- request
- Request
The request content for the invoked agent.
- callerAgentDetails
- AgentDetails
The details of the caller agent.
- callerDetails
- CallerDetails
The details of the non-agentic caller.
- conversationId
- String
The conversation ID for the agent invocation.
Returns
A new InvokeAgentScope instance.