Redigera

Dela via


Instrumentation.SetBatchSize(Type, Int32) Method

Definition

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

public:
 static void SetBatchSize(Type ^ instrumentationClass, int batchSize);
public static void SetBatchSize (Type instrumentationClass, int batchSize);
static member SetBatchSize : Type * int -> unit
Public Shared Sub SetBatchSize (instrumentationClass As Type, batchSize As Integer)

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