[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

MVC-REST-SilverLight   之 HttpConfigurationInheritance Hierarchy

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

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

MVC-REST-SilverLight   之 HttpConfigurationSyntax

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.

MVC-REST-SilverLight   之 HttpConfigurationConstructors

   

Name

Description

MVC-REST-SilverLight   之 HttpConfiguration

HttpConfiguration

Initializes a new instance of the HttpConfiguration class.

Top

MVC-REST-SilverLight   之 HttpConfigurationProperties

   

Name

Description

MVC-REST-SilverLight   之 HttpConfiguration

CreateInstance

 

MVC-REST-SilverLight   之 HttpConfiguration

EnableHelpPage

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

MVC-REST-SilverLight   之 HttpConfiguration

EnableTestClient

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

MVC-REST-SilverLight   之 HttpConfiguration

ErrorHandlers

 

MVC-REST-SilverLight   之 HttpConfiguration

Formatters

Gets the media type formatters.

MVC-REST-SilverLight   之 HttpConfiguration

IncludeExceptionDetail

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

MVC-REST-SilverLight   之 HttpConfiguration

MaxBufferSize

Gets or sets the size of the max buffer.

MVC-REST-SilverLight   之 HttpConfiguration

MaxReceivedMessageSize

Gets or sets the size of the max received message.

MVC-REST-SilverLight   之 HttpConfiguration

MessageHandlerFactory

 

MVC-REST-SilverLight   之 HttpConfiguration

MessageHandlers

 

MVC-REST-SilverLight   之 HttpConfiguration

ReleaseInstance

 

MVC-REST-SilverLight   之 HttpConfiguration

RequestHandlers

 

MVC-REST-SilverLight   之 HttpConfiguration

ResponseHandlers

 

MVC-REST-SilverLight   之 HttpConfiguration

Security

 

MVC-REST-SilverLight   之 HttpConfiguration

TrailingSlashMode

Gets or sets the trailing slash mode.

MVC-REST-SilverLight   之 HttpConfiguration

TransferMode

Gets or sets the transfer mode.

Top

MVC-REST-SilverLight   之 HttpConfigurationMethods

   

Name

Description

MVC-REST-SilverLight   之 HttpConfiguration

Equals

(Inherited from Object.)

MVC-REST-SilverLight   之 HttpConfiguration

Finalize

(Inherited from Object.)

MVC-REST-SilverLight   之 HttpConfiguration

GetHashCode

(Inherited from Object.)

MVC-REST-SilverLight   之 HttpConfiguration

GetType

(Inherited from Object.)

MVC-REST-SilverLight   之 HttpConfiguration

MemberwiseClone

(Inherited from Object.)

MVC-REST-SilverLight   之 HttpConfiguration

OnConfigureEndpoint

Called to apply the configuration on the endpoint level.

MVC-REST-SilverLight   之 HttpConfiguration

OnConfigureServiceHost

Called to apply the configuration on the host level.

MVC-REST-SilverLight   之 HttpConfiguration

ToString

(Inherited from Object.)

Top

MVC-REST-SilverLight   之 HttpConfigurationThread 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.

MVC-REST-SilverLight   之 HttpConfigurationSee Also

Reference

Microsoft.ApplicationServer.Http Namespace

MVC-REST-SilverLight   之 HttpConfiguration

Send feedback on this topic to Microsoft.

© 2011 Microsoft Corporation. All rights reserved.

相关文章: