共用方式為


ServiceBusReceivedMessage.FromAmqpMessage 方法

定義

ServiceBusReceivedMessage從其序列化的 AMQP 表單建構 。

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

參數

message
AmqpAnnotatedMessage

AMQP 訊息。

lockTokenBytes
BinaryData

鎖定權杖位元組。

傳回

建構的 ServiceBusReceivedMessage

適用於