ServiceHealthBehaviorBase.IServiceBehavior.ApplyDispatchBehavior Method

Definition

Changes run-time property values or inserts custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects.

C#
void IServiceBehavior.ApplyDispatchBehavior(System.ServiceModel.Description.ServiceDescription description, System.ServiceModel.ServiceHostBase serviceHostBase);

Parameters

description
ServiceDescription

The service description.

serviceHostBase
ServiceHostBase

The service host that is currently being built.

Implements

Exceptions

The channel dispatcher does not support the scheme.

Applies to

產品 版本
.NET Framework 4.8, 4.8.1