/// <inheritdoc/> public void ApplyDispatchBehavior(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase) { foreach (var channelDispatcherBase in serviceHostBase.ChannelDispatchers) { var channelDispatcher = (ChannelDispatcher)channelDispatcherBase; foreach (var endpointDispatcher in channelDispatcher.Endpoints) { TelemetryEndpointBehavior.ApplyDispatchBehaviorToEndpoint(endpointDispatcher); } } }
/// <inheritdoc /> public void ApplyDispatchBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime) { #if NETFRAMEWORK TelemetryEndpointBehavior.ApplyDispatchBehaviorToEndpoint(dispatchRuntime.EndpointDispatcher); #endif }
/// <inheritdoc /> public void ApplyClientBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, ClientRuntime clientRuntime) { TelemetryEndpointBehavior.ApplyClientBehaviorToClientRuntime(clientRuntime); }