Compartir a través de


SoapBinding.Style Propiedad

Definición

Especifica el tipo de enlace SOAP utilizado por el objeto SoapBinding actual.

public:
 property System::Web::Services::Description::SoapBindingStyle Style { System::Web::Services::Description::SoapBindingStyle get(); void set(System::Web::Services::Description::SoapBindingStyle value); };
public System.Web.Services.Description.SoapBindingStyle Style { get; set; }
member this.Style : System.Web.Services.Description.SoapBindingStyle with get, set
Public Property Style As SoapBindingStyle

Valor de propiedad

SoapBindingStyle

Uno de los valores de SoapBindingStyle. De manera predeterminada, es Document.

Ejemplos

SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding->Style = SoapBindingStyle::Document;

// Add the 'SoapBinding' object to the 'Binding' object.
myBinding->Extensions->Add( mySoapBinding );
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding.Style = SoapBindingStyle.Document;
// Add the 'SoapBinding' object to the 'Binding' object.
myBinding.Extensions.Add(mySoapBinding);
Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"
mySoapBinding.Style = SoapBindingStyle.Document
' Add the 'SoapBinding' object to the 'Binding' object.
myBinding.Extensions.Add(mySoapBinding)

Se aplica a