Message.State Propriedade
Definição
public:
property System::ServiceModel::Channels::MessageState State { System::ServiceModel::Channels::MessageState get(); };
public System.ServiceModel.Channels.MessageState State { get; }
member this.State : System.ServiceModel.Channels.MessageState
Public ReadOnly Property State As MessageState
Valor da propriedade
Um MessageState que contém o estado atual disso Message .A MessageState that contains the current state of this Message.
Comentários
Como o corpo de um Message objeto é um fluxo, ele só pode ser lido ou gravado uma vez.Because the body of a Message object is a stream, it can only be read or written once. Isso é imposto mantendo o estado atual do Message objeto.This is enforced by maintaining the current state of the Message object. Um Message objeto pode ser lido, gravado ou copiado quando estiver no Created estado.A Message object can be read, written, or copied when in the Created state. Outros Estados são Read Written e Copied , o que significa que a respectiva ação já foi executada uma vez.Other states are Read, Written and Copied, which means that the respective action has been performed already once.