共用方式為


OperationBinding.Binding 屬性

定義

取得 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

屬性值

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

適用於

另請參閱