SynchronizationAttribute Construtores

Definição

Inicializa uma nova instância da classe SynchronizationAttribute.Initializes a new instance of the SynchronizationAttribute class.

Sobrecargas

SynchronizationAttribute()

Inicializa uma nova instância da classe SynchronizationAttribute com valores padrão.Initializes a new instance of the SynchronizationAttribute class with default values.

SynchronizationAttribute(Boolean)

Inicializa uma nova instância da classe SynchronizationAttribute com um valor booliano que indica se a reentrada é necessária.Initializes a new instance of the SynchronizationAttribute class with a Boolean value indicating whether reentry is required.

SynchronizationAttribute(Int32)

Inicializa uma nova instância da classe SynchronizationAttribute com um sinalizador que indica o comportamento do objeto ao qual esse atributo é aplicado.Initializes a new instance of the SynchronizationAttribute class with a flag indicating the behavior of the object to which this attribute is applied.

SynchronizationAttribute(Int32, Boolean)

Inicializa uma nova instância da classe SynchronizationAttribute com um sinalizador que indica o comportamento do objeto ao qual esse atributo é aplicado e um valor booliano que indica se a reentrada é necessária.Initializes a new instance of the SynchronizationAttribute class with a flag indicating the behavior of the object to which this attribute is applied, and a Boolean value indicating whether reentry is required.

SynchronizationAttribute()

Inicializa uma nova instância da classe SynchronizationAttribute com valores padrão.Initializes a new instance of the SynchronizationAttribute class with default values.

public:
 SynchronizationAttribute();
public SynchronizationAttribute ();
Public Sub New ()

Aplica-se a

SynchronizationAttribute(Boolean)

Inicializa uma nova instância da classe SynchronizationAttribute com um valor booliano que indica se a reentrada é necessária.Initializes a new instance of the SynchronizationAttribute class with a Boolean value indicating whether reentry is required.

public:
 SynchronizationAttribute(bool reEntrant);
public SynchronizationAttribute (bool reEntrant);
new System.Runtime.Remoting.Contexts.SynchronizationAttribute : bool -> System.Runtime.Remoting.Contexts.SynchronizationAttribute
Public Sub New (reEntrant As Boolean)

Parâmetros

reEntrant
Boolean

Um valor booliano que indica se uma reentrada é necessária.A Boolean value indicating whether reentry is required.

Comentários

Se a reentrada for necessária, os textos explicativos fora do Context para o qual o atributo atual é aplicado devem ser interceptados e serializados.If reentry is required, callouts out of the Context to which the current attribute is applied must be intercepted and serialized.

Aplica-se a

SynchronizationAttribute(Int32)

Inicializa uma nova instância da classe SynchronizationAttribute com um sinalizador que indica o comportamento do objeto ao qual esse atributo é aplicado.Initializes a new instance of the SynchronizationAttribute class with a flag indicating the behavior of the object to which this attribute is applied.

public:
 SynchronizationAttribute(int flag);
public SynchronizationAttribute (int flag);
new System.Runtime.Remoting.Contexts.SynchronizationAttribute : int -> System.Runtime.Remoting.Contexts.SynchronizationAttribute
Public Sub New (flag As Integer)

Parâmetros

flag
Int32

Um valor inteiro que indica o comportamento do objeto ao qual esse atributo é aplicado.An integer value indicating the behavior of the object to which this attribute is applied.

Exceções

O parâmetro flag não era um dos sinalizadores definidos.The flag parameter was not one of the defined flags.

Comentários

O flag parâmetro deve ser NOT_SUPPORTED , SUPPORTED , REQUIRED ou REQUIRES_NEW .The flag parameter must be either NOT_SUPPORTED, SUPPORTED, REQUIRED, or REQUIRES_NEW.

Aplica-se a

SynchronizationAttribute(Int32, Boolean)

Inicializa uma nova instância da classe SynchronizationAttribute com um sinalizador que indica o comportamento do objeto ao qual esse atributo é aplicado e um valor booliano que indica se a reentrada é necessária.Initializes a new instance of the SynchronizationAttribute class with a flag indicating the behavior of the object to which this attribute is applied, and a Boolean value indicating whether reentry is required.

public:
 SynchronizationAttribute(int flag, bool reEntrant);
public SynchronizationAttribute (int flag, bool reEntrant);
new System.Runtime.Remoting.Contexts.SynchronizationAttribute : int * bool -> System.Runtime.Remoting.Contexts.SynchronizationAttribute
Public Sub New (flag As Integer, reEntrant As Boolean)

Parâmetros

flag
Int32

Um valor inteiro que indica o comportamento do objeto ao qual esse atributo é aplicado.An integer value indicating the behavior of the object to which this attribute is applied.

reEntrant
Boolean

true se a reentrada for necessária e os textos explicativos precisarem ser interceptados e serializados, caso contrário, false.true if reentry is required, and callouts must be intercepted and serialized; otherwise, false.

Exceções

O parâmetro flag não era um dos sinalizadores definidos.The flag parameter was not one of the defined flags.

Comentários

O flag parâmetro deve ser NOT_SUPPORTED , SUPPORTED , REQUIRED ou REQUIRES_NEW .The flag parameter must be either NOT_SUPPORTED, SUPPORTED, REQUIRED, or REQUIRES_NEW.

Aplica-se a