Stores an entire Message into a memory buffer for future access.
Assemblies: System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
System.ServiceModel (in System.ServiceModel.dll)
The body of a Message instance can only be accessed or written once. If you want to access a Message instance more than once, you should use the MessageBuffer class to completely store an entire Message instance into memory. A MessageBuffer instance is constructed by calling of a Message instance.