TriggerCallbackBody<T> Class

Definition

Inner body of the Connector Namespace trigger callback, containing the array of trigger items. Deserialization is handled by Azure.Connectors.Sdk.TriggerCallbackBodyConverterFactory which accepts both batch ({"value":[...]}) and single-item ({...item...}) JSON shapes.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Connectors.Sdk.TriggerCallbackBodyConverterFactory))]
public class TriggerCallbackBody<T>
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Connectors.Sdk.TriggerCallbackBodyConverterFactory))>]
type TriggerCallbackBody<'T> = class
Public Class TriggerCallbackBody(Of T)

Type Parameters

T

The connector-specific trigger item type.

Inheritance
TriggerCallbackBody<T>
Attributes

Constructors

Name Description
TriggerCallbackBody<T>()

Properties

Name Description
Value

The list of trigger items delivered by the connector trigger. Contains all items regardless of whether the callback arrived in batch or single-item shape. May be null when the source payload contained an explicit "value": null property (or a null body), so consumers should null-check before iterating.

Applies to