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

Dim instance As SoapHeader Dim value As String value = instance.EncodedMustUnderstand instance.EncodedMustUnderstand = 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" です。



' 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()); }

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


Weblioに収録されているすべての辞書からSoapHeader.EncodedMustUnderstand プロパティを検索する場合は、下記のリンクをクリックしてください。

- SoapHeader.EncodedMustUnderstand プロパティのページへのリンク