Método ApplyDispatchBehavior
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 (em Microsoft.MasterDataServices.Services.dll)
Sintaxe
'Declaração
Public Sub ApplyDispatchBehavior ( _
serviceDescription As ServiceDescription, _
serviceHostBase As ServiceHostBase _
)
'Uso
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
)
Parâmetros
- serviceDescription
Tipo: System.ServiceModel.Description. . :: . .ServiceDescription
A service description.
- serviceHostBase
Tipo: System.ServiceModel. . :: . .ServiceHostBase
A service host base.
Implementa
IServiceBehavior. . :: . .ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)