語言

AIFunctionFactoryOptions.SerializerOptions 屬性

定義

取得或設定用於管理傳遞給底層代理的 .NET 值的 JsonSerializerOptions。

public:
 property System::Text::Json::JsonSerializerOptions ^ SerializerOptions { System::Text::Json::JsonSerializerOptions ^ get(); void set(System::Text::Json::JsonSerializerOptions ^ value); };
public System.Text.Json.JsonSerializerOptions? SerializerOptions { get; set; }
member this.SerializerOptions : System.Text.Json.JsonSerializerOptions with get, set
Public Property SerializerOptions As JsonSerializerOptions

屬性值

備註

若未指定值,則會使用該 DefaultOptions 實例。

函式參數綁定器會遵守此UnmappedMemberHandling設定:當設定為 Disallow時,若所提供的 AIFunctionArguments 鍵數不對應底層方法的可綁定參數,則會呼叫產生AIFunction的拋出。

適用於