ערוך

שתף באמצעות


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
type WebHttpEndpoint = class
    inherit WebServiceEndpoint
Public Class WebHttpEndpoint
Inherits WebServiceEndpoint
Inheritance

Remarks

Use this endpoint when writing a WCF REST service.

Constructors

WebHttpEndpoint(ContractDescription, EndpointAddress)

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

WebHttpEndpoint(ContractDescription)

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

Properties

Address

Gets or sets the endpoint address for the service endpoint.

(Inherited from ServiceEndpoint)
AutomaticFormatSelectionEnabled

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

Behaviors

Gets the behaviors for the service endpoint.

(Inherited from ServiceEndpoint)
Binding

Gets or sets the binding for the service endpoint.

(Inherited from ServiceEndpoint)
ContentTypeMapper

Gets or sets the WebContentTypeMapper associated with the WebServiceEndpoint.

(Inherited from WebServiceEndpoint)
Contract

Gets the contract for the service endpoint.

(Inherited from ServiceEndpoint)
CrossDomainScriptAccessEnabled

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

(Inherited from WebServiceEndpoint)
DefaultOutgoingResponseFormat

Gets or sets the default outgoing response format.

EndpointBehaviors

Gets the endpoint behaviors for the service.

(Inherited from ServiceEndpoint)
FaultExceptionEnabled

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

HelpEnabled

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

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

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

(Inherited from ServiceEndpoint)
ListenUri

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

(Inherited from ServiceEndpoint)
ListenUriMode

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

(Inherited from ServiceEndpoint)
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

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

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

(Inherited from WebServiceEndpoint)
Name

Gets or sets the name of the service endpoint.

(Inherited from ServiceEndpoint)
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

Gets the security settings used with this binding.

(Inherited from WebServiceEndpoint)
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

Gets the Type of the endpoint.

WriteEncoding

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

(Inherited from WebServiceEndpoint)

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to