ServiceDescriptionCollection.GetPortType メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ServiceDescriptionCollection.GetPortType メソッドの意味・解説 

ServiceDescriptionCollection.GetPortType メソッド

ServiceDescriptionCollection を検索し、そのコレクション格納されている ServiceDescription インスタンスいずれかメンバである、指定した名前の PortType返します

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

Public Function GetPortType ( _
    name As XmlQualifiedName _
) As PortType
Dim instance As ServiceDescriptionCollection
Dim name As XmlQualifiedName
Dim returnValue As PortType

returnValue = instance.GetPortType(name)
public PortType GetPortType (
    XmlQualifiedName name
)
public:
PortType^ GetPortType (
    XmlQualifiedName^ name
)
public PortType GetPortType (
    XmlQualifiedName name
)
public function GetPortType (
    name : XmlQualifiedName
) : PortType

パラメータ

name

参照渡しされた XmlQualifiedName。この Name プロパティは、返された PortType で共有されます。

戻り値
PortType

例外例外
例外種類条件

Exception

指定した PortType は、コレクション内のどの ServiceDescription インスタンスメンバでもありません。

使用例使用例
' Construct an XML qualified name.
Dim myXmlQualifiedName As _
   New XmlQualifiedName("MathServiceSoap",
 "http://tempuri2.org/")
' Get the PortType from the collection.
Dim myPort As PortType = myCollection.GetPortType(myXmlQualifiedName)
// Construct an XML qualified name.
XmlQualifiedName myXmlQualifiedName = 
   new XmlQualifiedName("MathServiceSoap","http://tempuri2.org/");
// Get the PortType from the collection.
PortType myPort = myCollection.GetPortType(myXmlQualifiedName);
// Construct an XML qualified name.
XmlQualifiedName^ myXmlQualifiedName =
   gcnew XmlQualifiedName( "MathServiceSoap","http://tempuri2.org/"
 );

// Get the PortType from the collection.
myCollection->GetPortType( myXmlQualifiedName );
// Construct an XML qualified name.
XmlQualifiedName myXmlQualifiedName = 
    new XmlQualifiedName("MathServiceSoap", "http://tempuri2.org/");

// Get the PortType from the collection.
PortType myPort = myCollection.GetPortType(myXmlQualifiedName);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ServiceDescriptionCollection クラス
ServiceDescriptionCollection メンバ
System.Web.Services.Description 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からServiceDescriptionCollection.GetPortType メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からServiceDescriptionCollection.GetPortType メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からServiceDescriptionCollection.GetPortType メソッド を検索

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

辞書ショートカット

すべての辞書の索引

ServiceDescriptionCollection.GetPortType メソッドのお隣キーワード
検索ランキング

   

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



ServiceDescriptionCollection.GetPortType メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS