Share via


RoleInstanceCollection Members

Include Protected Members
Include Inherited Members

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

The RoleInstanceCollection type exposes the following members.

Constructors

  Name Description
Public method RoleInstanceCollection()
Initializes a new instance of the RoleInstanceCollection class
Public method RoleInstanceCollection(IList<RoleInstance>)
Initializes a new instance of the RoleInstanceCollection class

Methods

  Name Description
Public method Add
Adds an object to the end of the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Public method Clear
Removes all elements from the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Protected method ClearItems
Removes all elements from the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Public method Contains
Determines whether an element is in the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Public method CopyTo
Copies the entire Collection<T> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<RoleInstance>.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Returns an enumerator that iterates through the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<T>.
(Inherited from Collection<RoleInstance>.)
Public method Insert
Inserts an element into the Collection<T> at the specified index.
(Inherited from Collection<RoleInstance>.)
Protected method InsertItem
Inserts an element into the Collection<T> at the specified index.
(Inherited from Collection<RoleInstance>.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Remove
Removes the first occurrence of a specific object from the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Public method RemoveAt
Removes the element at the specified index of the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Protected method RemoveItem
Removes the element at the specified index of the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Protected method SetItem
Replaces the element at the specified index.
(Inherited from Collection<RoleInstance>.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Count
Gets the number of elements actually contained in the Collection<T>.
(Inherited from Collection<RoleInstance>.)
Public property Item
Gets or sets the element at the specified index.
(Inherited from Collection<RoleInstance>.)
Protected property Items
Gets a IList<T> wrapper around the Collection<T>.
(Inherited from Collection<RoleInstance>.)

See Also

RoleInstanceCollection Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.ServiceManagement.Contracts Namespace