Compartir vía


Clerk Constructores

Definición

Inicializa una nueva instancia de la clase Clerk.

Sobrecargas

Clerk(String, String, CompensatorOptions)

Inicializa una nueva instancia de la clase Clerk.

Clerk(Type, String, CompensatorOptions)

Inicializa una nueva instancia de la clase Clerk.

Clerk(String, String, CompensatorOptions)

Inicializa una nueva instancia de la clase Clerk.

public:
 Clerk(System::String ^ compensator, System::String ^ description, System::EnterpriseServices::CompensatingResourceManager::CompensatorOptions flags);
public Clerk (string compensator, string description, System.EnterpriseServices.CompensatingResourceManager.CompensatorOptions flags);
new System.EnterpriseServices.CompensatingResourceManager.Clerk : string * string * System.EnterpriseServices.CompensatingResourceManager.CompensatorOptions -> System.EnterpriseServices.CompensatingResourceManager.Clerk
Public Sub New (compensator As String, description As String, flags As CompensatorOptions)

Parámetros

compensator
String

Nombre del compensador.

description
String

Descripción del compensador.

flags
CompensatorOptions

Combinación bit a bit de los valores de CompensatorOptions.

Se aplica a

Clerk(Type, String, CompensatorOptions)

Inicializa una nueva instancia de la clase Clerk.

public:
 Clerk(Type ^ compensator, System::String ^ description, System::EnterpriseServices::CompensatingResourceManager::CompensatorOptions flags);
public Clerk (Type compensator, string description, System.EnterpriseServices.CompensatingResourceManager.CompensatorOptions flags);
new System.EnterpriseServices.CompensatingResourceManager.Clerk : Type * string * System.EnterpriseServices.CompensatingResourceManager.CompensatorOptions -> System.EnterpriseServices.CompensatingResourceManager.Clerk
Public Sub New (compensator As Type, description As String, flags As CompensatorOptions)

Parámetros

compensator
Type

Tipo que representa el compensador.

description
String

Descripción del compensador.

flags
CompensatorOptions

Combinación bit a bit de los valores de CompensatorOptions.

Ejemplos

En el ejemplo de código siguiente se muestra el uso de este constructor.

// Create a new clerk using the AccountCompensator class.
Clerk^ clerk = gcnew Clerk(AccountCompensator::typeid,
    "An account transaction compensator", CompensatorOptions::AllPhases);
// Create a new clerk using the AccountCompensator class.
Clerk clerk = new Clerk(typeof(AccountCompensator),
  "An account transaction compensator", CompensatorOptions.AllPhases);
' Create a new clerk using the AccountCompensator class.
Dim clerk As New Clerk(GetType(AccountCompensator), "An account transaction compensator", CompensatorOptions.AllPhases)

Se aplica a