你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

适用于