ConnectorConverter<T> Class
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.
C#
public abstract class ConnectorConverter<T> : System.Text.Json.Serialization.JsonConverter<T> where T : new()
type ConnectorConverter<'T (requires 'T : (new : unit -> 'T))> = class
inherit JsonConverter<'T (requires 'T : (new : unit -> 'T))>
Public MustInherit Class ConnectorConverter(Of T)
Inherits JsonConverter(Of T)
- T
- Inheritance
-
ConnectorConverter<T>
Read(Utf8Json |
|
Read |
|
Set |
|
Set |
This is to handle 'object' type properties that must conform to the original BF SDK handling. A simple type (string, int, etc...) is set as the value. Complex objects are of type 'JsonElement'. |
Try |
|
Try |
Handle undefined properties in JSON without the need for the JsonExtensionData annotation. |
Try |
|
Try |
Handle undefined properties in JSON without the need for the JsonExtensionData annotation. |
Write(Utf8Json |
Product | Versions |
---|---|
Microsoft 365 Agents SDK .NET | 1 |