ServiceBusReceivedMessage.FromAmqpMessage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 。