LoadBalancingSupportedAttribute Constructors

Definition

Initializes a new instance of the LoadBalancingSupportedAttribute class.

Overloads

LoadBalancingSupportedAttribute()

Initializes a new instance of the LoadBalancingSupportedAttribute class, specifying load balancing support.

LoadBalancingSupportedAttribute(Boolean)

Initializes a new instance of the LoadBalancingSupportedAttribute class, optionally disabling load balancing support.

LoadBalancingSupportedAttribute()

Initializes a new instance of the LoadBalancingSupportedAttribute class, specifying load balancing support.

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

Examples

The following code example creates a new LoadBalancingSupportedAttribute.

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

Applies to

LoadBalancingSupportedAttribute(Boolean)

Initializes a new instance of the LoadBalancingSupportedAttribute class, optionally disabling load balancing support.

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 to enable load balancing support; otherwise, false.

Examples

The following code example creates a new LoadBalancingSupportedAttribute.

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

Applies to