Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PolicyConversionContext::GetMessageBindingAssertions Method (MessageDescription^)

 

Gets a collection of policy assertions for a message.

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

public:
virtual PolicyAssertionCollection^ GetMessageBindingAssertions(
	MessageDescription^ message
) abstract

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:
© 2017 Microsoft