C# 클래스 Microsoft.ApplicationServer.Http.Activation.HttpQueryableServiceHost

Provides a custom service host that exposes the total count of a queryable resource query as an HTTP header named X-TotalCount and automatically used by the HttpEntityClient nuget.
상속: Microsoft.ApplicationServer.Http.Activation.HttpConfigurableServiceHost
파일 보기 프로젝트 열기: netfx/extensions

공개 메소드들

메소드 설명
HttpQueryableServiceHost ( Type serviceType, int queryLimit, IHttpHostConfigurationBuilder builder ) : System

Initializes a new instance of the HttpQueryableServiceHost class.

HttpQueryableServiceHost ( object singletonInstance, int queryLimit, IHttpHostConfigurationBuilder builder ) : System

Initializes a new instance of the HttpQueryableServiceHost class.

보호된 메소드들

메소드 설명
OnOpening ( ) : void

Replaces the built-in HttpBehavior with our derived one.

비공개 메소드들

메소드 설명
AddQueryMessageHandler ( IHttpHostConfigurationBuilder builder, int queryLimit ) : IHttpHostConfigurationBuilder
Configure ( IHttpHostConfigurationBuilder builder, int queryLimit ) : IHttpHostConfigurationBuilder

메소드 상세

HttpQueryableServiceHost() 공개 메소드

Initializes a new instance of the HttpQueryableServiceHost class.
public HttpQueryableServiceHost ( Type serviceType, int queryLimit, IHttpHostConfigurationBuilder builder ) : System
serviceType System.Type
queryLimit int
builder IHttpHostConfigurationBuilder
리턴 System

HttpQueryableServiceHost() 공개 메소드

Initializes a new instance of the HttpQueryableServiceHost class.
public HttpQueryableServiceHost ( object singletonInstance, int queryLimit, IHttpHostConfigurationBuilder builder ) : System
singletonInstance object
queryLimit int
builder IHttpHostConfigurationBuilder
리턴 System

OnOpening() 보호된 메소드

Replaces the built-in HttpBehavior with our derived one.
protected OnOpening ( ) : void
리턴 void