WebHttpBehavior 클래스

정의

WCF(Windows Communication Foundation) 서비스에 웹 프로그래밍 모델을 사용하도록 설정합니다.

public ref class WebHttpBehavior : System::ServiceModel::Description::IEndpointBehavior
public class WebHttpBehavior : System.ServiceModel.Description.IEndpointBehavior
type WebHttpBehavior = class
    interface IEndpointBehavior
Public Class WebHttpBehavior
Implements IEndpointBehavior
상속
WebHttpBehavior
파생
구현

설명

이 동작을 WebHttpBehavior 바인딩과 함께 WebHttpBinding 사용하면 WCF에서 웹 스타일 서비스를 노출하고 액세스할 수 있습니다. WebServiceHost 는 이 동작을 사용하는 엔드포인트에 자동으로 추가합니다 WebHttpBinding.

생성자

Name Description
WebHttpBehavior()

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

속성

Name Description
AutomaticFormatSelectionEnabled

자동 서식 선택을 사용할 수 있는지 여부를 결정하는 값을 가져오거나 설정합니다.

DefaultBodyStyle

기본 메시지 본문 스타일을 가져오거나 설정합니다.

DefaultOutgoingRequestFormat

보내는 기본 요청 형식을 가져오거나 설정합니다.

DefaultOutgoingResponseFormat

기본 나가는 응답 형식을 가져오거나 설정합니다.

FaultExceptionEnabled

내부 서버 오류(HTTP 상태 코드: 500)가 발생할 때 FaultException이 생성되는지 여부를 지정하는 플래그를 가져오거나 설정합니다.

HelpEnabled

WCF 도움말 페이지를 사용할 수 있는지 여부를 결정하는 값을 가져오거나 설정합니다.

JavascriptCallbackParameterName

JavaScript 콜백 매개 변수 이름을 가져오거나 설정합니다.

메서드

Name Description
AddBindingParameters(ServiceEndpoint, BindingParameterCollection)

사용자 지정 동작을 AddBindingParameters(ServiceEndpoint, BindingParameterCollection) 지원하기 위해 런타임에 데이터를 바인딩에 전달하는 메서드를 구현합니다.

AddClientErrorInspector(ServiceEndpoint, ClientRuntime)

지정된 서비스 엔드포인트에 클라이언트 오류 검사기를 추가합니다.

AddServerErrorHandlers(ServiceEndpoint, EndpointDispatcher)

서비스에서 발생하는 오류가 처리되는 방식을 변경하려면 이 메서드를 재정의합니다.

ApplyClientBehavior(ServiceEndpoint, ClientRuntime)

ApplyClientBehavior(ServiceEndpoint, ClientRuntime) 엔드포인트에서 클라이언트의 수정 또는 확장을 지원하는 메서드를 구현합니다.

ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)

ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) 엔드포인트에서 클라이언트의 수정 또는 확장을 지원하는 메서드를 구현합니다.

Equals(Object)

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

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

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetOperationSelector(ServiceEndpoint)

WebHttpDispatchOperationSelector 개체를 만듭니다.

GetQueryStringConverter(OperationDescription)

쿼리 문자열 변환기를 가져옵니다.

GetReplyClientFormatter(OperationDescription, ServiceEndpoint)

지정된 엔드포인트 및 서비스 작업에 대한 클라이언트의 회신 포맷터를 가져옵니다.

GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint)

지정된 엔드포인트 및 서비스 작업에 대한 서비스의 회신 포맷터를 가져옵니다.

GetRequestClientFormatter(OperationDescription, ServiceEndpoint)

지정된 서비스 작업 및 엔드포인트에 대한 클라이언트의 요청 포맷터를 가져옵니다.

GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint)

지정된 서비스 작업 및 서비스 엔드포인트에 대한 서비스의 요청 포맷터를 가져옵니다.

GetType()

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

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

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

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

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

(다음에서 상속됨 Object)
Validate(ServiceEndpoint)

엔드포인트가 웹 프로그래밍 모델에 대한 요구 사항을 충족하는지 확인합니다.

ValidateBinding(ServiceEndpoint)

바인딩이 WCF 웹 프로그래밍 모델과 함께 사용할 수 있는지 확인합니다.

적용 대상