SoapRpcMethodAttribute.RequestNamespace プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As SoapRpcMethodAttribute Dim value As String value = instance.RequestNamespace instance.RequestNamespace = value
/** @property */ public String get_RequestNamespace () /** @property */ public void set_RequestNamespace (String value)
public function get RequestNamespace () : String public function set RequestNamespace (value : String)
XML Web サービス メソッドに対する SOAP 要求に関連付けられている XML 名前空間。既定値は http://tempuri.org/ です。

RequestNamespace プロパティを http://www.contoso.com に設定するコード例を次に示します。
<%@ WebService Language="VB" Class="SoapRpcMethodSample" %> Imports System.Web.Services Imports System.Web.Services.Protocols Public Class SoapRpcMethodSample <WebMethod(),SoapRpcMethod(RequestNamespace :="http://www.contoso.com",RequestElementName := "MyCustomRequestElement")> _ Public Function RequestRpc(numentries as Integer) As Integer() Dim intarray(numentries - 1) as Integer Dim i as Integer For i = 0 To numentries - 1 intarray(i) = i Next Return intarray End Function End Class
<%@ WebService Language="C#" Class="SoapRpcMethodSample" %> using System.Web.Services; using System.Web.Services.Protocols; public class SoapRpcMethodSample { [WebMethod] [SoapRpcMethod(RequestNamespace="http://www.contoso.com" ,RequestElementName="MyCustomRequestElement")] public int[] RequestRpc(int numentries) { int[] intarray = new int[numentries]; for (int i=0;i<numentries;i++) { intarray[i] = i; } return intarray; } }

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


Weblioに収録されているすべての辞書からSoapRpcMethodAttribute.RequestNamespace プロパティを検索する場合は、下記のリンクをクリックしてください。

- SoapRpcMethodAttribute.RequestNamespace プロパティのページへのリンク