MCPApprovalResponse(String, Boolean) Constructor
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.
Initializes a new instance of MCPApprovalResponse.
public MCPApprovalResponse(string approvalRequestId, bool approve);
new Azure.AI.AgentServer.Responses.Models.MCPApprovalResponse : string * bool -> Azure.AI.AgentServer.Responses.Models.MCPApprovalResponse
Public Sub New (approvalRequestId As String, approve As Boolean)
Parameters
- approvalRequestId
- String
The ID of the approval request being answered.
- approve
- Boolean
Whether the request was approved.
Exceptions
approvalRequestId is null.