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

Dim instance As SoapBodyBinding Dim value As SoapBindingUse value = instance.Use instance.Use = value
/** @property */ public SoapBindingUse get_Use () /** @property */ public void set_Use (SoapBindingUse value)
SoapBindingUse 値の 1 つ。既定値は Default です。

Namespace プロパティと Encoding プロパティは、このプロパティの値に依存します。このプロパティの値が Encoded である場合にだけ、値を設定する必要があります。それ以外の場合、XML Web サービスは予測できない動作を生成します。

' Create the 'InputBinding' object for the 'SOAP' protocol. Dim myInput As New InputBinding() Dim mySoapBinding1 As New SoapBodyBinding() mySoapBinding1.Use = SoapBindingUse.Literal myInput.Extensions.Add(mySoapBinding1) ' Add the 'InputBinding' object to 'OperationBinding' object. myOperationBinding.Input = myInput ' Create the 'OutputBinding' object'. Dim myOutput As New OutputBinding() myOutput.Extensions.Add(mySoapBinding1) ' Add the 'OutputBinding' object to 'OperationBinding' object. myOperationBinding.Output = myOutput ' Add the 'OperationBinding' object to 'Binding' object. myBinding.Operations.Add(myOperationBinding) ' Add the 'Binding' object to the ServiceDescription instance. myDescription.Bindings.Add(myBinding)
// Create the 'InputBinding' object for the 'SOAP' protocol. InputBinding myInput = new InputBinding(); SoapBodyBinding mySoapBinding1 = new SoapBodyBinding(); mySoapBinding1.Use= SoapBindingUse.Literal; myInput.Extensions.Add(mySoapBinding1); // Add the 'InputBinding' object to 'OperationBinding' object. myOperationBinding.Input = myInput; // Create the 'OutputBinding' object'. OutputBinding myOutput = new OutputBinding(); myOutput.Extensions.Add(mySoapBinding1); // Add the 'OutputBinding' object to 'OperationBinding' object. myOperationBinding.Output = myOutput; // Add the 'OperationBinding' object to 'Binding' object. myBinding.Operations.Add(myOperationBinding); // Add the 'Binding' object to the ServiceDescription instance. myDescription.Bindings.Add(myBinding);
// Create the 'InputBinding' object for the 'SOAP' protocol. InputBinding^ myInput = gcnew InputBinding; SoapBodyBinding^ mySoapBinding1 = gcnew SoapBodyBinding; mySoapBinding1->Use = SoapBindingUse::Literal; myInput->Extensions->Add( mySoapBinding1 ); // Add the 'InputBinding' object to 'OperationBinding' object. myOperationBinding->Input = myInput; // Create the 'OutputBinding' object'. OutputBinding^ myOutput = gcnew OutputBinding; myOutput->Extensions->Add( mySoapBinding1 ); // Add the 'OutputBinding' object to 'OperationBinding' object. myOperationBinding->Output = myOutput; // Add the 'OperationBinding' object to 'Binding' object. myBinding->Operations->Add( myOperationBinding ); // Add the 'Binding' object to the ServiceDescription instance. myDescription->Bindings->Add( myBinding );
// Create the 'InputBinding' object for the 'SOAP' protocol. InputBinding myInput = new InputBinding(); SoapBodyBinding mySoapBinding1 = new SoapBodyBinding(); mySoapBinding1.set_Use(SoapBindingUse.Literal); myInput.get_Extensions().Add(mySoapBinding1); // Add the 'InputBinding' object to 'OperationBinding' object. myOperationBinding.set_Input(myInput); // Create the 'OutputBinding' object'. OutputBinding myOutput = new OutputBinding(); myOutput.get_Extensions().Add(mySoapBinding1); // Add the 'OutputBinding' object to 'OperationBinding' object. myOperationBinding.set_Output(myOutput); // Add the 'OperationBinding' object to 'Binding' object. myBinding.get_Operations().Add(myOperationBinding); // Add the 'Binding' object to the ServiceDescription instance. myDescription.get_Bindings().Add(myBinding);

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

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