PolicyConversionContext.GetMessageBindingAssertions 方法

定义

获取消息的策略断言的集合。

public:
 abstract System::ServiceModel::Description::PolicyAssertionCollection ^ GetMessageBindingAssertions(System::ServiceModel::Description::MessageDescription ^ message);
public abstract System.ServiceModel.Description.PolicyAssertionCollection GetMessageBindingAssertions (System.ServiceModel.Description.MessageDescription message);
abstract member GetMessageBindingAssertions : System.ServiceModel.Description.MessageDescription -> System.ServiceModel.Description.PolicyAssertionCollection
Public MustOverride Function GetMessageBindingAssertions (message As MessageDescription) As PolicyAssertionCollection

参数

message
MessageDescription

拥有绑定断言的 MessageDescription

返回

PolicyAssertionCollection

指定消息的策略断言的集合。

注解

GetMessageBindingAssertions 返回的集合不是副本。 您可以在必要时添加和移除断言。

适用于