EnvelopeVersion.None Propriedade

Definição

Obtém a versão de envelope que não usa uma versão do SOAP.Gets the envelope version not using a version of SOAP.

public:
 static property System::ServiceModel::EnvelopeVersion ^ None { System::ServiceModel::EnvelopeVersion ^ get(); };
public static System.ServiceModel.EnvelopeVersion None { get; }
member this.None : System.ServiceModel.EnvelopeVersion
Public Shared ReadOnly Property None As EnvelopeVersion

Valor da propriedade

EnvelopeVersion

A versão do envelope não está usando uma formatação SOAP.The envelope version not using a SOAP formatting.

Exemplos

EnvelopeVersion envNotSOAP =  EnvelopeVersion.None;
Dim envNotSOAP As EnvelopeVersion = EnvelopeVersion.None

Comentários

Se a None versão da mensagem for usada, isso significa que um envelope SOAP não será gravado e a mensagem emitirá o conteúdo do corpo.If the None message version is used this means that a SOAP envelope is not written out and the message emits the contents of the body. Isso permite que um canal de Windows Communication Foundation (WCF) se comunique com um ponto de extremidade que está esperando XML sem formatação SOAP.This enables an Windows Communication Foundation (WCF) channel to communicate with an endpoint that is expecting XML with no SOAP formatting. A carga XML reside no corpo de uma mensagem e é a única coisa emitida quando atinge o codificador.The XML payload lives in the body of a message and is the only thing emitted when it hits the encoder.

Da mesma forma, quando a parte arbitrária do XML é recebida, ela é empacotada em uma mensagem para a propagação da pilha de canais.Similarly, when the arbitrary chunk of XML is received it is wrapped up in a Message for propagation up the channel stack. Os cabeçalhos necessários são inseridos e a mensagem é processada como se fosse uma mensagem SOAP.The required headers are inserted and the message is processed as if it had been a SOAP message.

Aplica-se a