MessageVersion.Default 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 default message version used by Windows Communication Foundation (WCF).
public:
static property System::ServiceModel::Channels::MessageVersion ^ Default { System::ServiceModel::Channels::MessageVersion ^ get(); };
public static System.ServiceModel.Channels.MessageVersion Default { get; }
static member Default : System.ServiceModel.Channels.MessageVersion
Public Shared ReadOnly Property Default As MessageVersion
Property Value
The MessageVersion that uses WS-Addressing 1.0 and SOAP1.2.
Examples
MessageVersion msgVersion = MessageVersion.Default;
Dim msgVersion As MessageVersion = MessageVersion.Default
Remarks
This returns the same object as Soap12WSAddressing10.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈