MessageBuffer.CreateMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk