HostedMcpServerToolApprovalMode.RequireSpecific Methode

Definitie

Instantieert een HostedMcpServerToolApprovalMode instantie die goedkeuringsgedrag aangeeft voor namen van afzonderlijke hulpprogramma's.

public:
 static Microsoft::Extensions::AI::HostedMcpServerToolRequireSpecificApprovalMode ^ RequireSpecific(System::Collections::Generic::IList<System::String ^> ^ alwaysRequireApprovalToolNames, System::Collections::Generic::IList<System::String ^> ^ neverRequireApprovalToolNames);
public static Microsoft.Extensions.AI.HostedMcpServerToolRequireSpecificApprovalMode RequireSpecific(System.Collections.Generic.IList<string>? alwaysRequireApprovalToolNames, System.Collections.Generic.IList<string>? neverRequireApprovalToolNames);
static member RequireSpecific : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Extensions.AI.HostedMcpServerToolRequireSpecificApprovalMode
Public Shared Function RequireSpecific (alwaysRequireApprovalToolNames As IList(Of String), neverRequireApprovalToolNames As IList(Of String)) As HostedMcpServerToolRequireSpecificApprovalMode

Parameters

alwaysRequireApprovalToolNames
IList<String>

De lijst met namen van hulpprogramma's waarvoor altijd goedkeuring is vereist.

neverRequireApprovalToolNames
IList<String>

De lijst met namen van hulpprogramma's waarvoor nooit goedkeuring is vereist.

Retouren

Een exemplaar van HostedMcpServerToolRequireSpecificApprovalMode de opgegeven hulpprogrammanamen.

Van toepassing op