ServiceDescriptionCollection.GetMessage(XmlQualifiedName) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ServiceDescriptionCollectionを検索し、コレクションに含まれるMessage インスタンスのメンバーである指定した名前のServiceDescriptionを返します。
public:
System::Web::Services::Description::Message ^ GetMessage(System::Xml::XmlQualifiedName ^ name);
public System.Web.Services.Description.Message GetMessage(System.Xml.XmlQualifiedName name);
member this.GetMessage : System.Xml.XmlQualifiedName -> System.Web.Services.Description.Message
Public Function GetMessage (name As XmlQualifiedName) As Message
パラメーター
- name
- XmlQualifiedName
XmlQualifiedName プロパティが返されたNameによって共有される、参照渡しのMessage。
返品
指定した名前のメッセージ。
例外
指定した Message は、コレクション内の ServiceDescription インスタンスのメンバーではありません。
例
// 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);
' 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)