PolicyConversionContext.GetFaultBindingAssertions(FaultDescription) Method

Definition

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

C#
public abstract System.ServiceModel.Description.PolicyAssertionCollection GetFaultBindingAssertions(System.ServiceModel.Description.FaultDescription fault);

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

Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1