PolicyConversionContext.GetOperationBindingAssertions Method (OperationDescription)

 

Returns a collection of policy assertions for the specified operation.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract PolicyAssertionCollection GetOperationBindingAssertions(
	OperationDescription operation
)

Parameters

operation
Type: System.ServiceModel.Description.OperationDescription

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

Return Value

Type: System.ServiceModel.Description.PolicyAssertionCollection

The policy assertions for the operation.

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

.NET Framework
Available since 3.0
Return to top
Show: