Partager via


ServiceBusReceivedMessage.FromAmqpMessage Méthode

Définition

Construit un ServiceBusReceivedMessage à partir de son formulaire AMQP sérialisé.

public static Azure.Messaging.ServiceBus.ServiceBusReceivedMessage FromAmqpMessage (Azure.Core.Amqp.AmqpAnnotatedMessage message, BinaryData lockTokenBytes);
static member FromAmqpMessage : Azure.Core.Amqp.AmqpAnnotatedMessage * BinaryData -> Azure.Messaging.ServiceBus.ServiceBusReceivedMessage
Public Shared Function FromAmqpMessage (message As AmqpAnnotatedMessage, lockTokenBytes As BinaryData) As ServiceBusReceivedMessage

Paramètres

message
AmqpAnnotatedMessage

Message AMQP.

lockTokenBytes
BinaryData

Octets de jeton de verrou.

Retours

construit ServiceBusReceivedMessage.

S’applique à