共用方式為


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 傳回的集合不是複本。 您可以依需要加入及移除判斷提示。

適用於