AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
Describes the state of a load balancer.

Inheritance Hierarchy


Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class LoadBalancerState : Object

The LoadBalancerState type exposes the following members


Public Method LoadBalancerState()


Public Property LoadBalancerName System.String Gets and sets the property LoadBalancerName.

The name of the load balancer.

Public Property State System.String Gets and sets the property State.

One of the following load balancer states:

  • Adding - The instances in the group are being registered with the load balancer.

  • Added - All instances in the group are registered with the load balancer.

  • InService - At least one instance in the group passed an ELB health check.

  • Removing - The instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8