System.Web.Services.Description.OperationFaultCollection.Remove Method

Removes the first occurrence of the specified System.Web.Services.Description.OperationFault from the System.Web.Services.Description.OperationFaultCollection.

Syntax

public void Remove (OperationFault operationFaultMessage)

Parameters

operationFaultMessage
The System.Web.Services.Description.OperationFault to remove from the collection.

Remarks

This method performs a linear search; therefore, the average execution time is proportional to CollectionBase.Count.

The elements that follow the removed System.Web.Services.Description.OperationFault move up to occupy the vacated spot.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0