OperationBinding.Binding 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 Binding,目前 OperationBinding 為其中的成員。
public:
property System::Web::Services::Description::Binding ^ Binding { System::Web::Services::Description::Binding ^ get(); };
public System.Web.Services.Description.Binding Binding { get; }
member this.Binding : System.Web.Services.Description.Binding
Public ReadOnly Property Binding As Binding
屬性值
目前 OperationBinding 為其成員的繫結。
範例
// Create an OutputBinding for the Add operation.
OutputBinding^ myOutputBinding = gcnew OutputBinding;
myOutputBinding->Extensions->Add( mySoapBodyBinding );
// Add the OutputBinding to the OperationBinding.
addOperationBinding->Output = myOutputBinding;
// Create an OutputBinding for the Add operation.
OutputBinding myOutputBinding = new OutputBinding();
myOutputBinding.Extensions.Add(mySoapBodyBinding);
// Add the OutputBinding to the OperationBinding.
addOperationBinding.Output = myOutputBinding;
' Create an OutputBinding for the Add operation.
Dim myOutputBinding As New OutputBinding()
myOutputBinding.Extensions.Add(mySoapBodyBinding)
' Add the OutputBinding to the OperationBinding.
addOperationBinding.Output = myOutputBinding
備註
目前的 OperationBinding 是集合的成員 Operations 。