共用方式為


MessageVersion.Soap12 屬性

定義

取得使用 SOAP 1.2 的訊息版本。

public:
 static property System::ServiceModel::Channels::MessageVersion ^ Soap12 { System::ServiceModel::Channels::MessageVersion ^ get(); };
public static System.ServiceModel.Channels.MessageVersion Soap12 { get; }
static member Soap12 : System.ServiceModel.Channels.MessageVersion
Public Shared ReadOnly Property Soap12 As MessageVersion

屬性值

使用 SOAP 1.2 但未使用任何 WS-Addressing 版本的 MessageVersion

範例

msgVersion = MessageVersion.Soap12;
msgVersion = MessageVersion.Soap12

適用於