IErrorHandler.cs 504 B

123456789101112131415
  1. //-----------------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //-----------------------------------------------------------------------------
  4. namespace System.ServiceModel.Dispatcher
  5. {
  6. using System;
  7. using System.ServiceModel.Channels;
  8. public interface IErrorHandler
  9. {
  10. void ProvideFault(Exception error, MessageVersion version, ref Message fault);
  11. bool HandleError(Exception error);
  12. }
  13. }