Freigeben über


ServiceBusReceivedMessage.FromAmqpMessage Methode

Definition

Erstellt eine ServiceBusReceivedMessage aus dem serialisierten AMQP-Formular.

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

Parameter

message
AmqpAnnotatedMessage

Die AMQP-Nachricht.

lockTokenBytes
BinaryData

Die Sperrtokenbytes.

Gibt zurück

Der erstellte ServiceBusReceivedMessage.

Gilt für: