EventHubDataAdapter.EncodeMessageIntoSegment 方法

定义

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)

参数

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

返回

适用于