Properties Property
Collapse the table of content
Expand the table of content

Message.Properties Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When overridden in a derived class, gets a set of processing-level annotations to the message.

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

public abstract MessageProperties Properties { get; }

Property Value

Type: System.ServiceModel.Channels.MessageProperties
A MessageProperties that contains a set of processing-level annotations to the message.

ExceptionCondition
ObjectDisposedException

The message has been disposed of.

Because information in headers is transmitted on the wire, an entity that examines a header must support the underlying version(s) of the protocols used by the header. However, properties provide a more version-independent way of annotating a message.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft