共用方式為


Cardinality Enum

  • java.lang.Object
    • java.lang.Enum<Cardinality>
      • com.microsoft.azure.functions.annotation.Cardinality

public enum Cardinality

Cardinality of the EventHubTrigger input. Choose 'ONE' if the input is a single message or 'Many' if the input is an array of messages. 'Many' is the default if unspecified

Fields

MANY

To receive events in a batch, set cardinality to MANY. This is the default if omitted.

ONE

To receive a single message, set cardinality to ONE

Applies to