IMessageProperty Interface

Definition

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

public interface IMessageProperty
Derived

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.

Methods

CreateCopy()

Creates a copy of the current instance.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
UWP 10.0