PolicyConversionContext::GetMessageBindingAssertions Method (MessageDescription^)
.NET Framework (current version)
Gets a collection of policy assertions for a message.
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
Available since 3.0
Show: