Aracılığıyla paylaş


HttpAddressBinding Sınıf

Tanım

XML Web hizmeti içinde öğesine eklenen bir Port genişletilebilirlik öğesini temsil eder. Bu sınıf devralınamaz.

public ref class HttpAddressBinding sealed : System::Web::Services::Description::ServiceDescriptionFormatExtension
[System.Web.Services.Configuration.XmlFormatExtension("address", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.Port))]
public sealed class HttpAddressBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension
[<System.Web.Services.Configuration.XmlFormatExtension("address", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.Port))>]
type HttpAddressBinding = class
    inherit ServiceDescriptionFormatExtension
Public NotInheritable Class HttpAddressBinding
Inherits ServiceDescriptionFormatExtension
Devralma
Öznitelikler

Örnekler

// Create the 'HttpAddressBinding' object.
HttpAddressBinding^ postAddressBinding = gcnew HttpAddressBinding;
postAddressBinding->Location = "http://localhost/Service1.asmx";

// Add the 'HttpAddressBinding' to the 'Port'.
postPort->Extensions->Add( postAddressBinding );

// Create the 'HttpAddressBinding' object.
HttpAddressBinding postAddressBinding = new HttpAddressBinding();

postAddressBinding.Location = "http://localhost/Service1.asmx";

// Add the 'HttpAddressBinding' to the 'Port'.
postPort.Extensions.Add(postAddressBinding);
' Create the 'HttpAddressBinding' object.
Dim postAddressBinding As New HttpAddressBinding()

postAddressBinding.Location = "http://localhost/Service1.asmx"

' Add the 'HttpAddressBinding' to the 'Port'.
postPort.Extensions.Add(postAddressBinding)

Açıklamalar

Bu sınıf, özelliği aracılığıyla Location XML Web hizmeti için temel URI'yi belirtir. XML Web hizmetleri hakkında daha fazla bilgi için bkz. ASP.NET Kullanarak XML Web Hizmetleri. Web Hizmetleri Açıklama Dili (WSDL) hakkında daha fazla bilgi için bkz. WSDL belirtimi.

Oluşturucular

HttpAddressBinding()

HttpAddressBinding sınıfının yeni bir örneğini başlatır.

Özellikler

Handled

Genişletilebilirlik öğesi içeri aktarıldığında içeri aktarma işlemi tarafından kullanılıp kullanılmadığını ServiceDescriptionFormatExtension belirten bir değer alır veya ayarlar.

(Devralındığı yer: ServiceDescriptionFormatExtension)
Location

XML Web hizmetinin URL'sini temsil eden bir değer alır veya ayarlar.

Parent

öğesinin üst öğesini ServiceDescriptionFormatExtensionalır.

(Devralındığı yer: ServiceDescriptionFormatExtension)
Required

öğesinin başvurduğu eylem için gerekli olup olmadığını ServiceDescriptionFormatExtension belirten bir değer alır veya ayarlar.

(Devralındığı yer: ServiceDescriptionFormatExtension)

Yöntemler

Equals(Object)

Belirtilen nesnenin geçerli nesneye eşit olup olmadığını belirler.

(Devralındığı yer: Object)
GetHashCode()

Varsayılan karma işlevi işlevi görür.

(Devralındığı yer: Object)
GetType()

Type Geçerli örneğini alır.

(Devralındığı yer: Object)
MemberwiseClone()

Geçerli Objectöğesinin sığ bir kopyasını oluşturur.

(Devralındığı yer: Object)
ToString()

Geçerli nesneyi temsil eden dizeyi döndürür.

(Devralındığı yer: Object)

Şunlara uygulanır