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

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

ServiceDescriptionCollection.GetMessage メソッド

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

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

Public Function GetMessage ( _
    name As XmlQualifiedName _
) As Message
Dim instance As ServiceDescriptionCollection
Dim name As XmlQualifiedName
Dim returnValue As Message

returnValue = instance.GetMessage(name)
public Message GetMessage (
    XmlQualifiedName name
)
public:
Message^ GetMessage (
    XmlQualifiedName^ name
)
public Message GetMessage (
    XmlQualifiedName name
)
public function GetMessage (
    name : XmlQualifiedName
) : Message

パラメータ

name

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

戻り値
Message

例外例外
例外種類条件

Exception

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

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

' Get the Message from the collection.
Dim myMessage As Message = myCollection.GetMessage(myXmlQualifiedName)
// Construct an XML qualified name.
XmlQualifiedName myXmlQualifiedName = 
   new XmlQualifiedName("AddSoapIn", "http://tempuri2.org/");

// Get the Message from the collection.
Message  myMessage = myCollection.GetMessage(myXmlQualifiedName);
// Construct an XML qualified name.
XmlQualifiedName^ myXmlQualifiedName =
   gcnew XmlQualifiedName( "AddSoapIn","http://tempuri2.org/"
 );

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

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



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS