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

Dim instance As SoapBodyBinding Dim value As String value = instance.Namespace instance.Namespace = value
/** @property */ public String get_Namespace () /** @property */ public void set_Namespace (String value)
URI を含んでいる文字列。

このプロパティは、値が設定されていない場合は空の文字列 ("") を返します。このプロパティの値は、Use プロパティの値が Encoded の場合にだけ設定する必要があります。それ以外の場合、このプロパティ値は無視され、XML Web サービスは予測不可能な動作を示します。

Dim mySoapBodyBinding As New SoapBodyBinding() ' Encode SOAP body using rules specified by the 'Encoding' property. mySoapBodyBinding.Use = SoapBindingUse.Encoded ' Set URI representing the encoding style for encoding the body. mySoapBodyBinding.Encoding = "http://schemas.xmlsoap.org/soap/encoding/" ' Set the Uri representing the location of the specification ' for encoding of content not defined by 'Encoding' property'. mySoapBodyBinding.Namespace = "http://tempuri.org/soapsvcmgr/" myInputBinding.Extensions.Add(mySoapBodyBinding)
SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding(); // Encode SOAP body using rules specified by the 'Encoding' property. mySoapBodyBinding.Use = SoapBindingUse.Encoded; // Set URI representing the encoding style for encoding the body. mySoapBodyBinding.Encoding="http://schemas.xmlsoap.org/soap/encoding/"; // Set the Uri representing the location of the specification // for encoding of content not defined by 'Encoding' property'. mySoapBodyBinding.Namespace="http://tempuri.org/soapsvcmgr/"; myInputBinding.Extensions.Add(mySoapBodyBinding);
SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding; // Encode SOAP body using rules specified by the 'Encoding' property. mySoapBodyBinding->Use = SoapBindingUse::Encoded; // Set URI representing the encoding style for encoding the body. mySoapBodyBinding->Encoding = "http://schemas.xmlsoap.org/soap/encoding/"; // Set the Uri representing the location of the specification // for encoding of content not defined by 'Encoding' property'. mySoapBodyBinding->Namespace = "http://tempuri.org/soapsvcmgr/"; myInputBinding->Extensions->Add( mySoapBodyBinding );
SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding(); // Encode SOAP body using rules specified by the 'Encoding' property. mySoapBodyBinding.set_Use(SoapBindingUse.Encoded); // Set URI representing the encoding style for encoding the body. mySoapBodyBinding. set_Encoding("http://schemas.xmlsoap.org/soap/encoding/"); // Set the Uri representing the location of the specification // for encoding of content not defined by 'Encoding' property'. mySoapBodyBinding.set_Namespace("http://tempuri.org/soapsvcmgr/"); myInputBinding.get_Extensions().Add(mySoapBodyBinding);

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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

- SoapBodyBinding.Namespace プロパティのページへのリンク