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 。