Sdílet prostřednictvím


Service.ApplyDispatchBehavior Method

Registers for all service operations a parameter inspector that extracts and applies WCF client locale information. Registers an error handler for all channels.

Namespace:  Microsoft.MasterDataServices.Services
Assembly:  Microsoft.MasterDataServices.Services (in Microsoft.MasterDataServices.Services.dll)

Syntax

'Declaration
Public Sub ApplyDispatchBehavior ( _
    serviceDescription As ServiceDescription, _
    serviceHostBase As ServiceHostBase _
)
'Usage
Dim instance As Service
Dim serviceDescription As ServiceDescription
Dim serviceHostBase As ServiceHostBase

instance.ApplyDispatchBehavior(serviceDescription, _
    serviceHostBase)
public void ApplyDispatchBehavior(
    ServiceDescription serviceDescription,
    ServiceHostBase serviceHostBase
)
public:
virtual void ApplyDispatchBehavior(
    ServiceDescription^ serviceDescription, 
    ServiceHostBase^ serviceHostBase
) sealed
abstract ApplyDispatchBehavior : 
        serviceDescription:ServiceDescription * 
        serviceHostBase:ServiceHostBase -> unit 
override ApplyDispatchBehavior : 
        serviceDescription:ServiceDescription * 
        serviceHostBase:ServiceHostBase -> unit 
public final function ApplyDispatchBehavior(
    serviceDescription : ServiceDescription, 
    serviceHostBase : ServiceHostBase
)

Parameters

Implements

IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)