IMessageProperty Interface
Collapse the table of content
Expand the table of content

IMessageProperty Interface

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

Defines an interface that you can implement to describe a set of properties for a message.

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

public interface IMessageProperty

The IMessageProperty type exposes the following members.

Public methodCreateCopyCreates a copy of the current instance.

You can implement this interface to create a message property and attach it to the message during runtime.

If an object that implements this interface is added to Properties, it is added by value instead of by reference. After this, users of this message instance's message properties can copy this object to other messages by cloning, instead of sharing a single object across all messages.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft