SoapAddressBinding.Location プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SoapAddressBinding.Location プロパティの意味・解説 

SoapAddressBinding.Location プロパティ

SoapAddressBinding を適用する Port のための URI を表す値を取得または設定します

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

使用例使用例
Dim soapPort As New Port()
soapPort.Name = "Service1Soap"
soapPort.Binding = New XmlQualifiedName("s0:Service1Soap")
' Create a 'SoapAddressBinding' object for the 'SOAP' protocol.
Dim mySoapAddressBinding As New
 SoapAddressBinding()
mySoapAddressBinding.Location = "http://localhost/Service1_vb.asmx"
' Add the 'SoapAddressBinding' object to the 'Port'.
soapPort.Extensions.Add(mySoapAddressBinding)
' Add the 'Port' object to the ServiceDescription instance.
myDescription.Services(0).Ports.Add(soapPort)
Port soapPort = new Port();
soapPort.Name = "Service1Soap";
soapPort.Binding = new XmlQualifiedName("s0:Service1Soap");
// Create a 'SoapAddressBinding' object for the 'SOAP' protocol.
SoapAddressBinding mySoapAddressBinding = 
                              new SoapAddressBinding();
mySoapAddressBinding.Location = "http://localhost/Service1_cs.asmx";
// Add the 'SoapAddressBinding' object to the 'Port'.
soapPort.Extensions.Add(mySoapAddressBinding);
// Add the 'Port' object to the ServiceDescription instance.
myDescription.Services[0].Ports.Add(soapPort);
Port^ soapPort = gcnew Port;
soapPort->Name = "Service1Soap";
soapPort->Binding = gcnew XmlQualifiedName( "s0:Service1Soap" );

// Create a 'SoapAddressBinding' object for the 'SOAP' protocol.
SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding;
mySoapAddressBinding->Location = "http://localhost/Service1_cs.asmx";

// Add the 'SoapAddressBinding' object to the 'Port'.
soapPort->Extensions->Add( mySoapAddressBinding );

// Add the 'Port' object to the ServiceDescription instance.
myDescription->Services[ 0 ]->Ports->Add( soapPort );
Port soapPort = new Port();
soapPort.set_Name("Service1Soap");
soapPort.set_Binding(new XmlQualifiedName("s0:Service1Soap"));
// Create a 'SoapAddressBinding' object for the 'SOAP' protocol.
SoapAddressBinding mySoapAddressBinding = new SoapAddressBinding();
mySoapAddressBinding.set_Location("http://localhost/Service1_jsl.asmx");
// Add the 'SoapAddressBinding' object to the 'Port'.
soapPort.get_Extensions().Add(mySoapAddressBinding);
// Add the 'Port' object to the ServiceDescription instance.
myDescription.get_Services().get_Item(0).get_Ports().Add(soapPort);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapAddressBinding クラス
SoapAddressBinding メンバ
System.Web.Services.Description 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

SoapAddressBinding.Location プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SoapAddressBinding.Location プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS