This documentation is archived and is not being maintained.

ServiceDescriptionCollection Methods

The methods of the ServiceDescriptionCollection class are listed here. For a complete list of ServiceDescriptionCollection class members, see the ServiceDescriptionCollection Members topic.

Public Methods

public methodAdd Adds the specified ServiceDescription to the end of the ServiceDescriptionCollection.
public methodClear (inherited from CollectionBase) Removes all objects from the CollectionBase instance.
public methodContains Returns a value indicating whether the specified ServiceDescription is a member of the collection.
public methodCopyTo Copies the entire ServiceDescriptionCollection to a one-dimensional array of type ServiceDescription, starting at the specified zero-based index of the target array.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetBinding Searches the ServiceDescriptionCollection and returns the Binding with the specified name that is a member of one of the ServiceDescription instances contained in the collection.
public methodGetEnumerator (inherited from CollectionBase) Returns an enumerator that can iterate through the CollectionBase instance.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetMessage Searches the ServiceDescriptionCollection and returns the Message with the specified name that is a member of one of the ServiceDescription instances contained in the collection.
public methodGetPortType Searches the ServiceDescriptionCollection and returns the PortType with the specified name that is a member of one of the ServiceDescription instances contained in the collection.
public methodGetService Searches the ServiceDescriptionCollection and returns the Service with the specified name that is a member of one of the ServiceDescription instances contained in the collection.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIndexOf Searches for the specified ServiceDescription and returns the zero-based index of the first occurrence within the collection.
public methodInsert Adds the specified ServiceDescription instance to the ServiceDescriptionCollection at the specified zero-based index.
public methodRemove Removes the first occurrence of the specified ServiceDescription from the collection.
public methodRemoveAt (inherited from CollectionBase) Removes the element at the specified index of the CollectionBase instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetKey Overridden. Returns the TargetNamespace property of the ServiceDescription associated with the value passed by reference.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnClear (inherited from ServiceDescriptionBaseCollection) Overridden. Clears the contents of the ServiceDescriptionBaseCollection instance.
protected methodOnClearComplete (inherited from CollectionBase) Performs additional custom processes after clearing the contents of the CollectionBase instance.
protected methodOnInsert (inherited from CollectionBase) Performs additional custom processes before inserting a new element into the CollectionBase instance.
protected methodOnInsertComplete (inherited from ServiceDescriptionBaseCollection) Overridden. Performs additional custom processes after inserting a new element into the ServiceDescriptionBaseCollection.
protected methodOnRemove (inherited from ServiceDescriptionBaseCollection) Overridden. Removes an element from the ServiceDescriptionBaseCollection.
protected methodOnRemoveComplete (inherited from CollectionBase) Performs additional custom processes after removing an element from the CollectionBase instance.
protected methodOnSet (inherited from ServiceDescriptionBaseCollection) Overridden. Replaces one value with another within the ServiceDescriptionBaseCollection.
protected methodOnSetComplete (inherited from CollectionBase) Performs additional custom processes after setting a value in the CollectionBase instance.
protected methodOnValidate (inherited from CollectionBase) Performs additional custom processes when validating a value.
protected methodSetParent (inherited from ServiceDescriptionBaseCollection) Sets the parent object of the ServiceDescriptionBaseCollection instance.

See Also

ServiceDescriptionCollection Class | System.Web.Services.Description Namespace

Show: