共用方式為


CreateMessageBatchOptions interface

Sender上設定 createBatch 方法的選項。

  • maxSizeInBytes:批次大小的上限。

範例用法:

{
    maxSizeInBytes: 1024 * 1024 // 1 MB
}
Extends

屬性

maxSizeInBytes

批次大小的上限。 達到此限制之後,tryAdd 函式會傳回 false

繼承的屬性

abortSignal

可用來中止要求的訊號。

tracingOptions

啟用追蹤時所使用的選項。

屬性詳細資料

maxSizeInBytes

批次大小的上限。 達到此限制之後,tryAdd 函式會傳回 false

maxSizeInBytes?: number

屬性值

number

繼承的屬性詳細資料

abortSignal

可用來中止要求的訊號。

abortSignal?: AbortSignalLike

屬性值

繼承自 OperationOptionsBase.abortSignal

tracingOptions

啟用追蹤時所使用的選項。

tracingOptions?: OperationTracingOptions

屬性值

繼承自 OperationOptionsBase.tracingOptions