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 { get; set; }
22 protected override object CreateBehavior ()
24 return new SoapProcessingBehavior () { ProcessMessages = this.ProcessMessages }
;