LoadBalancingSupportedAttribute Constructors

Definitie

Initialiseert een nieuw exemplaar van de LoadBalancingSupportedAttribute klasse.

Overloads

Name Description
LoadBalancingSupportedAttribute()

Initialiseert een nieuw exemplaar van de LoadBalancingSupportedAttribute klasse, waarbij ondersteuning voor taakverdeling wordt opgegeven.

LoadBalancingSupportedAttribute(Boolean)

Initialiseert een nieuw exemplaar van de LoadBalancingSupportedAttribute klasse, optioneel het uitschakelen van ondersteuning voor taakverdeling.

LoadBalancingSupportedAttribute()

Initialiseert een nieuw exemplaar van de LoadBalancingSupportedAttribute klasse, waarbij ondersteuning voor taakverdeling wordt opgegeven.

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

Voorbeelden

In het volgende codevoorbeeld wordt een nieuwe LoadBalancingSupportedAttributegemaakt.

[LoadBalancingSupported]
public class LoadBalancingSupportedAttribute_Ctor : ServicedComponent
{
}
<LoadBalancingSupported()>  _
Public Class LoadBalancingSupportedAttribute_Ctor
    Inherits ServicedComponent
End Class

Van toepassing op

LoadBalancingSupportedAttribute(Boolean)

Initialiseert een nieuw exemplaar van de LoadBalancingSupportedAttribute klasse, optioneel het uitschakelen van ondersteuning voor taakverdeling.

public:
 LoadBalancingSupportedAttribute(bool val);
public LoadBalancingSupportedAttribute(bool val);
new System.EnterpriseServices.LoadBalancingSupportedAttribute : bool -> System.EnterpriseServices.LoadBalancingSupportedAttribute
Public Sub New (val As Boolean)

Parameters

val
Boolean

true voor het inschakelen van taakverdelingsondersteuning; anders, false.

Voorbeelden

In het volgende codevoorbeeld wordt een nieuwe LoadBalancingSupportedAttributegemaakt.

[LoadBalancingSupported(false)]
public class LoadBalancingSupportedAttribute_Ctor_Bool : ServicedComponent
{
}
<LoadBalancingSupported(False)>  _
Public Class LoadBalancingSupportedAttribute_Ctor_Bool
    Inherits ServicedComponent
End Class

Van toepassing op