PolicyConversionContext.GetFaultBindingAssertions(FaultDescription) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.