Udostępnij za pośrednictwem


SoapBinding.Style Właściwość

Definicja

Określa typ powiązania protokołu SOAP używanego przez bieżący SoapBindingelement .

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

Wartość właściwości

SoapBindingStyle

SoapBindingStyle Jedna z wartości. Wartość domyślna to Document.

Przykłady

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)

Dotyczy