SoapDocumentServiceAttribute.RoutingStyle プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SoapDocumentServiceAttribute.RoutingStyle プロパティの意味・解説 

SoapDocumentServiceAttribute.RoutingStyle プロパティ

SOAP メッセージXML Web サービスルーティングする方法取得または設定します

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

Public Property RoutingStyle As
 SoapServiceRoutingStyle
Dim instance As SoapDocumentServiceAttribute
Dim value As SoapServiceRoutingStyle

value = instance.RoutingStyle

instance.RoutingStyle = value
public SoapServiceRoutingStyle RoutingStyle { get;
 set; }
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;
        }
    }
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapDocumentServiceAttribute クラス
SoapDocumentServiceAttribute メンバ
System.Web.Services.Protocols 名前空間



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

辞書ショートカット

すべての辞書の索引

SoapDocumentServiceAttribute.RoutingStyle プロパティのお隣キーワード
検索ランキング

   

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



SoapDocumentServiceAttribute.RoutingStyle プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS