2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel.Dispatcher / OperationContextScopeHandler.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4
5 namespace System.ServiceModel.Dispatcher
6 {
7         internal class OperationContextScopeHandler : BaseRequestProcessorHandler
8         {
9                 public override void ProcessRequestChain (MessageProcessingContext mrc)
10                 {
11                         using (new OperationContextScope (mrc.OperationContext)) {
12                                 base.ProcessRequestChain (mrc);
13                         }
14                 }
15
16                 protected override bool ProcessRequest (MessageProcessingContext mrc)
17                 {
18                         return false;
19                 }               
20         }
21 }