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

适用于

另请参阅