add ISafeSerializationData
[mcs.git] / class / System.ServiceModel.Routing / System.ServiceModel.Routing.Configuration / SoapProcessingExtensionElement.cs
blob3694864f2e9ee5feab5721dcf6f7aec5f79bfcc5
1 using System;
2 using System.Collections.Generic;
3 using System.Collections.ObjectModel;
4 using System.Configuration;
5 using System.ServiceModel;
6 using System.ServiceModel.Channels;
7 using System.ServiceModel.Configuration;
8 using System.ServiceModel.Description;
9 using System.ServiceModel.Dispatcher;
11 namespace System.ServiceModel.Routing.Configuration
13 public class SoapProcessingExtensionElement : BehaviorExtensionElement
15 public override Type BehaviorType {
16 get { return typeof (SoapProcessingBehavior); }
19 [ConfigurationProperty ("processMessages", DefaultValue = true, Options = ConfigurationPropertyOptions.None)]
20 public bool ProcessMessages {
21 get { return (bool) base ["processMessages"]; }
22 set { base ["processMessages"] = value; }
25 protected override object CreateBehavior ()
27 return new SoapProcessingBehavior () { ProcessMessages = this.ProcessMessages };