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

Dim instance As SoapFaultBinding Dim value As String value = instance.Encoding instance.Encoding = value
/** @property */ public String get_Encoding () /** @property */ public void set_Encoding (String value)
URI を含んでいる文字列。既定値は空の文字列 ("") です。


' 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.Encoding プロパティを検索する場合は、下記のリンクをクリックしてください。

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