SoapBinding.HttpTransport 字段

定义

获取指定 SOAP 数据的 HTTP 传输的标准协议的 URI。 此字段为常数。

public: System::String ^ HttpTransport;
public const string HttpTransport;
val mutable HttpTransport : string
Public Const HttpTransport As String 

字段值

String

示例

SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = SoapBinding::HttpTransport;
mySoapBinding->Style = SoapBindingStyle::Document;
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = SoapBinding.HttpTransport;
mySoapBinding.Style = SoapBindingStyle.Document;
Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = SoapBinding.HttpTransport
mySoapBinding.Style = SoapBindingStyle.Document

注解

字段值为 "http://schemas.xmlsoap.org/soap/http/".

适用于