Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.26 KB

File metadata and controls

26 lines (20 loc) · 1.26 KB
author mattchenderson
ms.service azure-functions
ms.topic include
ms.date 07/10/2023
ms.author mahender

When you want the function to write a single message, the queue output binding can bind to the following types:

Type Description
string The message content as a string. Use when the message is simple text.
byte[] The bytes of the message.
JSON serializable types An object representing the content of a JSON message. Functions tries to serialize a plain-old CLR object (POCO) type into JSON data.

When you want the function to write multiple messages, the queue output binding can bind to the following types:

Type Description
T[] where T is one of the single message types An array containing content for multiple messages. Each entry represents one message.

For other output scenarios, create and use a QueueClient with other types from Azure.Storage.Queues directly. See Register Azure clients for an example of using dependency injection to create a client type from the Azure SDK.