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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈