SoapBodyBinding.Use プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SoapBodyBinding.Use プロパティの意味・解説 

SoapBodyBinding.Use プロパティ

メッセージ各部分を指定したエンコーディング ルール使用してエンコードするか、メッセージ具象スキーマ定義するかを指定します

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Public Property Use As SoapBindingUse
Dim instance As SoapBodyBinding
Dim value As SoapBindingUse

value = instance.Use

instance.Use = value
public SoapBindingUse Use { get; set;
 }
public:
property SoapBindingUse Use {
    SoapBindingUse get ();
    void set (SoapBindingUse value);
}
/** @property */
public SoapBindingUse get_Use ()

/** @property */
public void set_Use (SoapBindingUse value)
public function get Use
 () : SoapBindingUse

public function set Use
 (value : SoapBindingUse)

プロパティ
SoapBindingUse 値の 1 つ既定値Default です。

解説解説
使用例使用例
' 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);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapBodyBinding クラス
SoapBodyBinding メンバ
System.Web.Services.Description 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

SoapBodyBinding.Use プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SoapBodyBinding.Use プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS