GetMessageBindingAssertions Method
Collapse the table of content
Expand the table of content

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