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

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

Port.Extensions プロパティ

Port関連付けられている機能拡張要素コレクション取得します

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

Public Overrides ReadOnly
 Property Extensions As ServiceDescriptionFormatExtensionCollection
Dim instance As Port
Dim value As ServiceDescriptionFormatExtensionCollection

value = instance.Extensions
public override ServiceDescriptionFormatExtensionCollection Extensions
 { get; }
public:
virtual property ServiceDescriptionFormatExtensionCollection^ Extensions {
    ServiceDescriptionFormatExtensionCollection^ get () override;
}
/** @property */
public ServiceDescriptionFormatExtensionCollection get_Extensions
 ()
public override function get
 Extensions () : ServiceDescriptionFormatExtensionCollection

プロパティ
ServiceDescriptionFormatExtensionCollection。

使用例使用例
' Create a Port.
Dim postPort As New Port()
postPort.Name = "PortServiceHttpPost"
postPort.Binding = New XmlQualifiedName("s0:PortServiceHttpPost")


' Create an HttpAddressBinding.
Dim postAddressBinding As New
 HttpAddressBinding()
postAddressBinding.Location = _
   "http://localhost/PortClass/PortService.vb.asmx"

' Add the HttpAddressBinding to the Port.
postPort.Extensions.Add(postAddressBinding)
// Create a Port.
Port postPort = new Port();
postPort.Name = "PortServiceHttpPost";
postPort.Binding = new XmlQualifiedName("s0:PortServiceHttpPost");

// Create an HttpAddressBinding.
HttpAddressBinding postAddressBinding = new HttpAddressBinding();
postAddressBinding.Location = 
   "http://localhost/PortClass/PortService_cs.asmx";

// Add the HttpAddressBinding to the Port.
postPort.Extensions.Add(postAddressBinding);
// Create a Port.
Port^ postPort = gcnew Port;
postPort->Name = "PortServiceHttpPost";
postPort->Binding = gcnew XmlQualifiedName( "s0:PortServiceHttpPost"
 );

// Create an HttpAddressBinding.
HttpAddressBinding^ postAddressBinding = gcnew HttpAddressBinding;
postAddressBinding->Location = "http://localhost/PortClass/PortService_cs.asmx";

// Add the HttpAddressBinding to the Port.
postPort->Extensions->Add( postAddressBinding );
// Create a Port.
Port postPort = new Port();
postPort.set_Name("PortServiceHttpPost");
postPort.set_Binding(
    new XmlQualifiedName("s0:PortServiceHttpPost"));

// Create an HttpAddressBinding.
HttpAddressBinding postAddressBinding = new HttpAddressBinding();
postAddressBinding.set_Location(
    "http://localhost/PortClass/PortService_jsl.asmx");

// Add the HttpAddressBinding to the Port.
postPort.get_Extensions().Add(postAddressBinding);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Port クラス
Port メンバ
System.Web.Services.Description 名前空間



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS