PolicyConversionContext.GetMessageBindingAssertions Method

Definition

Gets a collection of policy assertions for a message.

C#
public abstract System.ServiceModel.Description.PolicyAssertionCollection GetMessageBindingAssertions(System.ServiceModel.Description.MessageDescription message);

Parameters

message
MessageDescription

The MessageDescription for which there are binding assertions.

Returns

A collection of policy assertions for the specified message.

Remarks

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

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