다음을 통해 공유


HttpBinding 클래스

정의

XML Web services 내에서 Binding에 추가되는 확장성 요소를 나타냅니다. 이 클래스는 상속될 수 없습니다.

public ref class HttpBinding sealed : System::Web::Services::Description::ServiceDescriptionFormatExtension
[System.Web.Services.Configuration.XmlFormatExtension("binding", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.Binding))]
[System.Web.Services.Configuration.XmlFormatExtensionPrefix("http", "http://schemas.xmlsoap.org/wsdl/http/")]
public sealed class HttpBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension
[<System.Web.Services.Configuration.XmlFormatExtension("binding", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.Binding))>]
[<System.Web.Services.Configuration.XmlFormatExtensionPrefix("http", "http://schemas.xmlsoap.org/wsdl/http/")>]
type HttpBinding = class
    inherit ServiceDescriptionFormatExtension
Public NotInheritable Class HttpBinding
Inherits ServiceDescriptionFormatExtension
상속
특성

예제

다음 예제에서는의 일반적인 사용법은 HttpBinding 클래스입니다.

// Create the 'HttpBinding' object.
HttpBinding^ myHttpBinding = gcnew HttpBinding;
myHttpBinding->Verb = "POST";

// Add the 'HttpBinding' to the 'Binding'.
myBinding->Extensions->Add( myHttpBinding );

// Create the 'HttpBinding' object.
HttpBinding myHttpBinding = new HttpBinding();

myHttpBinding.Verb="POST";
// Add the 'HttpBinding' to the 'Binding'.
myBinding.Extensions.Add(myHttpBinding);
' Create the 'HttpBinding' object.
Dim myHttpBinding As New HttpBinding()

myHttpBinding.Verb = "POST"
' Add the 'HttpBinding' to the 'Binding'.
myBinding.Extensions.Add(myHttpBinding)

설명

이 클래스의 사용 되는 확장성 요소를 HTTP로 전달할 정보 지정 합니다. XML 웹 서비스에 대한 프로토콜 사양에 대한 자세한 내용은 ASP.NET 사용하는 XML Web Services를 참조하세요. WSDL(Web Services Description Language)에 대한 자세한 내용은 WSDL 사양을 참조하세요.

생성자

HttpBinding()

HttpBinding 클래스의 새 인스턴스를 초기화합니다.

필드

Namespace

SOAP에 사용할 HTTP 전송을 나타내는 XML 네임스페이스에 대한 URI를 지정합니다. 이 필드는 상수입니다.

속성

Handled

확장성 요소를 가져올 때 ServiceDescriptionFormatExtension이 가져오기 프로세스에서 사용되는지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 ServiceDescriptionFormatExtension)
Parent

ServiceDescriptionFormatExtension의 상위를 가져옵니다.

(다음에서 상속됨 ServiceDescriptionFormatExtension)
Required

ServiceDescriptionFormatExtension이 참조하는 작업에 이것이 필요한지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 ServiceDescriptionFormatExtension)
Verb

HTTP 요청을 만든 메서드가 "GET" 메서드인지 또는 "POST" 메서드인지 나타내는 값을 가져오거나 설정합니다.

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상