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

Dim instance As SoapDocumentServiceAttribute Dim value As SoapServiceRoutingStyle value = instance.RoutingStyle instance.RoutingStyle = value
public: property SoapServiceRoutingStyle RoutingStyle { SoapServiceRoutingStyle get (); void set (SoapServiceRoutingStyle value); }
/** @property */ public SoapServiceRoutingStyle get_RoutingStyle () /** @property */ public void set_RoutingStyle (SoapServiceRoutingStyle value)
public function get RoutingStyle () : SoapServiceRoutingStyle public function set RoutingStyle (value : SoapServiceRoutingStyle)
SOAP メッセージを XML Web サービスにルーティングする方法を表す SoapServiceRoutingStyle。既定値は SoapAction です。

<%@ WebService Language="VB" Class="SumService" %> Imports System Imports System.Web.Services Imports System.Web.Services.Protocols Imports System.Web.Services.Description <SoapDocumentService(SoapBindingUse.Literal, _ SoapParameterStyle.Wrapped, _ RoutingStyle := SoapServiceRoutingStyle.SoapAction)> _ Public Class SumService Inherits System.Web.Services.WebService <WebMethod> _ Public Function Add(a As Integer, b as Integer) return a + b End Function End Class
<%@ WebService Language="c#" Class="SumService" %> using System; using System.Web.Services; using System.Web.Services.Protocols; using System.Web.Services.Description; [SoapDocumentService(SoapBindingUse.Literal, SoapParameterStyle.Wrapped, RoutingStyle=SoapServiceRoutingStyle.SoapAction)] public class SumService : System.Web.Services.WebService { [WebMethod] public int Add(int a, int b) { return a + b; } }

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- SoapDocumentServiceAttribute.RoutingStyle プロパティのページへのリンク