HttpAddressBinding 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
XML 웹 서비스 내에서 추가된 Port 확장성 요소를 나타냅니다. 이 클래스는 상속할 수 없습니다.
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
- 상속
- 특성
예제
// 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)
설명
이 클래스는 해당 Location 속성을 통해 XML 웹 서비스의 기본 URI를 지정합니다. XML 웹 서비스에 대한 자세한 내용은 ASP.NET 사용하여 XML Web Services를 참조하세요. WSDL(Web Services Description Language)에 대한 자세한 내용은 WSDL 사양을 참조하세요.
생성자
| Name | Description |
|---|---|
| HttpAddressBinding() |
HttpAddressBinding 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| Handled |
확장성 요소를 가져올 때 가져오기 프로세스에서 사용되는지 여부를 ServiceDescriptionFormatExtension 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ServiceDescriptionFormatExtension) |
| Location |
XML 웹 서비스의 URL을 나타내는 값을 가져오거나 설정합니다. |
| Parent |
의 부모를 ServiceDescriptionFormatExtension가져옵니다. (다음에서 상속됨 ServiceDescriptionFormatExtension) |
| Required |
참조하는 작업에 필요한지 여부를 ServiceDescriptionFormatExtension 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ServiceDescriptionFormatExtension) |
메서드
| Name | Description |
|---|---|
| Equals(Object) |
지정된 개체가 현재 개체와 같은지 여부를 확인합니다. (다음에서 상속됨 Object) |
| GetHashCode() |
기본 해시 함수로 사용됩니다. (다음에서 상속됨 Object) |
| GetType() |
현재 인스턴스의 Type 가져옵니다. (다음에서 상속됨 Object) |
| MemberwiseClone() |
현재 Object단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
| ToString() |
현재 개체를 나타내는 문자열을 반환합니다. (다음에서 상속됨 Object) |