SoapServices.GetXmlNamespaceForMethodResponse メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

Dim mb As MethodBase Dim returnValue As String returnValue = SoapServices.GetXmlNamespaceForMethodResponse(mb)
戻り値
メソッドのリモート呼び出しへの応答生成中に使用する XML 名前空間。


このメソッドを使用する方法を次のコード例に示します。このコード例は、SoapServices クラスのトピックで取り上げているコード例の一部分です。
// Print the XML namespace for a method invocation and its // response. System.Reflection.MethodBase getHelloMethod = typeof(ExampleNamespace.ExampleClass).GetMethod("GetHello"); string methodCallXmlNamespace = SoapServices.GetXmlNamespaceForMethodCall(getHelloMethod); string methodResponseXmlNamespace = SoapServices.GetXmlNamespaceForMethodResponse(getHelloMethod); Console.WriteLine( "The XML namespace for the invocation of the method " + "GetHello in ExampleClass is {0}.", methodResponseXmlNamespace); Console.WriteLine( "The XML namespace for the response of the method " + "GetHello in ExampleClass is {0}.", methodCallXmlNamespace);
// Print the XML namespace for a method invocation and its // response. System::Reflection::MethodBase^ getHelloMethod = ExampleNamespace::ExampleClass::typeid->GetMethod( L"GetHello" ); String^ methodCallXmlNamespace = SoapServices::GetXmlNamespaceForMethodCall( getHelloMethod ); String^ methodResponseXmlNamespace = SoapServices::GetXmlNamespaceForMethodResponse( getHelloMethod ); Console::WriteLine( L"The XML namespace for the invocation of the method " L"GetHello in ExampleClass is {0}.", methodResponseXmlNamespace ); Console::WriteLine( L"The XML namespace for the response of the method " L"GetHello in ExampleClass is {0}.", methodCallXmlNamespace );
// Print the XML namespace for a method invocation and its // response. System.Reflection.MethodBase getHelloMethod = ExampleNamespace. ExampleClass.class.ToType().GetMethod("GetHello"); String methodCallXmlNamespace = SoapServices. GetXmlNamespaceForMethodCall(getHelloMethod); String methodResponseXmlNamespace = SoapServices. GetXmlNamespaceForMethodResponse(getHelloMethod); Console.WriteLine("The XML namespace for the invocation of the method " + "GetHello in ExampleClass is {0}.", methodResponseXmlNamespace); Console.WriteLine("The XML namespace for the response of the method " + "GetHello in ExampleClass is {0}.", methodCallXmlNamespace);


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からSoapServices.GetXmlNamespaceForMethodResponse メソッドを検索する場合は、下記のリンクをクリックしてください。

- SoapServices.GetXmlNamespaceForMethodResponse メソッドのページへのリンク