Partage via


Instrumentation.SetBatchSize(Type, Int32) Méthode

Définition

Spécifie le nombre maximal d'objets du type spécifié pouvant être fournis à la fois.

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)

Paramètres

instrumentationClass
Type

Classe pour laquelle la taille de lot est définie.

batchSize
Int32

Nombre maximal d'objets pouvant être fournis à la fois.

Remarques

Sécurité du .NET Framework

Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d’informations, consultez Utilisation de bibliothèques à partir de code partiellement approuvé.

S’applique à