/// <summary>
        ///
        /// </summary>
        /// <param name="serviceDescription"></param>
        /// <param name="serviceHostBase"></param>
        public void ApplyDispatchBehavior(ServiceDescription serviceDescription, System.ServiceModel.ServiceHostBase serviceHostBase)
        {
            IErrorHandler handler = new ValidateFaultHandler( );

            foreach (ChannelDispatcher dispatcher in serviceHostBase.ChannelDispatchers)
            {
                //dispatcher.ChannelInitializers.Add(new ServiceChannelInitializer());
                dispatcher.ErrorHandlers.Add(handler);
            }
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="endpoint"></param>
        /// <param name="endpointDispatcher"></param>
        public void ApplyDispatchBehavior(ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher)
        {
            IErrorHandler handler = new ValidateFaultHandler( );

            endpointDispatcher.ChannelDispatcher.ErrorHandlers.Add(handler);
        }