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:
property ServiceDescriptionFormatExtensionCollection^ Extensions {
	virtual ServiceDescriptionFormatExtensionCollection^ get() override;
}

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.
SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
mySoapOperationBinding->Style = SoapBindingStyle::Document;
mySoapOperationBinding->SoapAction = String::Concat( myTargetNamespace, addOperation );

// Add the extensibility element SoapOperationBinding to 
// the OperationBinding.
addOperationBinding->Extensions->Add( mySoapOperationBinding );

.NET Framework
Available since 1.1
Return to top
Show: