Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebHttpEndpoint Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

A standard endpoint with a fixed WebHttpBinding binding that automatically adds the WebHttpBehavior behavior.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)


public class WebHttpEndpoint : WebServiceEndpoint

NameDescription
System_CAPS_pubmethodWebHttpEndpoint(ContractDescription)

Initializes a new instance of the WebHttpEndpoint class with the specified ContractDescription.

System_CAPS_pubmethodWebHttpEndpoint(ContractDescription, EndpointAddress)

Initializes a new instance of the WebHttpEndpoint class with the specified ContractDescription and EndpointAddress.

NameDescription
System_CAPS_pubpropertyAddress

Gets or sets the endpoint address for the service endpoint.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyAutomaticFormatSelectionEnabled

Gets or sets a value that indicates whether automatic format selection is enabled.

System_CAPS_pubpropertyBehaviors

Gets the behaviors for the service endpoint.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyBinding

Gets or sets the binding for the service endpoint.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyContentTypeMapper

Gets or sets the WebContentTypeMapper associated with the WebServiceEndpoint.(Inherited from WebServiceEndpoint.)

System_CAPS_pubpropertyContract

Gets the contract for the service endpoint.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyCrossDomainScriptAccessEnabled

Gets or sets a value that indicates whether cross domain script access is enabled for the WebServiceEndpoint.(Inherited from WebServiceEndpoint.)

System_CAPS_pubpropertyDefaultOutgoingResponseFormat

Gets or sets the default outgoing response format.

System_CAPS_pubpropertyEndpointBehaviors

Gets the endpoint behaviors for the service.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyFaultExceptionEnabled

Gets or sets the flag that specifies whether a FaultException is generated when an internal server error (HTTP status code: 500) occurs.

System_CAPS_pubpropertyHelpEnabled

Gets or sets a value that indicates whether the HTTP help page is enabled for the endpoint.

System_CAPS_pubpropertyHostNameComparisonMode

Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI.(Inherited from WebServiceEndpoint.)

System_CAPS_pubpropertyIsSystemEndpoint

Gets or sets whether the service endpoint is generated by the system as opposed to being user-defined.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyListenUri

Gets or sets the URI at which the service endpoint listens.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyListenUriMode

Gets or sets how the transport handles the URI that is provided for the service to listen on.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyMaxBufferPoolSize

Gets or sets the maximum amount of memory allocated for the buffer manager that manages the buffers required by endpoints that use this binding.(Inherited from WebServiceEndpoint.)

System_CAPS_pubpropertyMaxBufferSize

Gets or sets the maximum amount of memory that is allocated for use by the manager of the message buffers that receive messages from the channel.(Inherited from WebServiceEndpoint.)

System_CAPS_pubpropertyMaxReceivedMessageSize

Gets or sets the maximum size for a message that can be processed by the binding.(Inherited from WebServiceEndpoint.)

System_CAPS_pubpropertyName

Gets or sets the name of the service endpoint.(Inherited from ServiceEndpoint.)

System_CAPS_pubpropertyReaderQuotas

Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.(Inherited from WebServiceEndpoint.)

System_CAPS_pubpropertySecurity

Gets the security settings used with this binding.(Inherited from WebServiceEndpoint.)

System_CAPS_pubpropertyTransferMode

Gets or sets a value that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer.(Inherited from WebServiceEndpoint.)

System_CAPS_protpropertyWebEndpointType

Gets the Type of the endpoint.(Overrides WebServiceEndpoint.WebEndpointType.)

System_CAPS_pubpropertyWriteEncoding

Gets or sets the character encoding that is used for the message text.(Inherited from WebServiceEndpoint.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Use this endpoint when writing a WCF REST service.

.NET Framework
Available since 4.0

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

Return to top
Show: