Message.Version 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.
When overridden in a derived class, gets the SOAP version of the message.
public:
abstract property System::ServiceModel::Channels::MessageVersion ^ Version { System::ServiceModel::Channels::MessageVersion ^ get(); };
public abstract System.ServiceModel.Channels.MessageVersion Version { get; }
member this.Version : System.ServiceModel.Channels.MessageVersion
Public MustOverride ReadOnly Property Version As MessageVersion
Property Value
A MessageVersion object that represents the SOAP version.
Exceptions
The message has been disposed of.
Remarks
This value is immutable for the message. There are two possible values for the version: Soap11 and Soap12 that correspond to SOAP 1.1 and SOAP 1.2 respectively.
Knowing the underlying SOAP version is important because the structure of Message is firmly correlated with that of a SOAP message.
Important
Inheritors must note that when overridden in a derived class, this method returns a MessageVersion object for the SOAP version of the message.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기