Instrumentation.SetBatchSize(Type, Int32) Method
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.
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.