EventHubDataAdapter.EncodeMessageIntoSegment Method

Definition

protected virtual ArraySegment<byte> EncodeMessageIntoSegment (Azure.Messaging.EventHubs.EventData queueMessage, Func<int,ArraySegment<byte>> getSegment);
abstract member EncodeMessageIntoSegment : Azure.Messaging.EventHubs.EventData * Func<int, ArraySegment<byte>> -> ArraySegment<byte>
override this.EncodeMessageIntoSegment : Azure.Messaging.EventHubs.EventData * Func<int, ArraySegment<byte>> -> ArraySegment<byte>
Protected Overridable Function EncodeMessageIntoSegment (queueMessage As EventData, getSegment As Func(Of Integer, ArraySegment(Of Byte))) As ArraySegment(Of Byte)

Parameters

queueMessage
EventData
getSegment
Func<Int32,ArraySegment<Byte>>

Returns

Applies to