Message.State Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the current state of this Message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.ServiceModel.Channels.MessageStateA MessageState that contains the current state of this Message.
Because the body of a Message object is a stream, it can only be read or written once. This is enforced by maintaining the current state of the Message object. A Message object can be read, written, or copied when in the Created state. Other states are Read, Written and Copied, which means that the respective action has been performed already once.