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

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

SoapDocumentServiceAttribute.ParameterStyle プロパティ

XML Web サービスXML Web サービス メソッド対すSOAP メッセージXML 部分で、<Body> 要素後に続く単一要素内にパラメータカプセル化するかどうか制御する既定設定取得または設定します

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

Public Property ParameterStyle As
 SoapParameterStyle
Dim instance As SoapDocumentServiceAttribute
Dim value As SoapParameterStyle

value = instance.ParameterStyle

instance.ParameterStyle = value
public SoapParameterStyle ParameterStyle { get;
 set; }
public:
property SoapParameterStyle ParameterStyle {
    SoapParameterStyle get ();
    void set (SoapParameterStyle value);
}
/** @property */
public SoapParameterStyle get_ParameterStyle ()

/** @property */
public void set_ParameterStyle (SoapParameterStyle
 value)
public function get ParameterStyle
 () : SoapParameterStyle

public function set ParameterStyle
 (value : SoapParameterStyle)

プロパティ
XML Web サービス内の XML Web サービス メソッドとの間で送受信される SOAP 要求SOAP 応答既定の SoapParameterStyle。この値を設定しない場合既定値Wrappedなります

使用例使用例
<%@ 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)> _
    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)]
    public class SumService : System.Web.Services.WebService
    {
        [WebMethod]
        public int Add(int
 a, int b)
        {
            return a + b;
        }
    }
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapDocumentServiceAttribute クラス
SoapDocumentServiceAttribute メンバ
System.Web.Services.Protocols 名前空間
SoapParameterStyle
その他の技術情報
SOAP メッセージ形式カスタマイズ


このページでは「.NET Framework クラス ライブラリ リファレンス」からSoapDocumentServiceAttribute.ParameterStyle プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からSoapDocumentServiceAttribute.ParameterStyle プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からSoapDocumentServiceAttribute.ParameterStyle プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS