PolicyConversionContext.GetMessageBindingAssertions Method (MessageDescription)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a collection of policy assertions for a message.

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

public abstract PolicyAssertionCollection GetMessageBindingAssertions(
	MessageDescription message
)

Parameters

message
Type: System.ServiceModel.Description.MessageDescription

The MessageDescription for which there are binding assertions.

Return Value

Type: System.ServiceModel.Description.PolicyAssertionCollection

A collection of policy assertions for the specified message.

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

.NET Framework
Available since 3.0
Return to top
Show: