AmqpMessageBody.TryGetData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Try to get the data sections for the AMQP message body.
public bool TryGetData(out System.Collections.Generic.IEnumerable<ReadOnlyMemory<byte>>? data);
member this.TryGetData : seq -> bool
Public Function TryGetData (ByRef data As IEnumerable(Of ReadOnlyMemory(Of Byte))) As Boolean
Parameters
- data
- IEnumerable<ReadOnlyMemory<Byte>>
If the AmqpMessageBody instance is Data, this will be populated with the data sections for the message.
Returns
True if the AmqpMessageBody instance is Data.