IMessageProperty Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Interface IMessageProperty
public interface IMessageProperty

The IMessageProperty type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone CreateCopy Creates a copy of the current instance.

Top

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.