EventDataBatch(Int64, String) Constructor
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.
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