OperationBinding.Extensions Property

 

Gets the collection of extensibility elements specific to the current OperationBinding.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Overrides ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection

Property Value

Type: System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection

A collection of extensibility elements.

For more information about Web Services Description Language (WSDL), see the specification at http://www.w3.org/TR/wsdl/.

' Create an extensibility element for a SoapOperationBinding.
Dim mySoapOperationBinding As New SoapOperationBinding()
mySoapOperationBinding.Style = SoapBindingStyle.Document
mySoapOperationBinding.SoapAction = myTargetNamespace & addOperation

' Add the extensibility element SoapOperationBinding to 
' the OperationBinding.
addOperationBinding.Extensions.Add(mySoapOperationBinding)

.NET Framework
Available since 1.1
Return to top
Show: