SALES: 1-800-867-1380
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

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)

[DebuggerDisplayAttribute("Address={address}")]
[DebuggerDisplayAttribute("Name={name}")]
public class WebHttpEndpoint : WebServiceEndpoint

The WebHttpEndpoint type exposes the following members.

  NameDescription
Public methodWebHttpEndpoint(ContractDescription)Initializes a new instance of the WebHttpEndpoint class with the specified ContractDescription.
Public methodWebHttpEndpoint(ContractDescription, EndpointAddress)Initializes a new instance of the WebHttpEndpoint class with the specified ContractDescription and EndpointAddress.
Top

  NameDescription
Public propertyAddressGets or sets the endpoint address for the service endpoint. (Inherited from ServiceEndpoint.)
Public propertyAutomaticFormatSelectionEnabledGets or sets a value that indicates whether automatic format selection is enabled.
Public propertyBehaviorsGets the behaviors for the service endpoint. (Inherited from ServiceEndpoint.)
Public propertyBindingGets or sets the binding for the service endpoint. (Inherited from ServiceEndpoint.)
Public propertyContentTypeMapperGets or sets the WebContentTypeMapper associated with the WebServiceEndpoint. (Inherited from WebServiceEndpoint.)
Public propertyContractGets the contract for the service endpoint. (Inherited from ServiceEndpoint.)
Public propertyCrossDomainScriptAccessEnabledGets or sets a value that indicates whether cross domain script access is enabled for the WebServiceEndpoint. (Inherited from WebServiceEndpoint.)
Public propertyDefaultOutgoingResponseFormatGets or sets the default outgoing response format.
Public propertyEndpointBehaviorsGets the endpoint behaviors for the service. (Inherited from ServiceEndpoint.)
Public propertyFaultExceptionEnabledGets or sets the flag that specifies whether a FaultException is generated when an internal server error (HTTP status code: 500) occurs.
Public propertyHelpEnabledGets or sets a value that indicates whether the HTTP help page is enabled for the endpoint.
Public propertyHostNameComparisonModeGets or sets a value that indicates whether the hostname is used to reach the service when matching the URI. (Inherited from WebServiceEndpoint.)
Public propertyIsSystemEndpointGets or sets whether the service endpoint is generated by the system as opposed to being user-defined. (Inherited from ServiceEndpoint.)
Public propertyListenUriGets or sets the URI at which the service endpoint listens. (Inherited from ServiceEndpoint.)
Public propertyListenUriModeGets or sets how the transport handles the URI that is provided for the service to listen on. (Inherited from ServiceEndpoint.)
Public propertyMaxBufferPoolSizeGets 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.)
Public propertyMaxBufferSizeGets 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.)
Public propertyMaxReceivedMessageSizeGets or sets the maximum size for a message that can be processed by the binding. (Inherited from WebServiceEndpoint.)
Public propertyNameGets or sets the name of the service endpoint. (Inherited from ServiceEndpoint.)
Public propertyReaderQuotasGets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding. (Inherited from WebServiceEndpoint.)
Public propertySecurityGets the security settings used with this binding. (Inherited from WebServiceEndpoint.)
Public propertyTransferModeGets 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.)
Protected propertyWebEndpointTypeGets the Type of the endpoint. (Overrides WebServiceEndpoint.WebEndpointType.)
Public propertyWriteEncodingGets or sets the character encoding that is used for the message text. (Inherited from WebServiceEndpoint.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Use this endpoint when writing a WCF REST service.

.NET Framework

Supported in: 4.6, 4.5, 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft