This documentation is archived and is not being maintained.

OperationBinding.Binding Property

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

[Visual Basic]
Public ReadOnly Property Binding As Binding
[C#]
public Binding Binding {get;}
[C++]
public: __property Binding* get_Binding();
[JScript]
public function get Binding() : Binding;

Property Value

A Binding.

Remarks

The current OperationBinding is a member of the Operations collection.

Example

[Visual Basic] 
' 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

[C#] 
// Create an OutputBinding for the Add operation.
OutputBinding myOutputBinding = new OutputBinding();
myOutputBinding.Extensions.Add(mySoapBodyBinding);

// Add the OutputBinding to the OperationBinding. 
addOperationBinding.Output = myOutputBinding;

[C++] 
// Create an OutputBinding for the Add operation.
OutputBinding* myOutputBinding = new OutputBinding();
myOutputBinding->Extensions->Add(mySoapBodyBinding);

// Add the OutputBinding to the OperationBinding. 
addOperationBinding->Output = myOutputBinding;

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OperationBinding Class | OperationBinding Members | System.Web.Services.Description Namespace | Binding

Show: