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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour