Editar

Compartilhar via


PolicyConversionContext.GetFaultBindingAssertions(FaultDescription) Method

Definition

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

public:
 abstract System::ServiceModel::Description::PolicyAssertionCollection ^ GetFaultBindingAssertions(System::ServiceModel::Description::FaultDescription ^ fault);
public abstract System.ServiceModel.Description.PolicyAssertionCollection GetFaultBindingAssertions (System.ServiceModel.Description.FaultDescription fault);
abstract member GetFaultBindingAssertions : System.ServiceModel.Description.FaultDescription -> System.ServiceModel.Description.PolicyAssertionCollection
Public MustOverride Function GetFaultBindingAssertions (fault As FaultDescription) As PolicyAssertionCollection

Parameters

fault
FaultDescription

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

Returns

A collection of policy assertions for the specified SOAP fault.

Remarks

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

Applies to