共用方式為


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/"

適用於