แก้ไข

แชร์ผ่าน


MessageVersion.Default Property

Definition

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