EventDataBatch(Int64) 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 batch with the specified maximum size in bytes.
public EventDataBatch (long maxSizeInBytes);
new Microsoft.ServiceBus.Messaging.EventDataBatch : int64 -> Microsoft.ServiceBus.Messaging.EventDataBatch
Public Sub New (maxSizeInBytes As Long)
Parameters
- maxSizeInBytes
- Int64
The maximum size of the serialized batch message, a value of -1 indicates the allowed buffer size is unknown.
Remarks
It is recommended to call CreateBatch() or CreateBatch() to create an instance of this class because it uses the maximum message size negotiated with the service. When the application creates a batch using the constructor, it is responsible to ensure the maxSizeInBytes is permitted by the service.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för