แก้ไข

แชร์ผ่าน


WebScriptEndpoint Class

Definition

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

public ref class WebScriptEndpoint : System::ServiceModel::Description::WebServiceEndpoint
public class WebScriptEndpoint : System.ServiceModel.Description.WebServiceEndpoint
type WebScriptEndpoint = class
    inherit WebServiceEndpoint
Public Class WebScriptEndpoint
Inherits WebServiceEndpoint
Inheritance

Remarks

Use this endpoint when you are writing a WCF service that is called from an ASP.NET AJAX application.

Constructors

WebScriptEndpoint(ContractDescription, EndpointAddress)

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

WebScriptEndpoint(ContractDescription)

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

Properties

Address

Gets or sets the endpoint address for the service endpoint.

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

Gets the endpoint behaviors for the service.

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