共用方式為


EventDataBatch(Int64, String) Constructor

Definition

Creates a new EventDataBatch.

public EventDataBatch (long maxSizeInBytes, string partitionKey = default);
new Microsoft.Azure.EventHubs.EventDataBatch : int64 * string -> Microsoft.Azure.EventHubs.EventDataBatch
Public Sub New (maxSizeInBytes As Long, Optional partitionKey As String = Nothing)

Parameters

maxSizeInBytes
Int64

The maximum size allowed for the batch

partitionKey
String

Partition key associated with the batch

Applies to