TeamMentor.CoreLib.TMWebHttpBehavior.AddServerErrorHandlers C# (CSharp) Method

AddServerErrorHandlers() protected method

protected AddServerErrorHandlers ( ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
endpointDispatcher System.ServiceModel.Dispatcher.EndpointDispatcher
return void
        protected override void AddServerErrorHandlers(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
        {
            endpointDispatcher.ChannelDispatcher.ErrorHandlers.Clear();
            endpointDispatcher.ChannelDispatcher.ErrorHandlers.Add(new TMErrorHandler());
        }
TMWebHttpBehavior