WebHttpEndpoint WebHttpEndpoint WebHttpEndpoint Class

Definition

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

public ref class WebHttpEndpoint : System::ServiceModel::Description::WebServiceEndpoint
public class WebHttpEndpoint : System.ServiceModel.Description.WebServiceEndpoint
Public Class WebHttpEndpoint
Inherits WebServiceEndpoint
Inheritance

Remarks

Use this endpoint when writing a WCF REST service.

Constructors

WebHttpEndpoint(ContractDescription) WebHttpEndpoint(ContractDescription) WebHttpEndpoint(ContractDescription)

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

WebHttpEndpoint(ContractDescription, EndpointAddress) WebHttpEndpoint(ContractDescription, EndpointAddress) WebHttpEndpoint(ContractDescription, EndpointAddress)

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

Properties

Address Address Address

Gets or sets the endpoint address for the service endpoint.

(Inherited from ServiceEndpoint)
AutomaticFormatSelectionEnabled AutomaticFormatSelectionEnabled AutomaticFormatSelectionEnabled

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

Behaviors Behaviors Behaviors

Gets the behaviors for the service endpoint.

(Inherited from ServiceEndpoint)
Binding Binding Binding

Gets or sets the binding for the service endpoint.

(Inherited from ServiceEndpoint)
ContentTypeMapper ContentTypeMapper ContentTypeMapper

Gets or sets the WebContentTypeMapper associated with the WebServiceEndpoint.

(Inherited from WebServiceEndpoint)
Contract Contract Contract

Gets the contract for the service endpoint.

(Inherited from ServiceEndpoint)
CrossDomainScriptAccessEnabled CrossDomainScriptAccessEnabled CrossDomainScriptAccessEnabled

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

(Inherited from WebServiceEndpoint)
DefaultOutgoingResponseFormat DefaultOutgoingResponseFormat DefaultOutgoingResponseFormat

Gets or sets the default outgoing response format.

EndpointBehaviors EndpointBehaviors EndpointBehaviors

Gets the endpoint behaviors for the service.

(Inherited from ServiceEndpoint)
FaultExceptionEnabled FaultExceptionEnabled FaultExceptionEnabled

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

HelpEnabled HelpEnabled HelpEnabled

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

HostNameComparisonMode HostNameComparisonMode HostNameComparisonMode

Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI.

(Inherited from WebServiceEndpoint)
IsSystemEndpoint IsSystemEndpoint IsSystemEndpoint

Gets or sets whether the service endpoint is generated by the system as opposed to being user-defined.

(Inherited from ServiceEndpoint)
ListenUri ListenUri ListenUri

Gets or sets the URI at which the service endpoint listens.

(Inherited from ServiceEndpoint)
ListenUriMode ListenUriMode ListenUriMode

Gets or sets how the transport handles the URI that is provided for the service to listen on.

(Inherited from ServiceEndpoint)
MaxBufferPoolSize MaxBufferPoolSize MaxBufferPoolSize

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)
MaxBufferSize MaxBufferSize MaxBufferSize

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)
MaxReceivedMessageSize MaxReceivedMessageSize MaxReceivedMessageSize

Gets or sets the maximum size for a message that can be processed by the binding.

(Inherited from WebServiceEndpoint)
Name Name Name

Gets or sets the name of the service endpoint.

(Inherited from ServiceEndpoint)
ReaderQuotas ReaderQuotas ReaderQuotas

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

(Inherited from WebServiceEndpoint)
Security Security Security

Gets the security settings used with this binding.

(Inherited from WebServiceEndpoint)
TransferMode TransferMode TransferMode

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)
WebEndpointType WebEndpointType WebEndpointType

Gets the Type of the endpoint.

WriteEncoding WriteEncoding WriteEncoding

Gets or sets the character encoding that is used for the message text.

(Inherited from WebServiceEndpoint)

Methods

Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to