共用方式為


PolicyConversionContext.GetOperationBindingAssertions 方法

定義

傳回指定之作業的原則判斷提示的集合。

public:
 abstract System::ServiceModel::Description::PolicyAssertionCollection ^ GetOperationBindingAssertions(System::ServiceModel::Description::OperationDescription ^ operation);
public abstract System.ServiceModel.Description.PolicyAssertionCollection GetOperationBindingAssertions (System.ServiceModel.Description.OperationDescription operation);
abstract member GetOperationBindingAssertions : System.ServiceModel.Description.OperationDescription -> System.ServiceModel.Description.PolicyAssertionCollection
Public MustOverride Function GetOperationBindingAssertions (operation As OperationDescription) As PolicyAssertionCollection

參數

operation
OperationDescription

要加入原則判斷提示或要設定繫結的 OperationDescription 物件。

傳回

PolicyAssertionCollection

作業的原則判斷提示。

備註

GetOperationBindingAssertions 傳回的集合不是複本。 您可以依需要加入及移除判斷提示。

適用於