편집

다음을 통해 공유


OperationBinding.Binding Property

Definition

Gets the Binding of which the current OperationBinding is a member.

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

Property Value

A binding of which the current OperationBinding is a member.

Examples

// 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

Remarks

The current OperationBinding is a member of the Operations collection.

Applies to

See also