Instrumentation.SetBatchSize(Type, Int32) Méthode

Définition

Spécifie le nombre maximal d’objets du type spécifié à fournir à 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 du lot est définie.

batchSize
Int32

Nombre maximal d’objets à fournir à la fois.

Remarques

Sécurité du .NET Framework

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

S’applique à