อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


Instrumentation.SetBatchSize(Type, Int32) Method

Definition

Specifies the maximum number of objects of the specified type to be provided at a time.

C#
public static void SetBatchSize(Type instrumentationClass, int batchSize);

Parameters

instrumentationClass
Type

The class for which the batch size is being set.

batchSize
Int32

The maximum number of objects to be provided at a time.

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1