易简.道(ething)

爱在进行时
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

MVC-REST-SilverLight 之 HttpConfiguration

Posted on 2012-02-21 20:58  如是如是  阅读(432)  评论(0编辑  收藏  举报

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The configuration class for Http Services

Inheritance Hierarchy

System..::..Object
  Microsoft.ApplicationServer.Http..::..HttpConfiguration
    Microsoft.ApplicationServer.Http..::..WebApiConfiguration

Namespace:  Microsoft.ApplicationServer.Http
Assembly:  Microsoft.ApplicationServer.Http (in Microsoft.ApplicationServer.Http.dll)

Syntax

Visual Basic (Declaration)

Public Class HttpConfiguration

 

Visual Basic (Usage)

Dim instance As HttpConfiguration

 

C#

public class HttpConfiguration

 

Visual C++

public ref class HttpConfiguration

 

F#

type HttpConfiguration = class end

 

JScript

public class HttpConfiguration

The HttpConfiguration type exposes the following members.

Constructors

   

Name

Description

HttpConfiguration

Initializes a new instance of the HttpConfiguration class.

Top

Properties

   

Name

Description

CreateInstance

 

EnableHelpPage

Gets or sets a value indicating whether to enable help page.

EnableTestClient

Gets or sets a value indicating whether to enable test client.

ErrorHandlers

 

Formatters

Gets the media type formatters.

IncludeExceptionDetail

Gets or sets a value indicating whether to include exception detail.

MaxBufferSize

Gets or sets the size of the max buffer.

MaxReceivedMessageSize

Gets or sets the size of the max received message.

MessageHandlerFactory

 

MessageHandlers

 

ReleaseInstance

 

RequestHandlers

 

ResponseHandlers

 

Security

 

TrailingSlashMode

Gets or sets the trailing slash mode.

TransferMode

Gets or sets the transfer mode.

Top

Methods

   

Name

Description

Equals

(Inherited from Object.)

Finalize

(Inherited from Object.)

GetHashCode

(Inherited from Object.)

GetType

(Inherited from Object.)

MemberwiseClone

(Inherited from Object.)

OnConfigureEndpoint

Called to apply the configuration on the endpoint level.

OnConfigureServiceHost

Called to apply the configuration on the host level.

ToString

(Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ApplicationServer.Http Namespace

Send feedback on this topic to Microsoft.

© 2011 Microsoft Corporation. All rights reserved.