Clerk Costruttori

Definizione

Inizializza una nuova istanza della classe Clerk.

Overload

Clerk(String, String, CompensatorOptions)

Inizializza una nuova istanza della classe Clerk.

Clerk(Type, String, CompensatorOptions)

Inizializza una nuova istanza della classe Clerk.

Clerk(String, String, CompensatorOptions)

Inizializza una nuova istanza della classe 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)

Parametri

compensator
String

Il nome della classe Compensator.

description
String

La descrizione della classe Compensator.

flags
CompensatorOptions

Combinazione bit per bit dei valori di CompensatorOptions.

Si applica a

Clerk(Type, String, CompensatorOptions)

Inizializza una nuova istanza della classe 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)

Parametri

compensator
Type

Tipo che rappresenta la classe Compensator.

description
String

La descrizione della classe Compensator.

flags
CompensatorOptions

Combinazione bit per bit dei valori di CompensatorOptions.

Esempio

Nell'esempio di codice seguente viene illustrato l'uso di questo costruttore.

// 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)

Si applica a