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

Dim instance As SoapFaultBinding 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 サービスは予測できない動作を示します。

' Create a new instance of 'SoapFaultBinding' class. Dim mySoapFaultBinding As New SoapFaultBinding() ' Encode fault message using rules specified by 'Encoding' property. mySoapFaultBinding.Use = SoapBindingUse.Encoded ' Set the URI representing the encoding style. mySoapFaultBinding.Encoding = "http://tempuri.org/stockquote" ' Set the URI representing the location of the specification ' for encoding of content not defined by 'Encoding' property'. mySoapFaultBinding.Namespace = "http://tempuri.org/stockquote" ' Create a new instance of 'FaultBinding'. Dim myFaultBinding As New FaultBinding() myFaultBinding.Name = "AddFaultbinding" myFaultBinding.Extensions.Add(mySoapFaultBinding) ' Get existing 'OperationBinding' object. myOperationBinding.Faults.Add(myFaultBinding) myBinding.Operations.Add(myOperationBinding)
// Create a new instance of 'SoapFaultBinding' class. SoapFaultBinding mySoapFaultBinding=new SoapFaultBinding(); // Encode fault message using rules specified by 'Encoding' property. mySoapFaultBinding.Use=SoapBindingUse.Encoded; // Set the URI representing the encoding style. mySoapFaultBinding.Encoding="http://tempuri.org/stockquote"; // Set the URI representing the location of the specification // for encoding of content not defined by 'Encoding' property'. mySoapFaultBinding.Namespace="http://tempuri.org/stockquote"; // Create a new instance of 'FaultBinding'. FaultBinding myFaultBinding=new FaultBinding(); myFaultBinding.Name="AddFaultbinding"; myFaultBinding.Extensions.Add(mySoapFaultBinding); // Get existing 'OperationBinding' object. myOperationBinding.Faults.Add(myFaultBinding); myBinding.Operations.Add(myOperationBinding);
// Create a new instance of 'SoapFaultBinding' class. SoapFaultBinding^ mySoapFaultBinding = gcnew SoapFaultBinding; // Encode fault message using rules specified by 'Encoding' property. mySoapFaultBinding->Use = SoapBindingUse::Encoded; // Set the URI representing the encoding style. mySoapFaultBinding->Encoding = "http://tempuri.org/stockquote"; // Set the URI representing the location of the specification // for encoding of content not defined by 'Encoding' property'. mySoapFaultBinding->Namespace = "http://tempuri.org/stockquote"; // Create a new instance of 'FaultBinding'. FaultBinding^ myFaultBinding = gcnew FaultBinding; myFaultBinding->Name = "AddFaultbinding"; myFaultBinding->Extensions->Add( mySoapFaultBinding ); // Get existing 'OperationBinding' object. myOperationBinding->Faults->Add( myFaultBinding ); myBinding->Operations->Add( myOperationBinding );
// Create a new instance of 'SoapFaultBinding' class. SoapFaultBinding mySoapFaultBinding = new SoapFaultBinding(); // Encode fault message using rules specified by 'Encoding' // property. mySoapFaultBinding.set_Use(SoapBindingUse.Encoded); // Set the URI representing the encoding style. mySoapFaultBinding.set_Encoding("http://tempuri.org/stockquote"); // Set the URI representing the location of the specification // for encoding of content not defined by 'Encoding' property'. mySoapFaultBinding.set_Namespace("http://tempuri.org/stockquote"); // Create a new instance of 'FaultBinding'. FaultBinding myFaultBinding = new FaultBinding(); myFaultBinding.set_Name("AddFaultbinding"); myFaultBinding.get_Extensions().Add(mySoapFaultBinding); // Get existing 'OperationBinding' object. myOperationBinding.get_Faults().Add(myFaultBinding); myBinding.get_Operations().Add(myOperationBinding);

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に収録されているすべての辞書からSoapFaultBinding.Namespace プロパティを検索する場合は、下記のリンクをクリックしてください。

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