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

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

SoapHeader.EncodedMustUnderstand プロパティ

SOAP Version 1.1プロトコル通信するときに SOAP ヘッダーmustUnderstand XML 属性の値を取得または設定します

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

Public Property EncodedMustUnderstand As
 String
Dim instance As SoapHeader
Dim value As String

value = instance.EncodedMustUnderstand

instance.EncodedMustUnderstand = value
public string EncodedMustUnderstand { get;
 set; }
public:
property String^ EncodedMustUnderstand {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_EncodedMustUnderstand ()

/** @property */
public void set_EncodedMustUnderstand (String
 value)
public function get EncodedMustUnderstand
 () : String

public function set EncodedMustUnderstand
 (value : String)

プロパティ
mustUnderstand 属性の値。既定値は "0" です。

例外例外
例外種類条件

ArgumentException

このプロパティは "0"、"1"、"true"、または "false" 以外の値に設定します

解説解説
使用例使用例
' MyHeader class inherits from the SoapHeader class.
Dim customHeader As New
 MyHeader()
customHeader.MyValue = "Header value for MyValue"

' Set the EncodedMustUnderstand property to true.
customHeader.EncodedMustUnderstand = "1"

Dim myWebService As New
 WebService_SoapHeader_EncodedMustUnderstand()
myWebService.MyHeaderValue = customHeader
Dim results As String =
 myWebService.MyWebMethod1()
Console.WriteLine(results)
Try
    results = myWebService.MyWebMethod2()
Catch myException As Exception
    Console.WriteLine("Exception raised in MyWebMethod2.")
    Console.WriteLine("Message: " & myException.Message)
End Try
// MyHeader class is derived from the SoapHeader class.
MyHeader customHeader = new MyHeader();
customHeader.MyValue = "Header value for MyValue";

// Set the EncodedMustUnderstand property to true.
customHeader.EncodedMustUnderstand = "1";

WebService_SoapHeader_EncodedMustUnderstand myWebService = 
    new WebService_SoapHeader_EncodedMustUnderstand();
myWebService.MyHeaderValue = customHeader;
string results = myWebService.MyWebMethod1();
Console.WriteLine(results);
try
{
    results = myWebService.MyWebMethod2();
}
catch(Exception myException)
{
    Console.WriteLine("Exception raised in MyWebMethod2.");
    Console.WriteLine("Message: " + myException.Message);
}
// MyHeader class is derived from the SoapHeader class.
MyHeader customHeader = new MyHeader();
customHeader.MyValue = "Header value for MyValue";
// Set the EncodedMustUnderstand property to true.
customHeader.set_EncodedMustUnderstand("1");

WebService_SoapHeader_EncodedMustUnderstand myWebService 
    = new WebService_SoapHeader_EncodedMustUnderstand();

myWebService.myHeader1 = customHeader;
String results = myWebService.MyWebMethod1();
Console.WriteLine(results);
try {
    results = myWebService.MyWebMethod2();
}
catch (System.Exception myException) {
    Console.WriteLine("Exception raised in MyWebMethod2.");
    Console.WriteLine("Message: " + myException.get_Message());
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapHeader クラス
SoapHeader メンバ
System.Web.Services.Protocols 名前空間
MustUnderstand


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS