Binding::Extensions Property
.NET Framework (current version)
Gets the collection of extensibility elements used in the XML Web service.
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 ServiceDescriptionFormatExtensionCollection object that contains the collection of extensibility elements used in the XML Web service.
The following example demonstrates a typical use of the Extensions property.
// Create SOAP Extensibility element. SoapBinding^ mySoapBinding = gcnew SoapBinding; // SOAP over HTTP. mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http"; mySoapBinding->Style = SoapBindingStyle::Document; // Add tag soap:binding as an extensibility element. myBinding->Extensions->Add( mySoapBinding );
.NET Framework
Available since 1.1
Available since 1.1
Show: