2
0

OperationContextScopeHandler.cs 482 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace System.ServiceModel.Dispatcher
  5. {
  6. internal class OperationContextScopeHandler : BaseRequestProcessorHandler
  7. {
  8. public override void ProcessRequestChain (MessageProcessingContext mrc)
  9. {
  10. using (new OperationContextScope (mrc.OperationContext)) {
  11. base.ProcessRequestChain (mrc);
  12. }
  13. }
  14. protected override bool ProcessRequest (MessageProcessingContext mrc)
  15. {
  16. return false;
  17. }
  18. }
  19. }