共用方式為


WebHttpBehavior.ApplyDispatchBehavior Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

This method is not used in Silverlight 5.

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

Syntax

'Declaration
Public Overridable Sub ApplyDispatchBehavior ( _
    endpoint As ServiceEndpoint, _
    endpointDispatcher As EndpointDispatcher _
)
public virtual void ApplyDispatchBehavior(
    ServiceEndpoint endpoint,
    EndpointDispatcher endpointDispatcher
)

Parameters

Implements

IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)

Remarks

This method is used to configure dispatch behavior on a service and so is not implemented in Silverlight 5.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.