Edit

Share via


MessageBuffer.CreateMessage Method

Definition

Returns a copy of the original message.

public:
 abstract System::ServiceModel::Channels::Message ^ CreateMessage();
public abstract System.ServiceModel.Channels.Message CreateMessage ();
abstract member CreateMessage : unit -> System.ServiceModel.Channels.Message
Public MustOverride Function CreateMessage () As Message

Returns

An identical copy of the original Message instance you previously provided to the CreateBufferedCopy(Int32) method of a Message instance.

Remarks

Calling this method creates an identical copy of the original Message instance you previously provided to the CreateBufferedCopy method of a Message instance. You can then save the message to a durable storage.

Applies to