IMessageProperty Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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


Creates 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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top