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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.