Instrumentation.SetBatchSize(Type, Int32) Método

Definição

Especifica o número máximo de objetos do tipo especificado a ser fornecido por vez.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)

Parâmetros

instrumentationClass
Type

A classe para a qual o tamanho do lote está sendo definido.The class for which the batch size is being set.

batchSize
Int32

O número máximo de objetos a serem fornecidos por vez.The maximum number of objects to be provided at a time.

Comentários

Segurança do .NET Framework.NET Framework Security

Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.

Aplica-se a