ToolApprovalRequestContent.RequiresConfirmation 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示是否必須確認底層工具呼叫後才能被呼叫。
public:
property bool RequiresConfirmation { bool get(); void set(bool value); };
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
[System.Text.Json.Serialization.JsonIgnore]
public bool RequiresConfirmation { get; set; }
[System.Text.Json.Serialization.JsonIgnore]
public bool RequiresConfirmation { get; set; }
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
[<System.Text.Json.Serialization.JsonIgnore>]
member this.RequiresConfirmation : bool with get, set
[<System.Text.Json.Serialization.JsonIgnore>]
member this.RequiresConfirmation : bool with get, set
Public Property RequiresConfirmation As Boolean
屬性值
- 屬性
備註
預設為 true。 當 true時,底層工具需要確認(例如使用者提示、政策決策或其他批准者)才能被調用。 當 false時,底層工具不需要確認,消費者可自行操作;必須提供相應 ToolApprovalResponseContent 的 STILL 才能呼叫發起工具呼叫。