This documentation is archived and is not being maintained.

FaultDescriptionCollection.Find Method

Returns the FaultDescription object that has the specified action value.

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public FaultDescription Find(
	string action
)

Parameters

action
Type: System.String

The value of the SOAP fault action.

Return Value

Type: System.ServiceModel.Description.FaultDescription
The FaultDescription object that has the specified action, or null. If more than one FaultDescription object has the same action, the first one in the collection is returned.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: