Compartir a través de


Binding.Extensions Propiedad

Definición

Obtiene la colección de elementos de extensibilidad utilizados en el servicio Web XML.

public:
 property System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ Extensions { System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ get(); };
public:
 virtual property System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ Extensions { System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ get(); };
public System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get; }
public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get; }
member this.Extensions : System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection
Public ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection
Public Overrides ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection

Valor de propiedad

ServiceDescriptionFormatExtensionCollection

Objeto ServiceDescriptionFormatExtensionCollection que contiene la colección de elementos de extensibilidad utilizados en el servicio Web XML.

Ejemplos

En el ejemplo siguiente se muestra un uso típico de la Extensions propiedad .

// 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 );
// Create SOAP Extensibility element.
SoapBinding mySoapBinding = new 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);
' Create SOAP Extensibility element.
Dim mySoapBinding As New 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)

Se aplica a