System\ServiceModel\Configuration\BindingsSection.cs (34)
61[ConfigurationProperty(ConfigurationStrings.BasicHttpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
64get { return (BasicHttpBindingCollectionElement)base[ConfigurationStrings.BasicHttpBindingCollectionElementName]; }
67[ConfigurationProperty(ConfigurationStrings.BasicHttpsBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
70get { return (BasicHttpsBindingCollectionElement)base[ConfigurationStrings.BasicHttpsBindingCollectionElementName]; }
80[ConfigurationProperty(ConfigurationStrings.CustomBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
83get { return (CustomBindingCollectionElement)base[ConfigurationStrings.CustomBindingCollectionElementName]; }
86[ConfigurationProperty(ConfigurationStrings.MsmqIntegrationBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
89get { return (MsmqIntegrationBindingCollectionElement)base[ConfigurationStrings.MsmqIntegrationBindingCollectionElementName]; }
92[ConfigurationProperty(ConfigurationStrings.NetHttpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
95get { return (NetHttpBindingCollectionElement)base[ConfigurationStrings.NetHttpBindingCollectionElementName]; }
98[ConfigurationProperty(ConfigurationStrings.NetHttpsBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
101get { return (NetHttpsBindingCollectionElement)base[ConfigurationStrings.NetHttpsBindingCollectionElementName]; }
104[ConfigurationProperty(ConfigurationStrings.NetPeerTcpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
108get { return (NetPeerTcpBindingCollectionElement)base[ConfigurationStrings.NetPeerTcpBindingCollectionElementName]; }
111[ConfigurationProperty(ConfigurationStrings.NetMsmqBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
114get { return (NetMsmqBindingCollectionElement)base[ConfigurationStrings.NetMsmqBindingCollectionElementName]; }
117[ConfigurationProperty(ConfigurationStrings.NetNamedPipeBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
120get { return (NetNamedPipeBindingCollectionElement)base[ConfigurationStrings.NetNamedPipeBindingCollectionElementName]; }
123[ConfigurationProperty(ConfigurationStrings.NetTcpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
126get { return (NetTcpBindingCollectionElement)base[ConfigurationStrings.NetTcpBindingCollectionElementName]; }
129[ConfigurationProperty(ConfigurationStrings.WSFederationHttpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
132get { return (WSFederationHttpBindingCollectionElement)base[ConfigurationStrings.WSFederationHttpBindingCollectionElementName]; }
135[ConfigurationProperty(ConfigurationStrings.WS2007FederationHttpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
138get { return (WS2007FederationHttpBindingCollectionElement)base[ConfigurationStrings.WS2007FederationHttpBindingCollectionElementName]; }
141[ConfigurationProperty(ConfigurationStrings.WSHttpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
144get { return (WSHttpBindingCollectionElement)base[ConfigurationStrings.WSHttpBindingCollectionElementName]; }
147[ConfigurationProperty(ConfigurationStrings.WS2007HttpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
150get { return (WS2007HttpBindingCollectionElement)base[ConfigurationStrings.WS2007HttpBindingCollectionElementName]; }
153[ConfigurationProperty(ConfigurationStrings.WSDualHttpBindingCollectionElementName, Options = ConfigurationPropertyOptions.None)]
156get { return (WSDualHttpBindingCollectionElement)base[ConfigurationStrings.WSDualHttpBindingCollectionElementName]; }
166return (BindingsSection)config.GetSection(ConfigurationStrings.BindingsSectionGroupPath);
247outBindingSectionName = ConfigurationStrings.CustomBindingCollectionElementName;
267ExtensionElementCollection bindingExtensions = ExtensionsSection.UnsafeLookupCollection(ConfigurationStrings.BindingExtensions, evaluationContext);
344ConfigurationStrings.BindingConfiguration),
System\ServiceModel\Configuration\ChannelEndpointElement.cs (38)
47if (properties[ConfigurationStrings.Address].ValueOrigin != PropertyValueOrigin.Default)
51if (properties[ConfigurationStrings.BehaviorConfiguration].ValueOrigin != PropertyValueOrigin.Default)
55if (properties[ConfigurationStrings.Binding].ValueOrigin != PropertyValueOrigin.Default)
59if (properties[ConfigurationStrings.BindingConfiguration].ValueOrigin != PropertyValueOrigin.Default)
63if (properties[ConfigurationStrings.Name].ValueOrigin != PropertyValueOrigin.Default)
67if (properties[ConfigurationStrings.Contract].ValueOrigin != PropertyValueOrigin.Default)
71if (properties[ConfigurationStrings.Headers].ValueOrigin != PropertyValueOrigin.Default
76if (properties[ConfigurationStrings.Identity].ValueOrigin != PropertyValueOrigin.Default
81if (properties[ConfigurationStrings.Kind].ValueOrigin != PropertyValueOrigin.Default)
85if (properties[ConfigurationStrings.EndpointConfiguration].ValueOrigin != PropertyValueOrigin.Default)
91[ConfigurationProperty(ConfigurationStrings.Address, Options = ConfigurationPropertyOptions.None)]
94get { return (Uri)base[ConfigurationStrings.Address]; }
95set { base[ConfigurationStrings.Address] = value; }
98[ConfigurationProperty(ConfigurationStrings.BehaviorConfiguration, DefaultValue = "")]
102get { return (string)base[ConfigurationStrings.BehaviorConfiguration]; }
109base[ConfigurationStrings.BehaviorConfiguration] = value;
113[ConfigurationProperty(ConfigurationStrings.Binding, DefaultValue = "")]
117get { return (string)base[ConfigurationStrings.Binding]; }
124base[ConfigurationStrings.Binding] = value;
128[ConfigurationProperty(ConfigurationStrings.BindingConfiguration, DefaultValue = "")]
132get { return (string)base[ConfigurationStrings.BindingConfiguration]; }
139base[ConfigurationStrings.BindingConfiguration] = value;
143[ConfigurationProperty(ConfigurationStrings.Contract, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
147get { return (string)base[ConfigurationStrings.Contract]; }
154base[ConfigurationStrings.Contract] = value;
158[ConfigurationProperty(ConfigurationStrings.Headers)]
161get { return (AddressHeaderCollectionElement)base[ConfigurationStrings.Headers]; }
164[ConfigurationProperty(ConfigurationStrings.Identity)]
167get { return (IdentityElement)base[ConfigurationStrings.Identity]; }
170[ConfigurationProperty(ConfigurationStrings.Name, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
174get { return (string)base[ConfigurationStrings.Name]; }
181base[ConfigurationStrings.Name] = value;
185[ConfigurationProperty(ConfigurationStrings.Kind, DefaultValue = "", Options = ConfigurationPropertyOptions.None)]
189get { return (string)base[ConfigurationStrings.Kind]; }
196base[ConfigurationStrings.Kind] = value;
200[ConfigurationProperty(ConfigurationStrings.EndpointConfiguration, DefaultValue = "", Options = ConfigurationPropertyOptions.None)]
204get { return (string)base[ConfigurationStrings.EndpointConfiguration]; }
211base[ConfigurationStrings.EndpointConfiguration] = value;
System\ServiceModel\Configuration\ConfigurationHelpers.cs (7)
25BindingsSection bindingsSection = (BindingsSection)ConfigurationHelpers.GetAssociatedSection(evaluationContext, ConfigurationStrings.BindingsSectionGroupPath);
57BindingsSection bindingsSection = (BindingsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.BindingsSectionGroupPath);
87StandardEndpointsSection endpointsSection = (StandardEndpointsSection)ConfigurationHelpers.GetAssociatedSection(evaluationContext, ConfigurationStrings.StandardEndpointsSectionPath);
119StandardEndpointsSection endpointsSection = (StandardEndpointsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.StandardEndpointsSectionPath);
224return string.Concat(ConfigurationStrings.BindingsSectionGroupPath, "/", sectionName);
229return string.Concat(ConfigurationStrings.StandardEndpointsSectionName, "/", sectionName);
288return string.Concat(ConfigurationStrings.SectionGroupName, "/", sectionName);
System\ServiceModel\Configuration\ConnectionOrientedTransportElement.cs (35)
19[ConfigurationProperty(ConfigurationStrings.ConnectionBufferSize, DefaultValue = ConnectionOrientedTransportDefaults.ConnectionBufferSize)]
23get { return (int)base[ConfigurationStrings.ConnectionBufferSize]; }
24set { base[ConfigurationStrings.ConnectionBufferSize] = value; }
27[ConfigurationProperty(ConfigurationStrings.HostNameComparisonMode, DefaultValue = ConnectionOrientedTransportDefaults.HostNameComparisonMode)]
31get { return (HostNameComparisonMode)base[ConfigurationStrings.HostNameComparisonMode]; }
32set { base[ConfigurationStrings.HostNameComparisonMode] = value; }
35[ConfigurationProperty(ConfigurationStrings.ChannelInitializationTimeout, DefaultValue = ConnectionOrientedTransportDefaults.ChannelInitializationTimeoutString)]
37[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanOneTick)]
40get { return (TimeSpan)base[ConfigurationStrings.ChannelInitializationTimeout]; }
41set { base[ConfigurationStrings.ChannelInitializationTimeout] = value; }
44[ConfigurationProperty(ConfigurationStrings.MaxBufferSize, DefaultValue = TransportDefaults.MaxBufferSize)]
48get { return (int)base[ConfigurationStrings.MaxBufferSize]; }
49set { base[ConfigurationStrings.MaxBufferSize] = value; }
52[ConfigurationProperty(ConfigurationStrings.MaxPendingConnections, DefaultValue = ConnectionOrientedTransportDefaults.MaxPendingConnectionsConst)]
56get { return (int)base[ConfigurationStrings.MaxPendingConnections]; }
57set { base[ConfigurationStrings.MaxPendingConnections] = value; }
60[ConfigurationProperty(ConfigurationStrings.MaxOutputDelay, DefaultValue = ConnectionOrientedTransportDefaults.MaxOutputDelayString)]
62[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
65get { return (TimeSpan)base[ConfigurationStrings.MaxOutputDelay]; }
66set { base[ConfigurationStrings.MaxOutputDelay] = value; }
69[ConfigurationProperty(ConfigurationStrings.MaxPendingAccepts, DefaultValue = ConnectionOrientedTransportDefaults.MaxPendingAcceptsConst)]
73get { return (int)base[ConfigurationStrings.MaxPendingAccepts]; }
74set { base[ConfigurationStrings.MaxPendingAccepts] = value; }
77[ConfigurationProperty(ConfigurationStrings.TransferMode, DefaultValue = ConnectionOrientedTransportDefaults.TransferMode)]
81get { return (TransferMode)base[ConfigurationStrings.TransferMode]; }
82set { base[ConfigurationStrings.TransferMode] = value; }
93if (propertyInfo[ConfigurationStrings.MaxBufferSize].ValueOrigin != PropertyValueOrigin.Default)
129SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ConnectionBufferSize, binding.ConnectionBufferSize);
130SetPropertyValueIfNotDefaultValue(ConfigurationStrings.HostNameComparisonMode, binding.HostNameComparisonMode);
131SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ChannelInitializationTimeout, binding.ChannelInitializationTimeout);
132SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferSize, binding.MaxBufferSize);
135ConfigurationProperty maxPendingConnectionsProperty = this.Properties[ConfigurationStrings.MaxPendingConnections];
138SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxOutputDelay, binding.MaxOutputDelay);
141ConfigurationProperty maxPendingAcceptsProperty = this.Properties[ConfigurationStrings.MaxPendingAccepts];
144SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransferMode, binding.TransferMode);
System\ServiceModel\Configuration\ExtensionsSection.cs (89)
17[ConfigurationProperty(ConfigurationStrings.BehaviorExtensions)]
20get { return (ExtensionElementCollection)base[ConfigurationStrings.BehaviorExtensions]; }
23[ConfigurationProperty(ConfigurationStrings.BindingElementExtensions)]
26get { return (ExtensionElementCollection)base[ConfigurationStrings.BindingElementExtensions]; }
29[ConfigurationProperty(ConfigurationStrings.BindingExtensions)]
32get { return (ExtensionElementCollection)base[ConfigurationStrings.BindingExtensions]; }
35[ConfigurationProperty(ConfigurationStrings.EndpointExtensions)]
38get { return (ExtensionElementCollection)base[ConfigurationStrings.EndpointExtensions]; }
43this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ClientCredentials, typeof(ClientCredentialsElement).AssemblyQualifiedName));
44this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceCredentials, typeof(ServiceCredentialsElement).AssemblyQualifiedName));
45this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.CallbackDebugSectionName, typeof(CallbackDebugElement).AssemblyQualifiedName));
46this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ClientViaSectionName, typeof(ClientViaElement).AssemblyQualifiedName));
47this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.SynchronousReceiveSectionName, typeof(SynchronousReceiveElement).AssemblyQualifiedName));
48this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.DispatcherSynchronizationSectionName, typeof(DispatcherSynchronizationElement).AssemblyQualifiedName));
49this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceMetadataPublishingSectionName, typeof(ServiceMetadataPublishingElement).AssemblyQualifiedName));
50this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceDebugSectionName, typeof(ServiceDebugElement).AssemblyQualifiedName));
51this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceHealthSectionName, typeof(ServiceHealthElement).AssemblyQualifiedName));
52this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceAuthenticationManagerSectionName, typeof(ServiceAuthenticationElement).AssemblyQualifiedName));
53this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceAuthorizationSectionName, typeof(ServiceAuthorizationElement).AssemblyQualifiedName));
54this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceSecurityAuditSectionName, typeof(ServiceSecurityAuditElement).AssemblyQualifiedName));
55this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceThrottlingSectionName, typeof(ServiceThrottlingElement).AssemblyQualifiedName));
56this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.TransactedBatchingSectionName, typeof(TransactedBatchingElement).AssemblyQualifiedName));
57this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.DataContractSerializerSectionName, typeof(DataContractSerializerElement).AssemblyQualifiedName));
58this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.ServiceTimeouts, typeof(ServiceTimeoutsElement).AssemblyQualifiedName));
59this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.CallbackTimeouts, typeof(CallbackTimeoutsElement).AssemblyQualifiedName));
60this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.UseRequestHeadersForMetadataAddress, typeof(UseRequestHeadersForMetadataAddressElement).AssemblyQualifiedName));
61this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.Clear, typeof(ClearBehaviorElement).AssemblyQualifiedName));
62this.BehaviorExtensions.Add(new ExtensionElement(ConfigurationStrings.Remove, typeof(RemoveBehaviorElement).AssemblyQualifiedName));
67this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.BinaryMessageEncodingSectionName, typeof(BinaryMessageEncodingElement).AssemblyQualifiedName));
68this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.CompositeDuplexSectionName, typeof(CompositeDuplexElement).AssemblyQualifiedName));
69this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.OneWaySectionName, typeof(OneWayElement).AssemblyQualifiedName));
70this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.TransactionFlowSectionName, typeof(TransactionFlowElement).AssemblyQualifiedName));
71this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.HttpsTransportSectionName, typeof(HttpsTransportElement).AssemblyQualifiedName));
72this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.HttpTransportSectionName, typeof(HttpTransportElement).AssemblyQualifiedName));
73this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.MsmqIntegrationSectionName, typeof(MsmqIntegrationElement).AssemblyQualifiedName));
74this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.MsmqTransportSectionName, typeof(MsmqTransportElement).AssemblyQualifiedName));
75this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.MtomMessageEncodingSectionName, typeof(MtomMessageEncodingElement).AssemblyQualifiedName));
76this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.NamedPipeTransportSectionName, typeof(NamedPipeTransportElement).AssemblyQualifiedName));
78this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.PeerTransportSectionName, typeof(PeerTransportElement).AssemblyQualifiedName));
79this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.PnrpPeerResolverSectionName, typeof(PnrpPeerResolverElement).AssemblyQualifiedName));
81this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.PrivacyNoticeSectionName, typeof(PrivacyNoticeElement).AssemblyQualifiedName));
82this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.ReliableSessionSectionName, typeof(ReliableSessionElement).AssemblyQualifiedName));
83this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.SecuritySectionName, typeof(SecurityElement).AssemblyQualifiedName));
84this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.SslStreamSecuritySectionName, typeof(SslStreamSecurityElement).AssemblyQualifiedName));
85this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.TcpTransportSectionName, typeof(TcpTransportElement).AssemblyQualifiedName));
86this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.TextMessageEncodingSectionName, typeof(TextMessageEncodingElement).AssemblyQualifiedName));
87this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.UnrecognizedPolicyAssertionSectionName, typeof(UnrecognizedPolicyAssertionElement).AssemblyQualifiedName));
88this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.UseManagedPresentationSectionName, typeof(UseManagedPresentationElement).AssemblyQualifiedName));
89this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.WindowsStreamSecuritySectionName, typeof(WindowsStreamSecurityElement).AssemblyQualifiedName));
93this.BindingElementExtensions.Add(new ExtensionElement(ConfigurationStrings.UdpTransportSectionName, ConfigurationStrings.UdpTransportElementType));
99this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.BasicHttpBindingCollectionElementName, typeof(BasicHttpBindingCollectionElement).AssemblyQualifiedName));
100this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.CustomBindingCollectionElementName, typeof(CustomBindingCollectionElement).AssemblyQualifiedName));
101this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.MsmqIntegrationBindingCollectionElementName, typeof(MsmqIntegrationBindingCollectionElement).AssemblyQualifiedName));
102this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.NetMsmqBindingCollectionElementName, typeof(NetMsmqBindingCollectionElement).AssemblyQualifiedName));
103this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.NetNamedPipeBindingCollectionElementName, typeof(NetNamedPipeBindingCollectionElement).AssemblyQualifiedName));
105this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.NetPeerTcpBindingCollectionElementName, typeof(NetPeerTcpBindingCollectionElement).AssemblyQualifiedName));
107this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.NetTcpBindingCollectionElementName, typeof(NetTcpBindingCollectionElement).AssemblyQualifiedName));
108this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.WSDualHttpBindingCollectionElementName, typeof(WSDualHttpBindingCollectionElement).AssemblyQualifiedName));
109this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.WSFederationHttpBindingCollectionElementName, typeof(WSFederationHttpBindingCollectionElement).AssemblyQualifiedName));
110this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.WS2007FederationHttpBindingCollectionElementName, typeof(WS2007FederationHttpBindingCollectionElement).AssemblyQualifiedName));
111this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.WSHttpBindingCollectionElementName, typeof(WSHttpBindingCollectionElement).AssemblyQualifiedName));
112this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.WS2007HttpBindingCollectionElementName, typeof(WS2007HttpBindingCollectionElement).AssemblyQualifiedName));
113this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.MexHttpBindingCollectionElementName, typeof(MexHttpBindingCollectionElement).AssemblyQualifiedName));
114this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.MexHttpsBindingCollectionElementName, typeof(MexHttpsBindingCollectionElement).AssemblyQualifiedName));
115this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.MexNamedPipeBindingCollectionElementName, typeof(MexNamedPipeBindingCollectionElement).AssemblyQualifiedName));
116this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.MexTcpBindingCollectionElementName, typeof(MexTcpBindingCollectionElement).AssemblyQualifiedName));
120this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.UdpBindingCollectionElementName, ConfigurationStrings.UdpBindingCollectionElementType));
121this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.NetHttpBindingCollectionElementName, typeof(NetHttpBindingCollectionElement).AssemblyQualifiedName));
122this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.NetHttpsBindingCollectionElementName, typeof(NetHttpsBindingCollectionElement).AssemblyQualifiedName));
123this.BindingExtensions.Add(new ExtensionElement(ConfigurationStrings.BasicHttpsBindingCollectionElementName, typeof(BasicHttpsBindingCollectionElement).AssemblyQualifiedName));
129this.EndpointExtensions.Add(new ExtensionElement(ConfigurationStrings.MexStandardEndpointCollectionElementName, typeof(ServiceMetadataEndpointCollectionElement).AssemblyQualifiedName));
164collectionName = ConfigurationStrings.BehaviorExtensions;
168collectionName = ConfigurationStrings.BindingElementExtensions;
172collectionName = ConfigurationStrings.BindingExtensions;
176collectionName = ConfigurationStrings.EndpointExtensions;
199extensionsSection = (ExtensionsSection)ConfigurationHelpers.GetAssociatedSection(evaluationContext, ConfigurationStrings.ExtensionsSectionPath);
212extensionsSection = (ExtensionsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ExtensionsSectionPath);
217case (ConfigurationStrings.BehaviorExtensions):
220case (ConfigurationStrings.BindingElementExtensions):
223case (ConfigurationStrings.BindingExtensions):
226case (ConfigurationStrings.EndpointExtensions):
253extensionsSection = (ExtensionsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.ExtensionsSectionPath);
266extensionsSection = (ExtensionsSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ExtensionsSectionPath);
271case (ConfigurationStrings.BehaviorExtensions):
274case (ConfigurationStrings.BindingElementExtensions):
277case (ConfigurationStrings.BindingExtensions):
280case (ConfigurationStrings.EndpointExtensions):
System\ServiceModel\Configuration\HttpBindingBaseElement.cs (43)
24[ConfigurationProperty(ConfigurationStrings.AllowCookies, DefaultValue = HttpTransportDefaults.AllowCookies)]
27get { return (bool)base[ConfigurationStrings.AllowCookies]; }
28set { base[ConfigurationStrings.AllowCookies] = value; }
31[ConfigurationProperty(ConfigurationStrings.BypassProxyOnLocal, DefaultValue = HttpTransportDefaults.BypassProxyOnLocal)]
34get { return (bool)base[ConfigurationStrings.BypassProxyOnLocal]; }
35set { base[ConfigurationStrings.BypassProxyOnLocal] = value; }
38[ConfigurationProperty(ConfigurationStrings.HostNameComparisonMode, DefaultValue = HttpTransportDefaults.HostNameComparisonMode)]
42get { return (HostNameComparisonMode)base[ConfigurationStrings.HostNameComparisonMode]; }
43set { base[ConfigurationStrings.HostNameComparisonMode] = value; }
46[ConfigurationProperty(ConfigurationStrings.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)]
50get { return (long)base[ConfigurationStrings.MaxBufferPoolSize]; }
51set { base[ConfigurationStrings.MaxBufferPoolSize] = value; }
54[ConfigurationProperty(ConfigurationStrings.MaxBufferSize, DefaultValue = TransportDefaults.MaxBufferSize)]
58get { return (int)base[ConfigurationStrings.MaxBufferSize]; }
59set { base[ConfigurationStrings.MaxBufferSize] = value; }
62[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue = TransportDefaults.MaxReceivedMessageSize)]
66get { return (long)base[ConfigurationStrings.MaxReceivedMessageSize]; }
67set { base[ConfigurationStrings.MaxReceivedMessageSize] = value; }
72[ConfigurationProperty(ConfigurationStrings.ProxyAddress, DefaultValue = HttpTransportDefaults.ProxyAddress)]
75get { return (Uri)base[ConfigurationStrings.ProxyAddress]; }
76set { base[ConfigurationStrings.ProxyAddress] = value; }
79[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)]
82get { return (XmlDictionaryReaderQuotasElement)base[ConfigurationStrings.ReaderQuotas]; }
87[ConfigurationProperty(ConfigurationStrings.TextEncoding, DefaultValue = TextEncoderDefaults.EncodingString)]
91get { return (Encoding)base[ConfigurationStrings.TextEncoding]; }
92set { base[ConfigurationStrings.TextEncoding] = value; }
95[ConfigurationProperty(ConfigurationStrings.TransferMode, DefaultValue = HttpTransportDefaults.TransferMode)]
99get { return (TransferMode)base[ConfigurationStrings.TransferMode]; }
100set { base[ConfigurationStrings.TransferMode] = value; }
103[ConfigurationProperty(ConfigurationStrings.UseDefaultWebProxy, DefaultValue = HttpTransportDefaults.UseDefaultWebProxy)]
106get { return (bool)base[ConfigurationStrings.UseDefaultWebProxy]; }
107set { base[ConfigurationStrings.UseDefaultWebProxy] = value; }
113SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AllowCookies, binding.AllowCookies);
121SetPropertyValueIfNotDefaultValue(ConfigurationStrings.BypassProxyOnLocal, httpBindingBase.BypassProxyOnLocal);
122SetPropertyValueIfNotDefaultValue(ConfigurationStrings.HostNameComparisonMode, httpBindingBase.HostNameComparisonMode);
123SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferSize, httpBindingBase.MaxBufferSize);
124SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, httpBindingBase.MaxBufferPoolSize);
125SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, httpBindingBase.MaxReceivedMessageSize);
126SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProxyAddress, httpBindingBase.ProxyAddress);
127SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TextEncoding, httpBindingBase.TextEncoding);
128SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransferMode, httpBindingBase.TransferMode);
129SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseDefaultWebProxy, httpBindingBase.UseDefaultWebProxy);
152if (propertyInfo[ConfigurationStrings.MaxBufferSize].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\HttpTransportElement.cs (71)
27[ConfigurationProperty(ConfigurationStrings.AllowCookies, DefaultValue = HttpTransportDefaults.AllowCookies)]
30get { return (bool)base[ConfigurationStrings.AllowCookies]; }
31set { base[ConfigurationStrings.AllowCookies] = value; }
34[ConfigurationProperty(ConfigurationStrings.RequestInitializationTimeout, DefaultValue = HttpTransportDefaults.RequestInitializationTimeoutString)]
36[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
39get { return (TimeSpan)base[ConfigurationStrings.RequestInitializationTimeout]; }
40set { base[ConfigurationStrings.RequestInitializationTimeout] = value; }
43[ConfigurationProperty(ConfigurationStrings.AuthenticationScheme, DefaultValue = HttpTransportDefaults.AuthenticationScheme)]
47get { return (AuthenticationSchemes)base[ConfigurationStrings.AuthenticationScheme]; }
48set { base[ConfigurationStrings.AuthenticationScheme] = value; }
56[ConfigurationProperty(ConfigurationStrings.BypassProxyOnLocal, DefaultValue = HttpTransportDefaults.BypassProxyOnLocal)]
59get { return (bool)base[ConfigurationStrings.BypassProxyOnLocal]; }
60set { base[ConfigurationStrings.BypassProxyOnLocal] = value; }
63[ConfigurationProperty(ConfigurationStrings.DecompressionEnabled, DefaultValue = HttpTransportDefaults.DecompressionEnabled)]
66get { return (bool)base[ConfigurationStrings.DecompressionEnabled]; }
67set { base[ConfigurationStrings.DecompressionEnabled] = value; }
70[ConfigurationProperty(ConfigurationStrings.HostNameComparisonMode, DefaultValue = HttpTransportDefaults.HostNameComparisonMode)]
74get { return (HostNameComparisonMode)base[ConfigurationStrings.HostNameComparisonMode]; }
75set { base[ConfigurationStrings.HostNameComparisonMode] = value; }
78[ConfigurationProperty(ConfigurationStrings.KeepAliveEnabled, DefaultValue = HttpTransportDefaults.KeepAliveEnabled)]
81get { return (bool)base[ConfigurationStrings.KeepAliveEnabled]; }
82set { base[ConfigurationStrings.KeepAliveEnabled] = value; }
85[ConfigurationProperty(ConfigurationStrings.MaxBufferSize, DefaultValue = TransportDefaults.MaxBufferSize)]
89get { return (int)base[ConfigurationStrings.MaxBufferSize]; }
90set { base[ConfigurationStrings.MaxBufferSize] = value; }
93[ConfigurationProperty(ConfigurationStrings.MaxPendingAccepts, DefaultValue = HttpTransportDefaults.DefaultMaxPendingAccepts)]
97get { return (int)base[ConfigurationStrings.MaxPendingAccepts]; }
98set { base[ConfigurationStrings.MaxPendingAccepts] = value; }
101[ConfigurationProperty(ConfigurationStrings.MessageHandlerFactory, DefaultValue = HttpTransportDefaults.MessageHandlerFactory)]
105get { return (HttpMessageHandlerFactoryElement)this[ConfigurationStrings.MessageHandlerFactory]; }
106set { base[ConfigurationStrings.MessageHandlerFactory] = value; }
109[ConfigurationProperty(ConfigurationStrings.ProxyAddress, DefaultValue = HttpTransportDefaults.ProxyAddress)]
112get { return (Uri)base[ConfigurationStrings.ProxyAddress]; }
113set { base[ConfigurationStrings.ProxyAddress] = value; }
116[ConfigurationProperty(ConfigurationStrings.ProxyAuthenticationScheme, DefaultValue = HttpTransportDefaults.ProxyAuthenticationScheme)]
120get { return (AuthenticationSchemes)base[ConfigurationStrings.ProxyAuthenticationScheme]; }
121set { base[ConfigurationStrings.ProxyAuthenticationScheme] = value; }
124[ConfigurationProperty(ConfigurationStrings.Realm, DefaultValue = HttpTransportDefaults.Realm)]
128get { return (string)base[ConfigurationStrings.Realm]; }
135base[ConfigurationStrings.Realm] = value;
139[ConfigurationProperty(ConfigurationStrings.TransferMode, DefaultValue = HttpTransportDefaults.TransferMode)]
143get { return (TransferMode)base[ConfigurationStrings.TransferMode]; }
144set { base[ConfigurationStrings.TransferMode] = value; }
147[ConfigurationProperty(ConfigurationStrings.UnsafeConnectionNtlmAuthentication, DefaultValue = HttpTransportDefaults.UnsafeConnectionNtlmAuthentication)]
150get { return (bool)base[ConfigurationStrings.UnsafeConnectionNtlmAuthentication]; }
151set { base[ConfigurationStrings.UnsafeConnectionNtlmAuthentication] = value; }
154[ConfigurationProperty(ConfigurationStrings.UseDefaultWebProxy, DefaultValue = HttpTransportDefaults.UseDefaultWebProxy)]
157get { return (bool)base[ConfigurationStrings.UseDefaultWebProxy]; }
158set { base[ConfigurationStrings.UseDefaultWebProxy] = value; }
162[ConfigurationProperty(ConfigurationStrings.ExtendedProtectionPolicy)]
165get { return (ExtendedProtectionPolicyElement)base[ConfigurationStrings.ExtendedProtectionPolicy]; }
166private set { base[ConfigurationStrings.ExtendedProtectionPolicy] = value; }
170[ConfigurationProperty(ConfigurationStrings.WebSocketSettingsSectionName)]
173get { return (WebSocketTransportSettingsElement)base[ConfigurationStrings.WebSocketSettingsSectionName]; }
174set { base[ConfigurationStrings.WebSocketSettingsSectionName] = value; }
189if (propertyInfo[ConfigurationStrings.MaxBufferSize].ValueOrigin != PropertyValueOrigin.Default)
244SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AllowCookies, source.AllowCookies);
245SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AuthenticationScheme, source.AuthenticationScheme);
246SetPropertyValueIfNotDefaultValue(ConfigurationStrings.DecompressionEnabled, source.DecompressionEnabled);
247SetPropertyValueIfNotDefaultValue(ConfigurationStrings.BypassProxyOnLocal, source.BypassProxyOnLocal);
248SetPropertyValueIfNotDefaultValue(ConfigurationStrings.KeepAliveEnabled, source.KeepAliveEnabled);
249SetPropertyValueIfNotDefaultValue(ConfigurationStrings.HostNameComparisonMode, source.HostNameComparisonMode);
250SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferSize, source.MaxBufferSize);
251SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxPendingAccepts, source.MaxPendingAccepts);
252SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProxyAddress, source.ProxyAddress);
253SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProxyAuthenticationScheme, source.ProxyAuthenticationScheme);
254SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Realm, source.Realm);
255SetPropertyValueIfNotDefaultValue(ConfigurationStrings.RequestInitializationTimeout, source.RequestInitializationTimeout);
256SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransferMode, source.TransferMode);
257SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UnsafeConnectionNtlmAuthentication, source.UnsafeConnectionNtlmAuthentication);
258SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseDefaultWebProxy, source.UseDefaultWebProxy);
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (34)
28[ConfigurationProperty(ConfigurationStrings.DefaultMessageSecurityVersion)]
32get { return (MessageSecurityVersion)base[ConfigurationStrings.DefaultMessageSecurityVersion]; }
33set { base[ConfigurationStrings.DefaultMessageSecurityVersion] = value; }
36[ConfigurationProperty(ConfigurationStrings.AdditionalRequestParameters)]
39get { return (XmlElementElementCollection)base[ConfigurationStrings.AdditionalRequestParameters]; }
42[ConfigurationProperty(ConfigurationStrings.ClaimTypeRequirements)]
45get { return (ClaimTypeElementCollection)base[ConfigurationStrings.ClaimTypeRequirements]; }
48[ConfigurationProperty(ConfigurationStrings.Issuer)]
51get { return (IssuedTokenParametersEndpointAddressElement)base[ConfigurationStrings.Issuer]; }
54[ConfigurationProperty(ConfigurationStrings.IssuerMetadata)]
57get { return (EndpointAddressElementBase)base[ConfigurationStrings.IssuerMetadata]; }
60[ConfigurationProperty(ConfigurationStrings.KeySize, DefaultValue = 0)]
64get { return (int)base[ConfigurationStrings.KeySize]; }
65set { base[ConfigurationStrings.KeySize] = value; }
68[ConfigurationProperty(ConfigurationStrings.KeyType, DefaultValue = IssuedSecurityTokenParameters.defaultKeyType)]
72get { return (SecurityKeyType)base[ConfigurationStrings.KeyType]; }
73set { base[ConfigurationStrings.KeyType] = value; }
101[ConfigurationProperty(ConfigurationStrings.TokenType, DefaultValue = "")]
105get { return (string)base[ConfigurationStrings.TokenType]; }
113base[ConfigurationStrings.TokenType] = value;
117[ConfigurationProperty(ConfigurationStrings.UseStrTransform, DefaultValue = false)]
120get { return (bool)base[ConfigurationStrings.UseStrTransform]; }
121set { base[ConfigurationStrings.UseStrTransform] = value; }
154if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.Issuer].ValueOrigin)
166if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.IssuerMetadata].ValueOrigin)
201if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.Issuer].ValueOrigin)
205if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.IssuerMetadata].ValueOrigin)
230SetPropertyValueIfNotDefaultValue(ConfigurationStrings.KeyType, source.KeyType);
233SetPropertyValueIfNotDefaultValue(ConfigurationStrings.KeySize, source.KeySize);
235SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TokenType, source.TokenType);
236SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseStrTransform, source.UseStrTransform);
242SetPropertyValueIfNotDefaultValue(ConfigurationStrings.DefaultMessageSecurityVersion, source.DefaultMessageSecurityVersion);
296commentWriter.WriteStartElement(ConfigurationStrings.AlternativeIssuedTokenParameters);
299element.SerializeToXmlElement(commentWriter, ConfigurationStrings.IssuedTokenParameters);
System\ServiceModel\Configuration\LocalClientSecuritySettingsElement.cs (51)
19[ConfigurationProperty(ConfigurationStrings.CacheCookies, DefaultValue = SpnegoTokenProvider.defaultClientCacheTokens)]
22get { return (bool)base[ConfigurationStrings.CacheCookies]; }
23set { base[ConfigurationStrings.CacheCookies] = value; }
26[ConfigurationProperty(ConfigurationStrings.DetectReplays, DefaultValue = SecurityProtocolFactory.defaultDetectReplays)]
29get { return (bool)base[ConfigurationStrings.DetectReplays]; }
30set { base[ConfigurationStrings.DetectReplays] = value; }
33[ConfigurationProperty(ConfigurationStrings.ReplayCacheSize, DefaultValue = SecurityProtocolFactory.defaultMaxCachedNonces)]
37get { return (int)base[ConfigurationStrings.ReplayCacheSize]; }
38set { base[ConfigurationStrings.ReplayCacheSize] = value; }
41[ConfigurationProperty(ConfigurationStrings.MaxClockSkew, DefaultValue = SecurityProtocolFactory.defaultMaxClockSkewString)]
43[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
46get { return (TimeSpan)base[ConfigurationStrings.MaxClockSkew]; }
47set { base[ConfigurationStrings.MaxClockSkew] = value; }
50[ConfigurationProperty(ConfigurationStrings.MaxCookieCachingTime, DefaultValue = SpnegoTokenProvider.defaultClientMaxTokenCachingTimeString)]
52[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
55get { return (TimeSpan)base[ConfigurationStrings.MaxCookieCachingTime]; }
56set { base[ConfigurationStrings.MaxCookieCachingTime] = value; }
59[ConfigurationProperty(ConfigurationStrings.ReplayWindow, DefaultValue = SecurityProtocolFactory.defaultReplayWindowString)]
61[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
64get { return (TimeSpan)base[ConfigurationStrings.ReplayWindow]; }
65set { base[ConfigurationStrings.ReplayWindow] = value; }
68[ConfigurationProperty(ConfigurationStrings.SessionKeyRenewalInterval, DefaultValue = SecuritySessionClientSettings.defaultKeyRenewalIntervalString)]
70[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
73get { return (TimeSpan)base[ConfigurationStrings.SessionKeyRenewalInterval]; }
74set { base[ConfigurationStrings.SessionKeyRenewalInterval] = value; }
77[ConfigurationProperty(ConfigurationStrings.SessionKeyRolloverInterval, DefaultValue = SecuritySessionClientSettings.defaultKeyRolloverIntervalString)]
79[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
82get { return (TimeSpan)base[ConfigurationStrings.SessionKeyRolloverInterval]; }
83set { base[ConfigurationStrings.SessionKeyRolloverInterval] = value; }
86[ConfigurationProperty(ConfigurationStrings.ReconnectTransportOnFailure, DefaultValue = System.ServiceModel.Security.SecuritySessionClientSettings.defaultTolerateTransportFailures)]
89get { return (bool)base[ConfigurationStrings.ReconnectTransportOnFailure]; }
90set { base[ConfigurationStrings.ReconnectTransportOnFailure] = value; }
93[ConfigurationProperty(ConfigurationStrings.TimestampValidityDuration, DefaultValue = SecurityProtocolFactory.defaultTimestampValidityDurationString)]
95[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
98get { return (TimeSpan)base[ConfigurationStrings.TimestampValidityDuration]; }
99set { base[ConfigurationStrings.TimestampValidityDuration] = value; }
102[ConfigurationProperty(ConfigurationStrings.CookieRenewalThresholdPercentage, DefaultValue = SpnegoTokenProvider.defaultServiceTokenValidityThresholdPercentage)]
106get { return (int)base[ConfigurationStrings.CookieRenewalThresholdPercentage]; }
107set { base[ConfigurationStrings.CookieRenewalThresholdPercentage] = value; }
117if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.DetectReplays].ValueOrigin)
136SetPropertyValueIfNotDefaultValue(ConfigurationStrings.CacheCookies, settings.CacheCookies);
138SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxClockSkew, settings.MaxClockSkew);
139SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxCookieCachingTime, settings.MaxCookieCachingTime);
140SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReconnectTransportOnFailure, settings.ReconnectTransportOnFailure);
141SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReplayCacheSize, settings.ReplayCacheSize);
142SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReplayWindow, settings.ReplayWindow);
143SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SessionKeyRenewalInterval, settings.SessionKeyRenewalInterval);
144SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SessionKeyRolloverInterval, settings.SessionKeyRolloverInterval);
145SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TimestampValidityDuration, settings.TimestampValidityDuration);
146SetPropertyValueIfNotDefaultValue(ConfigurationStrings.CookieRenewalThresholdPercentage, settings.CookieRenewalThresholdPercentage);
156if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.DetectReplays].ValueOrigin)
System\ServiceModel\Configuration\LocalServiceSecuritySettingsElement.cs (65)
19[ConfigurationProperty(ConfigurationStrings.DetectReplays, DefaultValue = SecurityProtocolFactory.defaultDetectReplays)]
22get { return (bool)base[ConfigurationStrings.DetectReplays]; }
23set { base[ConfigurationStrings.DetectReplays] = value; }
26[ConfigurationProperty(ConfigurationStrings.IssuedCookieLifetime, DefaultValue = SpnegoTokenAuthenticator.defaultServerIssuedTokenLifetimeString)]
28[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
31get { return (TimeSpan)base[ConfigurationStrings.IssuedCookieLifetime]; }
32set { base[ConfigurationStrings.IssuedCookieLifetime] = value; }
35[ConfigurationProperty(ConfigurationStrings.MaxStatefulNegotiations, DefaultValue = SpnegoTokenAuthenticator.defaultServerMaxActiveNegotiations)]
39get { return (int)base[ConfigurationStrings.MaxStatefulNegotiations]; }
40set { base[ConfigurationStrings.MaxStatefulNegotiations] = value; }
43[ConfigurationProperty(ConfigurationStrings.ReplayCacheSize, DefaultValue = SecurityProtocolFactory.defaultMaxCachedNonces)]
47get { return (int)base[ConfigurationStrings.ReplayCacheSize]; }
48set { base[ConfigurationStrings.ReplayCacheSize] = value; }
51[ConfigurationProperty(ConfigurationStrings.MaxClockSkew, DefaultValue = SecurityProtocolFactory.defaultMaxClockSkewString)]
53[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
56get { return (TimeSpan)base[ConfigurationStrings.MaxClockSkew]; }
57set { base[ConfigurationStrings.MaxClockSkew] = value; }
60[ConfigurationProperty(ConfigurationStrings.NegotiationTimeout, DefaultValue = SpnegoTokenAuthenticator.defaultServerMaxNegotiationLifetimeString)]
62[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
65get { return (TimeSpan)base[ConfigurationStrings.NegotiationTimeout]; }
66set { base[ConfigurationStrings.NegotiationTimeout] = value; }
69[ConfigurationProperty(ConfigurationStrings.ReplayWindow, DefaultValue = SecurityProtocolFactory.defaultReplayWindowString)]
71[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
74get { return (TimeSpan)base[ConfigurationStrings.ReplayWindow]; }
75set { base[ConfigurationStrings.ReplayWindow] = value; }
78[ConfigurationProperty(ConfigurationStrings.InactivityTimeout, DefaultValue = SecuritySessionServerSettings.defaultInactivityTimeoutString)]
80[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
83get { return (TimeSpan)base[ConfigurationStrings.InactivityTimeout]; }
84set { base[ConfigurationStrings.InactivityTimeout] = value; }
87[ConfigurationProperty(ConfigurationStrings.SessionKeyRenewalInterval, DefaultValue = SecuritySessionServerSettings.defaultKeyRenewalIntervalString)]
89[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
92get { return (TimeSpan)base[ConfigurationStrings.SessionKeyRenewalInterval]; }
93set { base[ConfigurationStrings.SessionKeyRenewalInterval] = value; }
96[ConfigurationProperty(ConfigurationStrings.SessionKeyRolloverInterval, DefaultValue = SecuritySessionServerSettings.defaultKeyRolloverIntervalString)]
98[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
101get { return (TimeSpan)base[ConfigurationStrings.SessionKeyRolloverInterval]; }
102set { base[ConfigurationStrings.SessionKeyRolloverInterval] = value; }
105[ConfigurationProperty(ConfigurationStrings.ReconnectTransportOnFailure, DefaultValue = SecuritySessionServerSettings.defaultTolerateTransportFailures)]
108get { return (bool)base[ConfigurationStrings.ReconnectTransportOnFailure]; }
109set { base[ConfigurationStrings.ReconnectTransportOnFailure] = value; }
112[ConfigurationProperty(ConfigurationStrings.MaxPendingSessions, DefaultValue = SecuritySessionServerSettings.defaultMaximumPendingSessions)]
116get { return (int)base[ConfigurationStrings.MaxPendingSessions]; }
117set { base[ConfigurationStrings.MaxPendingSessions] = value; }
120[ConfigurationProperty(ConfigurationStrings.MaxCachedCookies, DefaultValue = SpnegoTokenAuthenticator.defaultServerMaxCachedTokens)]
124get { return (int)base[ConfigurationStrings.MaxCachedCookies]; }
125set { base[ConfigurationStrings.MaxCachedCookies] = value; }
128[ConfigurationProperty(ConfigurationStrings.TimestampValidityDuration, DefaultValue = SecurityProtocolFactory.defaultTimestampValidityDurationString)]
130[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
133get { return (TimeSpan)base[ConfigurationStrings.TimestampValidityDuration]; }
134set { base[ConfigurationStrings.TimestampValidityDuration] = value; }
143if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.DetectReplays].ValueOrigin)
167SetPropertyValueIfNotDefaultValue(ConfigurationStrings.IssuedCookieLifetime, settings.IssuedCookieLifetime);
168SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxClockSkew, settings.MaxClockSkew);
169SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxPendingSessions, settings.MaxPendingSessions);
170SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxStatefulNegotiations, settings.MaxStatefulNegotiations);
171SetPropertyValueIfNotDefaultValue(ConfigurationStrings.NegotiationTimeout, settings.NegotiationTimeout);
172SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReconnectTransportOnFailure, settings.ReconnectTransportOnFailure);
173SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReplayCacheSize, settings.ReplayCacheSize);
174SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReplayWindow, settings.ReplayWindow);
175SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SessionKeyRenewalInterval, settings.SessionKeyRenewalInterval);
176SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SessionKeyRolloverInterval, settings.SessionKeyRolloverInterval);
177SetPropertyValueIfNotDefaultValue(ConfigurationStrings.InactivityTimeout, settings.InactivityTimeout);
178SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TimestampValidityDuration, settings.TimestampValidityDuration);
179SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxCachedCookies, settings.MaxCachedCookies);
188if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.DetectReplays].ValueOrigin)
System\ServiceModel\Configuration\MsmqBindingElementBase.cs (58)
23[ConfigurationProperty(ConfigurationStrings.CustomDeadLetterQueue, DefaultValue = MsmqDefaults.CustomDeadLetterQueue)]
26get { return (Uri)base[ConfigurationStrings.CustomDeadLetterQueue]; }
27set { base[ConfigurationStrings.CustomDeadLetterQueue] = value; }
30[ConfigurationProperty(ConfigurationStrings.DeadLetterQueue, DefaultValue = MsmqDefaults.DeadLetterQueue)]
34get { return (DeadLetterQueue)base[ConfigurationStrings.DeadLetterQueue]; }
35set { base[ConfigurationStrings.DeadLetterQueue] = value; }
38[ConfigurationProperty(ConfigurationStrings.Durable, DefaultValue = MsmqDefaults.Durable)]
41get { return (bool)base[ConfigurationStrings.Durable]; }
42set { base[ConfigurationStrings.Durable] = value; }
45[ConfigurationProperty(ConfigurationStrings.ExactlyOnce, DefaultValue = MsmqDefaults.ExactlyOnce)]
48get { return (bool)base[ConfigurationStrings.ExactlyOnce]; }
49set { base[ConfigurationStrings.ExactlyOnce] = value; }
52[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue = TransportDefaults.MaxReceivedMessageSize)]
56get { return (long)base[ConfigurationStrings.MaxReceivedMessageSize]; }
57set { base[ConfigurationStrings.MaxReceivedMessageSize] = value; }
60[ConfigurationProperty(ConfigurationStrings.MaxRetryCycles, DefaultValue = MsmqDefaults.MaxRetryCycles)]
64get { return (int)base[ConfigurationStrings.MaxRetryCycles]; }
65set { base[ConfigurationStrings.MaxRetryCycles] = value; }
68[ConfigurationProperty(ConfigurationStrings.ReceiveContextEnabled, DefaultValue = MsmqDefaults.ReceiveContextEnabled)]
71get { return (bool)base[ConfigurationStrings.ReceiveContextEnabled]; }
72set { base[ConfigurationStrings.ReceiveContextEnabled] = value; }
75[ConfigurationProperty(ConfigurationStrings.ReceiveErrorHandling, DefaultValue = MsmqDefaults.ReceiveErrorHandling)]
79get { return (ReceiveErrorHandling)base[ConfigurationStrings.ReceiveErrorHandling]; }
80set { base[ConfigurationStrings.ReceiveErrorHandling] = value; }
83[ConfigurationProperty(ConfigurationStrings.ReceiveRetryCount, DefaultValue = MsmqDefaults.ReceiveRetryCount)]
87get { return (int)base[ConfigurationStrings.ReceiveRetryCount]; }
88set { base[ConfigurationStrings.ReceiveRetryCount] = value; }
91[ConfigurationProperty(ConfigurationStrings.RetryCycleDelay, DefaultValue = MsmqDefaults.RetryCycleDelayString)]
93[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
96get { return (TimeSpan)base[ConfigurationStrings.RetryCycleDelay]; }
97set { base[ConfigurationStrings.RetryCycleDelay] = value; }
100[ConfigurationProperty(ConfigurationStrings.TimeToLive, DefaultValue = MsmqDefaults.TimeToLiveString)]
102[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
105get { return (TimeSpan)base[ConfigurationStrings.TimeToLive]; }
106set { base[ConfigurationStrings.TimeToLive] = value; }
109[ConfigurationProperty(ConfigurationStrings.UseSourceJournal, DefaultValue = MsmqDefaults.UseSourceJournal)]
112get { return (bool)base[ConfigurationStrings.UseSourceJournal]; }
113set { base[ConfigurationStrings.UseSourceJournal] = value; }
116[ConfigurationProperty(ConfigurationStrings.UseMsmqTracing, DefaultValue = MsmqDefaults.UseMsmqTracing)]
119get { return (bool)base[ConfigurationStrings.UseMsmqTracing]; }
120set { base[ConfigurationStrings.UseMsmqTracing] = value; }
123[ConfigurationProperty(ConfigurationStrings.ValidityDuration, DefaultValue = MsmqDefaults.ValidityDurationString)]
125[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
128get { return (TimeSpan)base[ConfigurationStrings.ValidityDuration]; }
129set { base[ConfigurationStrings.ValidityDuration] = value; }
138SetPropertyValueIfNotDefaultValue(ConfigurationStrings.DeadLetterQueue, msmqBinding.DeadLetterQueue);
139SetPropertyValueIfNotDefaultValue(ConfigurationStrings.CustomDeadLetterQueue, msmqBinding.CustomDeadLetterQueue);
140SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Durable, msmqBinding.Durable);
141SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ExactlyOnce, msmqBinding.ExactlyOnce);
142SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, msmqBinding.MaxReceivedMessageSize);
143SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxRetryCycles, msmqBinding.MaxRetryCycles);
144SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReceiveContextEnabled, msmqBinding.ReceiveContextEnabled);
146SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReceiveErrorHandling, msmqBinding.ReceiveErrorHandling);
147SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReceiveRetryCount, msmqBinding.ReceiveRetryCount);
148SetPropertyValueIfNotDefaultValue(ConfigurationStrings.RetryCycleDelay, msmqBinding.RetryCycleDelay);
149SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TimeToLive, msmqBinding.TimeToLive);
150SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseSourceJournal, msmqBinding.UseSourceJournal);
151SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseMsmqTracing, msmqBinding.UseMsmqTracing);
System\ServiceModel\Configuration\MsmqElementBase.cs (56)
15[ConfigurationProperty(ConfigurationStrings.CustomDeadLetterQueue, DefaultValue = MsmqDefaults.CustomDeadLetterQueue)]
18get { return (Uri)base[ConfigurationStrings.CustomDeadLetterQueue]; }
19set { base[ConfigurationStrings.CustomDeadLetterQueue] = value; }
22[ConfigurationProperty(ConfigurationStrings.DeadLetterQueue, DefaultValue = MsmqDefaults.DeadLetterQueue)]
26get { return (DeadLetterQueue)base[ConfigurationStrings.DeadLetterQueue]; }
27set { base[ConfigurationStrings.DeadLetterQueue] = value; }
30[ConfigurationProperty(ConfigurationStrings.Durable, DefaultValue = MsmqDefaults.Durable)]
33get { return (bool)base[ConfigurationStrings.Durable]; }
34set { base[ConfigurationStrings.Durable] = value; }
37[ConfigurationProperty(ConfigurationStrings.ExactlyOnce, DefaultValue = MsmqDefaults.ExactlyOnce)]
40get { return (bool)base[ConfigurationStrings.ExactlyOnce]; }
41set { base[ConfigurationStrings.ExactlyOnce] = value; }
44[ConfigurationProperty(ConfigurationStrings.MaxRetryCycles, DefaultValue = MsmqDefaults.MaxRetryCycles)]
48get { return (int)base[ConfigurationStrings.MaxRetryCycles]; }
49set { base[ConfigurationStrings.MaxRetryCycles] = value; }
52[ConfigurationProperty(ConfigurationStrings.ReceiveContextEnabled, DefaultValue = MsmqDefaults.ReceiveContextEnabled)]
55get { return (bool)base[ConfigurationStrings.ReceiveContextEnabled]; }
56set { base[ConfigurationStrings.ReceiveContextEnabled] = value; }
59[ConfigurationProperty(ConfigurationStrings.ReceiveErrorHandling, DefaultValue = MsmqDefaults.ReceiveErrorHandling)]
63get { return (ReceiveErrorHandling)base[ConfigurationStrings.ReceiveErrorHandling]; }
64set { base[ConfigurationStrings.ReceiveErrorHandling] = value; }
67[ConfigurationProperty(ConfigurationStrings.ReceiveRetryCount, DefaultValue = MsmqDefaults.ReceiveRetryCount)]
71get { return (int)base[ConfigurationStrings.ReceiveRetryCount]; }
72set { base[ConfigurationStrings.ReceiveRetryCount] = value; }
75[ConfigurationProperty(ConfigurationStrings.RetryCycleDelay, DefaultValue = MsmqDefaults.RetryCycleDelayString)]
77[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
80get { return (TimeSpan)base[ConfigurationStrings.RetryCycleDelay]; }
81set { base[ConfigurationStrings.RetryCycleDelay] = value; }
84[ConfigurationProperty(ConfigurationStrings.MsmqTransportSecurity)]
87get { return (MsmqTransportSecurityElement)base[ConfigurationStrings.MsmqTransportSecurity]; }
90[ConfigurationProperty(ConfigurationStrings.TimeToLive, DefaultValue = MsmqDefaults.TimeToLiveString)]
92[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
95get { return (TimeSpan)base[ConfigurationStrings.TimeToLive]; }
96set { base[ConfigurationStrings.TimeToLive] = value; }
99[ConfigurationProperty(ConfigurationStrings.UseSourceJournal, DefaultValue = MsmqDefaults.UseSourceJournal)]
102get { return (bool)base[ConfigurationStrings.UseSourceJournal]; }
103set { base[ConfigurationStrings.UseSourceJournal] = value; }
106[ConfigurationProperty(ConfigurationStrings.UseMsmqTracing, DefaultValue = MsmqDefaults.UseMsmqTracing)]
109get { return (bool)base[ConfigurationStrings.UseMsmqTracing]; }
110set { base[ConfigurationStrings.UseMsmqTracing] = value; }
113[ConfigurationProperty(ConfigurationStrings.ValidityDuration, DefaultValue = MsmqDefaults.ValidityDurationString)]
115[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)]
118get { return (TimeSpan)base[ConfigurationStrings.ValidityDuration]; }
119set { base[ConfigurationStrings.ValidityDuration] = value; }
183SetPropertyValueIfNotDefaultValue(ConfigurationStrings.CustomDeadLetterQueue, binding.CustomDeadLetterQueue);
184SetPropertyValueIfNotDefaultValue(ConfigurationStrings.DeadLetterQueue, binding.DeadLetterQueue);
185SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Durable, binding.Durable);
186SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ExactlyOnce, binding.ExactlyOnce);
187SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxRetryCycles, binding.MaxRetryCycles);
188SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReceiveErrorHandling, binding.ReceiveErrorHandling);
189SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReceiveRetryCount, binding.ReceiveRetryCount);
190SetPropertyValueIfNotDefaultValue(ConfigurationStrings.RetryCycleDelay, binding.RetryCycleDelay);
191SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TimeToLive, binding.TimeToLive);
192SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseSourceJournal, binding.UseSourceJournal);
193SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReceiveContextEnabled, binding.ReceiveContextEnabled);
194SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseMsmqTracing, binding.UseMsmqTracing);
System\ServiceModel\Configuration\MtomMessageEncodingElement.cs (22)
61SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageVersion, binding.MessageVersion);
62SetPropertyValueIfNotDefaultValue(ConfigurationStrings.WriteEncoding, binding.WriteEncoding);
63SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReadPoolSize, binding.MaxReadPoolSize);
64SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxWritePoolSize, binding.MaxWritePoolSize);
66SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferSize, binding.MaxBufferSize);
69[ConfigurationProperty(ConfigurationStrings.MaxReadPoolSize, DefaultValue = EncoderDefaults.MaxReadPoolSize)]
73get { return (int)base[ConfigurationStrings.MaxReadPoolSize]; }
74set { base[ConfigurationStrings.MaxReadPoolSize] = value; }
77[ConfigurationProperty(ConfigurationStrings.MaxWritePoolSize, DefaultValue = EncoderDefaults.MaxWritePoolSize)]
81get { return (int)base[ConfigurationStrings.MaxWritePoolSize]; }
82set { base[ConfigurationStrings.MaxWritePoolSize] = value; }
85[ConfigurationProperty(ConfigurationStrings.MessageVersion, DefaultValue = TextEncoderDefaults.MessageVersionString)]
89get { return (MessageVersion)base[ConfigurationStrings.MessageVersion]; }
90set { base[ConfigurationStrings.MessageVersion] = value; }
93[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)]
96get { return (XmlDictionaryReaderQuotasElement) base[ConfigurationStrings.ReaderQuotas]; }
99[ConfigurationProperty(ConfigurationStrings.MaxBufferSize, DefaultValue = MtomEncoderDefaults.MaxBufferSize)]
103get { return (int)base[ConfigurationStrings.MaxBufferSize]; }
104set { base[ConfigurationStrings.MaxBufferSize] = value; }
107[ConfigurationProperty(ConfigurationStrings.WriteEncoding, DefaultValue = TextEncoderDefaults.EncodingString)]
111get { return (Encoding)base[ConfigurationStrings.WriteEncoding]; }
112set { base[ConfigurationStrings.WriteEncoding] = value; }
System\ServiceModel\Configuration\NetNamedPipeBindingElement.cs (37)
32[ConfigurationProperty(ConfigurationStrings.TransactionFlow, DefaultValue = TransactionFlowDefaults.Transactions)]
35get { return (bool)base[ConfigurationStrings.TransactionFlow]; }
36set { base[ConfigurationStrings.TransactionFlow] = value; }
39[ConfigurationProperty(ConfigurationStrings.TransferMode, DefaultValue = ConnectionOrientedTransportDefaults.TransferMode)]
43get { return (TransferMode)base[ConfigurationStrings.TransferMode]; }
44set { base[ConfigurationStrings.TransferMode] = value; }
47[ConfigurationProperty(ConfigurationStrings.TransactionProtocol, DefaultValue = TransactionFlowDefaults.TransactionProtocolString)]
51get { return (TransactionProtocol)base[ConfigurationStrings.TransactionProtocol]; }
52set { base[ConfigurationStrings.TransactionProtocol] = value; }
55[ConfigurationProperty(ConfigurationStrings.HostNameComparisonMode, DefaultValue = ConnectionOrientedTransportDefaults.HostNameComparisonMode)]
59get { return (HostNameComparisonMode)base[ConfigurationStrings.HostNameComparisonMode]; }
60set { base[ConfigurationStrings.HostNameComparisonMode] = value; }
63[ConfigurationProperty(ConfigurationStrings.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)]
67get { return (long)base[ConfigurationStrings.MaxBufferPoolSize]; }
68set { base[ConfigurationStrings.MaxBufferPoolSize] = value; }
71[ConfigurationProperty(ConfigurationStrings.MaxBufferSize, DefaultValue = TransportDefaults.MaxBufferSize)]
75get { return (int)base[ConfigurationStrings.MaxBufferSize]; }
76set { base[ConfigurationStrings.MaxBufferSize] = value; }
79[ConfigurationProperty(ConfigurationStrings.MaxConnections, DefaultValue = ConnectionOrientedTransportDefaults.MaxPendingConnectionsConst)]
83get { return (int)base[ConfigurationStrings.MaxConnections]; }
84set { base[ConfigurationStrings.MaxConnections] = value; }
87[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue = TransportDefaults.MaxReceivedMessageSize)]
91get { return (long)base[ConfigurationStrings.MaxReceivedMessageSize]; }
92set { base[ConfigurationStrings.MaxReceivedMessageSize] = value; }
95[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)]
98get { return (XmlDictionaryReaderQuotasElement)base[ConfigurationStrings.ReaderQuotas]; }
101[ConfigurationProperty(ConfigurationStrings.Security)]
104get { return (NetNamedPipeSecurityElement)base[ConfigurationStrings.Security]; }
112SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransactionFlow, npnpBinding.TransactionFlow);
113SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransferMode, npnpBinding.TransferMode);
114SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransactionProtocol, npnpBinding.TransactionProtocol);
115SetPropertyValueIfNotDefaultValue(ConfigurationStrings.HostNameComparisonMode, npnpBinding.HostNameComparisonMode);
116SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, npnpBinding.MaxBufferPoolSize);
117SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferSize, npnpBinding.MaxBufferSize);
120ConfigurationProperty maxConnectionsProperty = this.Properties[ConfigurationStrings.MaxConnections];
123SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, npnpBinding.MaxReceivedMessageSize);
138if (propertyInfo[ConfigurationStrings.MaxBufferSize].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\NetTcpBindingElement.cs (46)
33[ConfigurationProperty(ConfigurationStrings.TransactionFlow, DefaultValue = TransactionFlowDefaults.Transactions)]
36get { return (bool)base[ConfigurationStrings.TransactionFlow]; }
37set { base[ConfigurationStrings.TransactionFlow] = value; }
40[ConfigurationProperty(ConfigurationStrings.TransferMode, DefaultValue = ConnectionOrientedTransportDefaults.TransferMode)]
44get { return (TransferMode)base[ConfigurationStrings.TransferMode]; }
45set { base[ConfigurationStrings.TransferMode] = value; }
48[ConfigurationProperty(ConfigurationStrings.TransactionProtocol, DefaultValue = TransactionFlowDefaults.TransactionProtocolString)]
52get { return (TransactionProtocol)base[ConfigurationStrings.TransactionProtocol]; }
53set { base[ConfigurationStrings.TransactionProtocol] = value; }
56[ConfigurationProperty(ConfigurationStrings.HostNameComparisonMode, DefaultValue = ConnectionOrientedTransportDefaults.HostNameComparisonMode)]
60get { return (HostNameComparisonMode)base[ConfigurationStrings.HostNameComparisonMode]; }
61set { base[ConfigurationStrings.HostNameComparisonMode] = value; }
64[ConfigurationProperty(ConfigurationStrings.ListenBacklog, DefaultValue = TcpTransportDefaults.ListenBacklogConst)]
68get { return (int)base[ConfigurationStrings.ListenBacklog]; }
69set { base[ConfigurationStrings.ListenBacklog] = value; }
72[ConfigurationProperty(ConfigurationStrings.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)]
76get { return (long)base[ConfigurationStrings.MaxBufferPoolSize]; }
77set { base[ConfigurationStrings.MaxBufferPoolSize] = value; }
80[ConfigurationProperty(ConfigurationStrings.MaxBufferSize, DefaultValue = TransportDefaults.MaxBufferSize)]
84get { return (int)base[ConfigurationStrings.MaxBufferSize]; }
85set { base[ConfigurationStrings.MaxBufferSize] = value; }
88[ConfigurationProperty(ConfigurationStrings.MaxConnections, DefaultValue = ConnectionOrientedTransportDefaults.MaxPendingConnectionsConst)]
92get { return (int)base[ConfigurationStrings.MaxConnections]; }
93set { base[ConfigurationStrings.MaxConnections] = value; }
96[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue = TransportDefaults.MaxReceivedMessageSize)]
100get { return (long)base[ConfigurationStrings.MaxReceivedMessageSize]; }
101set { base[ConfigurationStrings.MaxReceivedMessageSize] = value; }
104[ConfigurationProperty(ConfigurationStrings.PortSharingEnabled, DefaultValue = TcpTransportDefaults.PortSharingEnabled)]
107get { return (bool)base[ConfigurationStrings.PortSharingEnabled]; }
108set { base[ConfigurationStrings.PortSharingEnabled] = value; }
111[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)]
114get { return (XmlDictionaryReaderQuotasElement)base[ConfigurationStrings.ReaderQuotas]; }
117[ConfigurationProperty(ConfigurationStrings.ReliableSession)]
120get { return (StandardBindingOptionalReliableSessionElement)base[ConfigurationStrings.ReliableSession]; }
123[ConfigurationProperty(ConfigurationStrings.Security)]
126get { return (NetTcpSecurityElement)base[ConfigurationStrings.Security]; }
134SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransactionFlow, nptBinding.TransactionFlow);
135SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransferMode, nptBinding.TransferMode);
136SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransactionProtocol, nptBinding.TransactionProtocol);
137SetPropertyValueIfNotDefaultValue(ConfigurationStrings.HostNameComparisonMode, nptBinding.HostNameComparisonMode);
138SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, nptBinding.MaxBufferPoolSize);
139SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferSize, nptBinding.MaxBufferSize);
142ConfigurationProperty maxConnectionsProperty = this.Properties[ConfigurationStrings.MaxConnections];
145SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, nptBinding.MaxReceivedMessageSize);
148ConfigurationProperty listenBacklogProperty = this.Properties[ConfigurationStrings.ListenBacklog];
170if (propertyInfo[ConfigurationStrings.MaxBufferSize].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\Properties.cs (9)
4535properties.Add(new ConfigurationProperty(ConfigurationStrings.HealthDetailsEnabled, typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4536properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetEnabled, typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4537properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetUrl, typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4538properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetEnabled, typeof(System.Boolean), true, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4539properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetUrl, typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4540properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetBinding, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
4541properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetBinding, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
4542properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetBindingConfiguration, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
4543properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetBindingConfiguration, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\ReliableSessionElement.cs (34)
19[ConfigurationProperty(ConfigurationStrings.AcknowledgementInterval, DefaultValue = ReliableSessionDefaults.AcknowledgementIntervalString)]
21[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanOneTick)]
24get { return (TimeSpan)base[ConfigurationStrings.AcknowledgementInterval]; }
25set { base[ConfigurationStrings.AcknowledgementInterval] = value; }
33[ConfigurationProperty(ConfigurationStrings.FlowControlEnabled, DefaultValue = true)]
36get { return (bool)base[ConfigurationStrings.FlowControlEnabled]; }
37set { base[ConfigurationStrings.FlowControlEnabled] = value; }
40[ConfigurationProperty(ConfigurationStrings.InactivityTimeout, DefaultValue = ReliableSessionDefaults.InactivityTimeoutString)]
42[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanOneTick)]
45get { return (TimeSpan)base[ConfigurationStrings.InactivityTimeout]; }
46set { base[ConfigurationStrings.InactivityTimeout] = value; }
49[ConfigurationProperty(ConfigurationStrings.MaxPendingChannels, DefaultValue = ReliableSessionDefaults.MaxPendingChannels)]
53get { return (int)base[ConfigurationStrings.MaxPendingChannels]; }
54set { base[ConfigurationStrings.MaxPendingChannels] = value; }
57[ConfigurationProperty(ConfigurationStrings.MaxRetryCount, DefaultValue = ReliableSessionDefaults.MaxRetryCount)]
61get { return (int)base[ConfigurationStrings.MaxRetryCount]; }
62set { base[ConfigurationStrings.MaxRetryCount] = value; }
65[ConfigurationProperty(ConfigurationStrings.MaxTransferWindowSize, DefaultValue = ReliableSessionDefaults.MaxTransferWindowSize)]
69get { return (int)base[ConfigurationStrings.MaxTransferWindowSize]; }
70set { base[ConfigurationStrings.MaxTransferWindowSize] = value; }
73[ConfigurationProperty(ConfigurationStrings.Ordered, DefaultValue = ReliableSessionDefaults.Ordered)]
76get { return (bool)base[ConfigurationStrings.Ordered]; }
77set { base[ConfigurationStrings.Ordered] = value; }
80[ConfigurationProperty(ConfigurationStrings.ReliableMessagingVersion, DefaultValue = ReliableSessionDefaults.ReliableMessagingVersionString)]
84get { return (ReliableMessagingVersion)base[ConfigurationStrings.ReliableMessagingVersion]; }
85set { base[ConfigurationStrings.ReliableMessagingVersion] = value; }
129SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AcknowledgementInterval, binding.AcknowledgementInterval);
130SetPropertyValueIfNotDefaultValue(ConfigurationStrings.FlowControlEnabled, binding.FlowControlEnabled);
131SetPropertyValueIfNotDefaultValue(ConfigurationStrings.InactivityTimeout, binding.InactivityTimeout);
132SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxPendingChannels, binding.MaxPendingChannels);
133SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxRetryCount, binding.MaxRetryCount);
134SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxTransferWindowSize, binding.MaxTransferWindowSize);
135SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Ordered, binding.Ordered);
136SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReliableMessagingVersion, binding.ReliableMessagingVersion);
System\ServiceModel\Configuration\SecurityElementBase.cs (94)
36[ConfigurationProperty(ConfigurationStrings.DefaultAlgorithmSuite, DefaultValue = SecurityBindingElement.defaultAlgorithmSuiteString)]
40get { return (SecurityAlgorithmSuite)base[ConfigurationStrings.DefaultAlgorithmSuite]; }
41set { base[ConfigurationStrings.DefaultAlgorithmSuite] = value; }
44[ConfigurationProperty(ConfigurationStrings.AllowSerializedSigningTokenOnReply, DefaultValue = AsymmetricSecurityBindingElement.defaultAllowSerializedSigningTokenOnReply)]
47get { return (bool)base[ConfigurationStrings.AllowSerializedSigningTokenOnReply]; }
48set { base[ConfigurationStrings.AllowSerializedSigningTokenOnReply] = value; }
51[ConfigurationProperty(ConfigurationStrings.EnableUnsecuredResponse, DefaultValue = SecurityBindingElement.defaultEnableUnsecuredResponse)]
54get { return (bool)base[ConfigurationStrings.EnableUnsecuredResponse]; }
55set { base[ConfigurationStrings.EnableUnsecuredResponse] = value; }
58[ConfigurationProperty(ConfigurationStrings.AuthenticationMode, DefaultValue = defaultAuthenticationMode)]
62get { return (AuthenticationMode)base[ConfigurationStrings.AuthenticationMode]; }
63set { base[ConfigurationStrings.AuthenticationMode] = value; }
71[ConfigurationProperty(ConfigurationStrings.RequireDerivedKeys, DefaultValue = SecurityTokenParameters.defaultRequireDerivedKeys)]
74get { return (bool)base[ConfigurationStrings.RequireDerivedKeys]; }
75set { base[ConfigurationStrings.RequireDerivedKeys] = value; }
78[ConfigurationProperty(ConfigurationStrings.SecurityHeaderLayout, DefaultValue = SecurityProtocolFactory.defaultSecurityHeaderLayout)]
82get { return (SecurityHeaderLayout)base[ConfigurationStrings.SecurityHeaderLayout]; }
83set { base[ConfigurationStrings.SecurityHeaderLayout] = value; }
86[ConfigurationProperty(ConfigurationStrings.IncludeTimestamp, DefaultValue = SecurityBindingElement.defaultIncludeTimestamp)]
89get { return (bool)base[ConfigurationStrings.IncludeTimestamp]; }
90set { base[ConfigurationStrings.IncludeTimestamp] = value; }
93[ConfigurationProperty(ConfigurationStrings.AllowInsecureTransport, DefaultValue = SecurityBindingElement.defaultAllowInsecureTransport)]
96get { return (bool)base[ConfigurationStrings.AllowInsecureTransport]; }
97set { base[ConfigurationStrings.AllowInsecureTransport] = value; }
100[ConfigurationProperty(ConfigurationStrings.KeyEntropyMode, DefaultValue = System.ServiceModel.Security.AcceleratedTokenProvider.defaultKeyEntropyMode)]
104get { return (SecurityKeyEntropyMode)base[ConfigurationStrings.KeyEntropyMode]; }
105set { base[ConfigurationStrings.KeyEntropyMode] = value; }
108[ConfigurationProperty(ConfigurationStrings.IssuedTokenParameters)]
111get { return (IssuedTokenParametersElement)base[ConfigurationStrings.IssuedTokenParameters]; }
114[ConfigurationProperty(ConfigurationStrings.LocalClientSettings)]
117get { return (LocalClientSecuritySettingsElement)base[ConfigurationStrings.LocalClientSettings]; }
120[ConfigurationProperty(ConfigurationStrings.LocalServiceSettings)]
123get { return (LocalServiceSecuritySettingsElement)base[ConfigurationStrings.LocalServiceSettings]; }
126[ConfigurationProperty(ConfigurationStrings.MessageProtectionOrder, DefaultValue = SecurityBindingElement.defaultMessageProtectionOrder)]
130get { return (MessageProtectionOrder)base[ConfigurationStrings.MessageProtectionOrder]; }
131set { base[ConfigurationStrings.MessageProtectionOrder] = value; }
134[ConfigurationProperty(ConfigurationStrings.ProtectTokens, DefaultValue = false)]
137get { return (bool)base[ConfigurationStrings.ProtectTokens]; }
138set { base[ConfigurationStrings.ProtectTokens] = value; }
141[ConfigurationProperty(ConfigurationStrings.MessageSecurityVersion, DefaultValue = ConfigurationStrings.Default)]
145get { return (MessageSecurityVersion)base[ConfigurationStrings.MessageSecurityVersion]; }
146set { base[ConfigurationStrings.MessageSecurityVersion] = value; }
149[ConfigurationProperty(ConfigurationStrings.RequireSecurityContextCancellation, DefaultValue = SecureConversationSecurityTokenParameters.defaultRequireCancellation)]
152get { return (bool)base[ConfigurationStrings.RequireSecurityContextCancellation]; }
153set { base[ConfigurationStrings.RequireSecurityContextCancellation] = value; }
156[ConfigurationProperty(ConfigurationStrings.RequireSignatureConfirmation, DefaultValue = SecurityBindingElement.defaultRequireSignatureConfirmation)]
159get { return (bool)base[ConfigurationStrings.RequireSignatureConfirmation]; }
160set { base[ConfigurationStrings.RequireSignatureConfirmation] = value; }
163[ConfigurationProperty(ConfigurationStrings.CanRenewSecurityContextToken, DefaultValue = SecureConversationSecurityTokenParameters.defaultCanRenewSession)]
166get { return (bool)base[ConfigurationStrings.CanRenewSecurityContextToken]; }
167set { base[ConfigurationStrings.CanRenewSecurityContextToken] = value; }
177if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.DefaultAlgorithmSuite].ValueOrigin)
179if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.IncludeTimestamp].ValueOrigin)
181if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.MessageSecurityVersion].ValueOrigin)
183if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.KeyEntropyMode].ValueOrigin)
185if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.SecurityHeaderLayout].ValueOrigin)
187if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.RequireDerivedKeys].ValueOrigin)
189if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.AllowInsecureTransport].ValueOrigin)
191if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.EnableUnsecuredResponse].ValueOrigin)
193if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.ProtectTokens].ValueOrigin)
201if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.MessageProtectionOrder].ValueOrigin)
203if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.RequireSignatureConfirmation].ValueOrigin)
216if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.MessageProtectionOrder].ValueOrigin)
218if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.RequireSignatureConfirmation].ValueOrigin)
220if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.AllowSerializedSigningTokenOnReply].ValueOrigin)
238if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.LocalClientSettings].ValueOrigin)
243if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.LocalServiceSettings].ValueOrigin)
255if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.AllowSerializedSigningTokenOnReply].ValueOrigin)
257if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.DefaultAlgorithmSuite].ValueOrigin)
259if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.EnableUnsecuredResponse].ValueOrigin)
261if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.AllowInsecureTransport].ValueOrigin)
263if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.RequireDerivedKeys].ValueOrigin)
265if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.IncludeTimestamp].ValueOrigin)
267if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.IssuedTokenParameters].ValueOrigin)
269if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.MessageProtectionOrder].ValueOrigin)
271if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.ProtectTokens].ValueOrigin)
273if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.MessageSecurityVersion].ValueOrigin)
275if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.RequireSignatureConfirmation].ValueOrigin)
277if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.RequireSecurityContextCancellation].ValueOrigin)
279if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.CanRenewSecurityContextToken].ValueOrigin)
281if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.KeyEntropyMode].ValueOrigin)
283if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.SecurityHeaderLayout].ValueOrigin)
285if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.LocalClientSettings].ValueOrigin)
287if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.LocalServiceSettings].ValueOrigin)
630SetPropertyValueIfNotDefaultValue(ConfigurationStrings.RequireSecurityContextCancellation, ((SspiSecurityTokenParameters)sp).RequireCancellation);
632SetPropertyValueIfNotDefaultValue(ConfigurationStrings.RequireSecurityContextCancellation, ((SslSecurityTokenParameters)sp).RequireCancellation);
653SetPropertyValueIfNotDefaultValue(ConfigurationStrings.KeyEntropyMode, sbe.KeyEntropyMode);
654SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SecurityHeaderLayout, sbe.SecurityHeaderLayout);
655SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProtectTokens, sbe.ProtectTokens);
656SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AllowInsecureTransport, sbe.AllowInsecureTransport);
657SetPropertyValueIfNotDefaultValue(ConfigurationStrings.EnableUnsecuredResponse, sbe.EnableUnsecuredResponse);
691SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageProtectionOrder, ssbe.MessageProtectionOrder);
708SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageProtectionOrder, asbe.MessageProtectionOrder);
System\ServiceModel\Configuration\ServiceEndpointElement.cs (58)
32if (properties[ConfigurationStrings.Address].ValueOrigin != PropertyValueOrigin.Default)
36if (properties[ConfigurationStrings.BehaviorConfiguration].ValueOrigin != PropertyValueOrigin.Default)
40if (properties[ConfigurationStrings.Binding].ValueOrigin != PropertyValueOrigin.Default)
44if (properties[ConfigurationStrings.BindingConfiguration].ValueOrigin != PropertyValueOrigin.Default)
48if (properties[ConfigurationStrings.Name].ValueOrigin != PropertyValueOrigin.Default)
52if (properties[ConfigurationStrings.BindingName].ValueOrigin != PropertyValueOrigin.Default)
56if (properties[ConfigurationStrings.BindingNamespace].ValueOrigin != PropertyValueOrigin.Default)
60if (properties[ConfigurationStrings.Contract].ValueOrigin != PropertyValueOrigin.Default)
64if (properties[ConfigurationStrings.Headers].ValueOrigin != PropertyValueOrigin.Default
69if (properties[ConfigurationStrings.Identity].ValueOrigin != PropertyValueOrigin.Default
74if (properties[ConfigurationStrings.ListenUriMode].ValueOrigin != PropertyValueOrigin.Default)
78if (properties[ConfigurationStrings.ListenUri].ValueOrigin != PropertyValueOrigin.Default)
82if (properties[ConfigurationStrings.IsSystemEndpoint].ValueOrigin != PropertyValueOrigin.Default)
86if (properties[ConfigurationStrings.Kind].ValueOrigin != PropertyValueOrigin.Default)
90if (properties[ConfigurationStrings.EndpointConfiguration].ValueOrigin != PropertyValueOrigin.Default)
96[ConfigurationProperty(ConfigurationStrings.Address, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
99get { return (Uri)base[ConfigurationStrings.Address]; }
100set { base[ConfigurationStrings.Address] = value; }
103[ConfigurationProperty(ConfigurationStrings.BehaviorConfiguration, DefaultValue = "")]
107get { return (string)base[ConfigurationStrings.BehaviorConfiguration]; }
114base[ConfigurationStrings.BehaviorConfiguration] = value;
118[ConfigurationProperty(ConfigurationStrings.Binding, Options = ConfigurationPropertyOptions.IsKey)]
122get { return (string)base[ConfigurationStrings.Binding]; }
129base[ConfigurationStrings.Binding] = value;
133[ConfigurationProperty(ConfigurationStrings.BindingConfiguration, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
137get { return (string)base[ConfigurationStrings.BindingConfiguration]; }
144base[ConfigurationStrings.BindingConfiguration] = value;
148[ConfigurationProperty(ConfigurationStrings.Name, DefaultValue = "")]
152get { return (string)base[ConfigurationStrings.Name]; }
159base[ConfigurationStrings.Name] = value;
163[ConfigurationProperty(ConfigurationStrings.BindingName, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
167get { return (string)base[ConfigurationStrings.BindingName]; }
174base[ConfigurationStrings.BindingName] = value;
178[ConfigurationProperty(ConfigurationStrings.BindingNamespace, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
182get { return (string)base[ConfigurationStrings.BindingNamespace]; }
189base[ConfigurationStrings.BindingNamespace] = value;
193[ConfigurationProperty(ConfigurationStrings.Contract, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
197get { return (string)base[ConfigurationStrings.Contract]; }
204base[ConfigurationStrings.Contract] = value;
208[ConfigurationProperty(ConfigurationStrings.Headers)]
211get { return (AddressHeaderCollectionElement)base[ConfigurationStrings.Headers]; }
214[ConfigurationProperty(ConfigurationStrings.Identity)]
217get { return (IdentityElement)base[ConfigurationStrings.Identity]; }
220[ConfigurationProperty(ConfigurationStrings.ListenUriMode, DefaultValue = ListenUriMode.Explicit)]
224get { return (ListenUriMode)base[ConfigurationStrings.ListenUriMode]; }
225set { base[ConfigurationStrings.ListenUriMode] = value; }
228[ConfigurationProperty(ConfigurationStrings.ListenUri, DefaultValue = null)]
231get { return (Uri)base[ConfigurationStrings.ListenUri]; }
232set { base[ConfigurationStrings.ListenUri] = value; }
235[ConfigurationProperty(ConfigurationStrings.IsSystemEndpoint, DefaultValue = false)]
238get { return (bool)base[ConfigurationStrings.IsSystemEndpoint]; }
239set { base[ConfigurationStrings.IsSystemEndpoint] = value; }
242[ConfigurationProperty(ConfigurationStrings.Kind, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
246get { return (string)base[ConfigurationStrings.Kind]; }
253base[ConfigurationStrings.Kind] = value;
257[ConfigurationProperty(ConfigurationStrings.EndpointConfiguration, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)]
261get { return (string)base[ConfigurationStrings.EndpointConfiguration]; }
268base[ConfigurationStrings.EndpointConfiguration] = value;
System\ServiceModel\Configuration\WebSocketTransportSettingsElement.cs (25)
18[ConfigurationProperty(ConfigurationStrings.TransportUsage, DefaultValue = WebSocketDefaults.TransportUsage)]
22get { return (WebSocketTransportUsage)base[ConfigurationStrings.TransportUsage]; }
23set { base[ConfigurationStrings.TransportUsage] = value; }
26[ConfigurationProperty(ConfigurationStrings.CreateNotificationOnConnection, DefaultValue = WebSocketDefaults.CreateNotificationOnConnection)]
29get { return (bool)base[ConfigurationStrings.CreateNotificationOnConnection]; }
30set { base[ConfigurationStrings.CreateNotificationOnConnection] = value; }
33[ConfigurationProperty(ConfigurationStrings.KeepAliveInterval, DefaultValue = WebSocketDefaults.DefaultKeepAliveIntervalString)]
35[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanInfinite)]
38get { return (TimeSpan)base[ConfigurationStrings.KeepAliveInterval]; }
39set { base[ConfigurationStrings.KeepAliveInterval] = value; }
42[ConfigurationProperty(ConfigurationStrings.SubProtocol, DefaultValue = null)]
46get { return (string)base[ConfigurationStrings.SubProtocol]; }
47set { base[ConfigurationStrings.SubProtocol] = value; }
50[ConfigurationProperty(ConfigurationStrings.DisablePayloadMasking, DefaultValue = WebSocketDefaults.DisablePayloadMasking)]
53get { return (bool)base[ConfigurationStrings.DisablePayloadMasking]; }
54set { base[ConfigurationStrings.DisablePayloadMasking] = value; }
57[ConfigurationProperty(ConfigurationStrings.MaxPendingConnections, DefaultValue = WebSocketDefaults.DefaultMaxPendingConnections)]
61get { return (int)base[ConfigurationStrings.MaxPendingConnections]; }
62set { base[ConfigurationStrings.MaxPendingConnections] = value; }
72SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransportUsage, settings.TransportUsage);
73SetPropertyValueIfNotDefaultValue(ConfigurationStrings.CreateNotificationOnConnection, settings.CreateNotificationOnConnection);
74SetPropertyValueIfNotDefaultValue(ConfigurationStrings.KeepAliveInterval, settings.KeepAliveInterval);
75SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SubProtocol, settings.SubProtocol);
76SetPropertyValueIfNotDefaultValue(ConfigurationStrings.DisablePayloadMasking, settings.DisablePayloadMasking);
77SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxPendingConnections, settings.MaxPendingConnections);
System\ServiceModel\Configuration\WSDualHttpBindingElement.cs (46)
32[ConfigurationProperty(ConfigurationStrings.BypassProxyOnLocal, DefaultValue = HttpTransportDefaults.BypassProxyOnLocal)]
35get { return (bool)base[ConfigurationStrings.BypassProxyOnLocal]; }
36set { base[ConfigurationStrings.BypassProxyOnLocal] = value; }
39[ConfigurationProperty(ConfigurationStrings.ClientBaseAddress, DefaultValue = null)]
42get { return (Uri)base[ConfigurationStrings.ClientBaseAddress]; }
43set { base[ConfigurationStrings.ClientBaseAddress] = value; }
46[ConfigurationProperty(ConfigurationStrings.TransactionFlow, DefaultValue = TransactionFlowDefaults.Transactions)]
49get { return (bool)base[ConfigurationStrings.TransactionFlow]; }
50set { base[ConfigurationStrings.TransactionFlow] = value; }
53[ConfigurationProperty(ConfigurationStrings.HostNameComparisonMode, DefaultValue = HttpTransportDefaults.HostNameComparisonMode)]
57get { return (HostNameComparisonMode)base[ConfigurationStrings.HostNameComparisonMode]; }
58set { base[ConfigurationStrings.HostNameComparisonMode] = value; }
61[ConfigurationProperty(ConfigurationStrings.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)]
65get { return (long)base[ConfigurationStrings.MaxBufferPoolSize]; }
66set { base[ConfigurationStrings.MaxBufferPoolSize] = value; }
69[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue = TransportDefaults.MaxReceivedMessageSize)]
73get { return (long)base[ConfigurationStrings.MaxReceivedMessageSize]; }
74set { base[ConfigurationStrings.MaxReceivedMessageSize] = value; }
77[ConfigurationProperty(ConfigurationStrings.MessageEncoding, DefaultValue = WSDualHttpBindingDefaults.MessageEncoding)]
81get { return (WSMessageEncoding)base[ConfigurationStrings.MessageEncoding]; }
82set { base[ConfigurationStrings.MessageEncoding] = value; }
85[ConfigurationProperty(ConfigurationStrings.ProxyAddress, DefaultValue = HttpTransportDefaults.ProxyAddress)]
88get { return (Uri)base[ConfigurationStrings.ProxyAddress]; }
89set { base[ConfigurationStrings.ProxyAddress] = value; }
92[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)]
95get { return (XmlDictionaryReaderQuotasElement)base[ConfigurationStrings.ReaderQuotas]; }
98[ConfigurationProperty(ConfigurationStrings.ReliableSession)]
101get { return (StandardBindingReliableSessionElement)base[ConfigurationStrings.ReliableSession]; }
104[ConfigurationProperty(ConfigurationStrings.Security)]
107get { return (WSDualHttpSecurityElement)base[ConfigurationStrings.Security]; }
110[ConfigurationProperty(ConfigurationStrings.TextEncoding, DefaultValue = TextEncoderDefaults.EncodingString)]
114get { return (Encoding)base[ConfigurationStrings.TextEncoding]; }
115set { base[ConfigurationStrings.TextEncoding] = value; }
118[ConfigurationProperty(ConfigurationStrings.UseDefaultWebProxy, DefaultValue = HttpTransportDefaults.UseDefaultWebProxy)]
121get { return (bool)base[ConfigurationStrings.UseDefaultWebProxy]; }
122set { base[ConfigurationStrings.UseDefaultWebProxy] = value; }
130SetPropertyValueIfNotDefaultValue(ConfigurationStrings.BypassProxyOnLocal, wspBinding.BypassProxyOnLocal);
131SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientBaseAddress, wspBinding.ClientBaseAddress);
132SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransactionFlow, wspBinding.TransactionFlow);
133SetPropertyValueIfNotDefaultValue(ConfigurationStrings.HostNameComparisonMode, wspBinding.HostNameComparisonMode);
134SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, wspBinding.MaxBufferPoolSize);
135SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, wspBinding.MaxReceivedMessageSize);
136SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageEncoding, wspBinding.MessageEncoding);
137SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProxyAddress, wspBinding.ProxyAddress);
139SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TextEncoding, wspBinding.TextEncoding);
140SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseDefaultWebProxy, wspBinding.UseDefaultWebProxy);
System\ServiceModel\Configuration\WSHttpBindingBaseElement.cs (40)
27[ConfigurationProperty(ConfigurationStrings.BypassProxyOnLocal, DefaultValue = HttpTransportDefaults.BypassProxyOnLocal)]
30get { return (bool)base[ConfigurationStrings.BypassProxyOnLocal]; }
31set { base[ConfigurationStrings.BypassProxyOnLocal] = value; }
34[ConfigurationProperty(ConfigurationStrings.TransactionFlow, DefaultValue = TransactionFlowDefaults.Transactions)]
37get { return (bool)base[ConfigurationStrings.TransactionFlow]; }
38set { base[ConfigurationStrings.TransactionFlow] = value; }
41[ConfigurationProperty(ConfigurationStrings.HostNameComparisonMode, DefaultValue = HttpTransportDefaults.HostNameComparisonMode)]
45get { return (HostNameComparisonMode)base[ConfigurationStrings.HostNameComparisonMode]; }
46set { base[ConfigurationStrings.HostNameComparisonMode] = value; }
49[ConfigurationProperty(ConfigurationStrings.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)]
53get { return (long)base[ConfigurationStrings.MaxBufferPoolSize]; }
54set { base[ConfigurationStrings.MaxBufferPoolSize] = value; }
57[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue = TransportDefaults.MaxReceivedMessageSize)]
61get { return (long)base[ConfigurationStrings.MaxReceivedMessageSize]; }
62set { base[ConfigurationStrings.MaxReceivedMessageSize] = value; }
65[ConfigurationProperty(ConfigurationStrings.MessageEncoding, DefaultValue = WSHttpBindingDefaults.MessageEncoding)]
69get { return (WSMessageEncoding)base[ConfigurationStrings.MessageEncoding]; }
70set { base[ConfigurationStrings.MessageEncoding] = value; }
73[ConfigurationProperty(ConfigurationStrings.ProxyAddress, DefaultValue = HttpTransportDefaults.ProxyAddress)]
76get { return (Uri)base[ConfigurationStrings.ProxyAddress]; }
77set { base[ConfigurationStrings.ProxyAddress] = value; }
80[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)]
83get { return (XmlDictionaryReaderQuotasElement)base[ConfigurationStrings.ReaderQuotas]; }
86[ConfigurationProperty(ConfigurationStrings.ReliableSession)]
89get { return (StandardBindingOptionalReliableSessionElement)base[ConfigurationStrings.ReliableSession]; }
92[ConfigurationProperty(ConfigurationStrings.TextEncoding, DefaultValue = TextEncoderDefaults.EncodingString)]
96get { return (Encoding)base[ConfigurationStrings.TextEncoding]; }
97set { base[ConfigurationStrings.TextEncoding] = value; }
100[ConfigurationProperty(ConfigurationStrings.UseDefaultWebProxy, DefaultValue = HttpTransportDefaults.UseDefaultWebProxy)]
103get { return (bool)base[ConfigurationStrings.UseDefaultWebProxy]; }
104set { base[ConfigurationStrings.UseDefaultWebProxy] = value; }
112SetPropertyValueIfNotDefaultValue(ConfigurationStrings.BypassProxyOnLocal, wspBinding.BypassProxyOnLocal);
113SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransactionFlow, wspBinding.TransactionFlow);
114SetPropertyValueIfNotDefaultValue(ConfigurationStrings.HostNameComparisonMode, wspBinding.HostNameComparisonMode);
115SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, wspBinding.MaxBufferPoolSize);
116SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, wspBinding.MaxReceivedMessageSize);
117SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageEncoding, wspBinding.MessageEncoding);
118SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProxyAddress, wspBinding.ProxyAddress);
119SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TextEncoding, wspBinding.TextEncoding);
120SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseDefaultWebProxy, wspBinding.UseDefaultWebProxy);
System\ServiceModel\Configuration\XmlDictionaryReaderQuotasElement.cs (20)
18[ConfigurationProperty(ConfigurationStrings.MaxDepth, DefaultValue = 0)]
22get { return (int)base[ConfigurationStrings.MaxDepth]; }
23set { base[ConfigurationStrings.MaxDepth] = value; }
26[ConfigurationProperty(ConfigurationStrings.MaxStringContentLength, DefaultValue = 0)]
30get { return (int)base[ConfigurationStrings.MaxStringContentLength]; }
31set { base[ConfigurationStrings.MaxStringContentLength] = value; }
34[ConfigurationProperty(ConfigurationStrings.MaxArrayLength, DefaultValue = 0)]
38get { return (int)base[ConfigurationStrings.MaxArrayLength]; }
39set { base[ConfigurationStrings.MaxArrayLength] = value; }
42[ConfigurationProperty(ConfigurationStrings.MaxBytesPerRead, DefaultValue = 0)]
46get { return (int)base[ConfigurationStrings.MaxBytesPerRead]; }
47set { base[ConfigurationStrings.MaxBytesPerRead] = value; }
50[ConfigurationProperty(ConfigurationStrings.MaxNameTableCharCount, DefaultValue = 0)]
54get { return (int)base[ConfigurationStrings.MaxNameTableCharCount]; }
55set { base[ConfigurationStrings.MaxNameTableCharCount] = value; }
94SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxDepth, readerQuotas.MaxDepth);
98SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxStringContentLength, readerQuotas.MaxStringContentLength);
102SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxArrayLength, readerQuotas.MaxArrayLength);
106SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBytesPerRead, readerQuotas.MaxBytesPerRead);
110SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxNameTableCharCount, readerQuotas.MaxNameTableCharCount);