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

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

ServiceDescriptionCollection.GetService メソッド

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

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

Public Function GetService ( _
    name As XmlQualifiedName _
) As Service
Dim instance As ServiceDescriptionCollection
Dim name As XmlQualifiedName
Dim returnValue As Service

returnValue = instance.GetService(name)
public Service GetService (
    XmlQualifiedName name
)
public:
Service^ GetService (
    XmlQualifiedName^ name
)
public Service GetService (
    XmlQualifiedName name
)
public function GetService (
    name : XmlQualifiedName
) : Service

パラメータ

name

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

戻り値
Service

例外例外
例外種類条件

Exception

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

使用例使用例
' Construct an XML qualified name.
Dim myXmlQualifiedName As _
   New XmlQualifiedName("MathService",
 "http://tempuri2.org/")

' Get the Service from the collection.
Dim myService As Service = myCollection.GetService(myXmlQualifiedName)
// Construct an XML qualified name.
XmlQualifiedName myXmlQualifiedName = 
   new XmlQualifiedName("MathService", "http://tempuri2.org/");

// Get the Service from the collection.
Service myService = myCollection.GetService(myXmlQualifiedName);
// Construct an XML qualified name.
XmlQualifiedName^ myXmlQualifiedName =
   gcnew XmlQualifiedName( "MathService","http://tempuri2.org/"
 );

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

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


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS