PolicyConversionContext.GetFaultBindingAssertions Method (FaultDescription)

 

Returns a collection of policy assertions for the specified SOAP fault.

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

public abstract PolicyAssertionCollection GetFaultBindingAssertions(
	FaultDescription fault
)

Parameters

fault
Type: System.ServiceModel.Description.FaultDescription

The FaultDescription object for which policy assertions are to be added or for which bindings are to be configured.

Return Value

Type: System.ServiceModel.Description.PolicyAssertionCollection

A collection of policy assertions for the specified SOAP fault.

The collection returned from GetFaultBindingAssertions is not a copy. You can add and remove assertions as necessary.

.NET Framework
Available since 3.0
Return to top
Show: