Прочетете на английски Редактиране

Споделяне чрез


PolicyConversionContext.GetOperationBindingAssertions Method

Definition

Returns a collection of policy assertions for the specified operation.

C#
public abstract System.ServiceModel.Description.PolicyAssertionCollection GetOperationBindingAssertions(System.ServiceModel.Description.OperationDescription operation);

Parameters

operation
OperationDescription

The OperationDescription object for which policy assertions are to be added or for which bindings are to be configured.

Returns

The policy assertions for the operation.

Remarks

The collection returned from GetOperationBindingAssertions is not a copy. You can add and remove assertions as necessary.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1