EnvelopeVersion.None Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
static member None : System.ServiceModel.EnvelopeVersion
Public Shared ReadOnly Property None As EnvelopeVersion
Property Value
The envelope version not using a SOAP formatting.
Examples
EnvelopeVersion envNotSOAP = EnvelopeVersion.None;
Dim envNotSOAP As EnvelopeVersion = EnvelopeVersion.None
Remarks
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. This enables an Windows Communication Foundation (WCF) channel to communicate with an endpoint that is expecting XML with no SOAP formatting. The XML payload lives in the body of a message and is the only thing emitted when it hits the encoder.
Similarly, when the arbitrary chunk of XML is received it is wrapped up in a Message for propagation up the channel stack. The required headers are inserted and the message is processed as if it had been a SOAP message.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기