MessageBuffer.CreateMessage Method ()

 

Returns a copy of the original message.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract Message CreateMessage()

Return Value

Type: System.ServiceModel.Channels.Message

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

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.

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