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

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

SoapOperationBinding.SoapAction プロパティ

SOAP ヘッダーURI取得または設定します

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

Dim instance As SoapOperationBinding
Dim value As String

value = instance.SoapAction

instance.SoapAction = value
public string SoapAction { get;
 set; }
/** @property */
public String get_SoapAction ()

/** @property */
public void set_SoapAction (String value)

プロパティ
SOAP ヘッダーURI を含む文字列

解説解説

このプロパティには SOAP との HTTP プロトコル バインディングが必要です。既定値空の文字列 ("") です。

使用例使用例
' Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
Dim mySoapOperationBinding As New
 SoapOperationBinding()
mySoapOperationBinding.SoapAction = "http://tempuri.org/AddNumbers"
mySoapOperationBinding.Style = SoapBindingStyle.Document
' Add the 'SoapOperationBinding' object to 'OperationBinding' object.
myOperationBinding.Extensions.Add(mySoapOperationBinding)
// Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
SoapOperationBinding mySoapOperationBinding =
                                 new SoapOperationBinding();
mySoapOperationBinding.SoapAction  = "http://tempuri.org/AddNumbers";
mySoapOperationBinding.Style = SoapBindingStyle.Document;
// Add the 'SoapOperationBinding' object to 'OperationBinding' object.
myOperationBinding.Extensions.Add(mySoapOperationBinding);
// Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
mySoapOperationBinding->SoapAction = "http://tempuri.org/AddNumbers";
mySoapOperationBinding->Style = SoapBindingStyle::Document;

// Add the 'SoapOperationBinding' object to 'OperationBinding' object.
myOperationBinding->Extensions->Add( mySoapOperationBinding );
// Create the 'SoapOperationBinding' object for the 'SOAP' protocol.
SoapOperationBinding mySoapOperationBinding = new SoapOperationBinding();
mySoapOperationBinding.set_SoapAction("http://tempuri.org/AddNumbers");
mySoapOperationBinding.set_Style(SoapBindingStyle.Document);
// Add the 'SoapOperationBinding' object to 'OperationBinding' object.
myOperationBinding.get_Extensions().Add(mySoapOperationBinding);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapOperationBinding クラス
SoapOperationBinding メンバ
System.Web.Services.Description 名前空間



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS