2706 references to ConfigurationStrings
System.ServiceModel (2706)
System\ServiceModel\BasicHttpBinding.cs (1)
133ConfigurationStrings.BasicHttpBindingCollectionElementName)));
System\ServiceModel\BasicHttpsBinding.cs (1)
132ConfigurationStrings.BasicHttpsBindingCollectionElementName)));
System\ServiceModel\Channels\CustomBinding.cs (1)
147ConfigurationStrings.CustomBindingCollectionElementName)));
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (3)
145throw FxTrace.Exception.AsError(new ConfigurationErrorsException(SR.GetString(SR.HttpMessageHandlerFactoryConfigInvalid_WithBothTypeAndHandlerList, ConfigurationStrings.MessageHandlerFactory, ConfigurationStrings.Type, ConfigurationStrings.Handlers)));
System\ServiceModel\Channels\SecurityBindingElement.cs (1)
27internal const string defaultAlgorithmSuiteString = ConfigurationStrings.Default;
System\ServiceModel\Channels\TransportDefaults.cs (3)
24internal const string TransactionProtocolString = System.ServiceModel.Configuration.ConfigurationStrings.OleTransactions; 59internal const string MessageVersionString = System.ServiceModel.Configuration.ConfigurationStrings.Soap12WSAddressing10; 465internal const string ReliableMessagingVersionString = System.ServiceModel.Configuration.ConfigurationStrings.WSReliableMessagingFebruary2005;
System\ServiceModel\Configuration\AddressHeaderCollectionElement.cs (5)
28if (properties[ConfigurationStrings.Headers].ValueOrigin != PropertyValueOrigin.Default) 34[ConfigurationProperty(ConfigurationStrings.Headers, DefaultValue = null)] 39AddressHeaderCollection retVal = (AddressHeaderCollection)base[ConfigurationStrings.Headers]; 52base[ConfigurationStrings.Headers] = value; 92SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Headers, headers);
System\ServiceModel\Configuration\AllowedAudienceUriElement.cs (3)
14[ConfigurationProperty(ConfigurationStrings.AllowedAudienceUri, Options = ConfigurationPropertyOptions.IsKey )] 18get { return (string)base[ConfigurationStrings.AllowedAudienceUri]; } 25base[ConfigurationStrings.AllowedAudienceUri] = value;
System\ServiceModel\Configuration\AllowedAudienceUriElementCollection.cs (1)
13: base(ConfigurationElementCollectionType.BasicMap, ConfigurationStrings.Add)
System\ServiceModel\Configuration\ApplicationContainerSettingsElement.cs (8)
24[ConfigurationProperty(ConfigurationStrings.PackageFullName, DefaultValue = ApplicationContainerSettingsDefaults.PackageFullNameDefaultString)] 30return (string)base[ConfigurationStrings.PackageFullName]; 40base[ConfigurationStrings.PackageFullName] = value; 44[ConfigurationProperty(ConfigurationStrings.SessionIdAttribute, DefaultValue = ApplicationContainerSettingsDefaults.CurrentUserSessionDefaultString)] 49get { return (int)base[ConfigurationStrings.SessionIdAttribute]; } 50set { base[ConfigurationStrings.SessionIdAttribute] = value; } 71SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PackageFullName, settings.PackageFullName); 72SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SessionIdAttribute, settings.SessionId);
System\ServiceModel\Configuration\AuthorizationPolicyTypeElement.cs (3)
24[ConfigurationProperty(ConfigurationStrings.PolicyType, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 28get { return (string)base[ConfigurationStrings.PolicyType]; } 35base[ConfigurationStrings.PolicyType] = value;
System\ServiceModel\Configuration\BaseAddressElement.cs (3)
15[ConfigurationProperty(ConfigurationStrings.BaseAddress, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] 19get { return (string)base[ConfigurationStrings.BaseAddress]; } 26base[ConfigurationStrings.BaseAddress] = value;
System\ServiceModel\Configuration\BaseAddressElementCollection.cs (1)
13: base(ConfigurationElementCollectionType.BasicMap, ConfigurationStrings.Add)
System\ServiceModel\Configuration\BaseAddressPrefixFilterElement.cs (3)
27[ConfigurationProperty(ConfigurationStrings.Prefix, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 30get { return (Uri)base[ConfigurationStrings.Prefix]; } 31set { base[ConfigurationStrings.Prefix] = value; }
System\ServiceModel\Configuration\BaseAddressPrefixFilterElementCollection.cs (1)
16: base(ConfigurationElementCollectionType.AddRemoveClearMap, ConfigurationStrings.Add)
System\ServiceModel\Configuration\BasicHttpBindingCollectionElement.cs (1)
15return (BasicHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.BasicHttpBindingCollectionElementName);
System\ServiceModel\Configuration\BasicHttpBindingElement.cs (6)
28[ConfigurationProperty(ConfigurationStrings.MessageEncoding, DefaultValue = BasicHttpBindingDefaults.MessageEncoding)] 32get { return (WSMessageEncoding)base[ConfigurationStrings.MessageEncoding]; } 33set { base[ConfigurationStrings.MessageEncoding] = value; } 36[ConfigurationProperty(ConfigurationStrings.Security)] 39get { return (BasicHttpSecurityElement)base[ConfigurationStrings.Security]; } 47SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageEncoding, bpBinding.MessageEncoding);
System\ServiceModel\Configuration\BasicHttpMessageSecurityElement.cs (10)
17[ConfigurationProperty(ConfigurationStrings.ClientCredentialType, DefaultValue = BasicHttpMessageSecurity.DefaultClientCredentialType)] 21get { return (BasicHttpMessageCredentialType)base[ConfigurationStrings.ClientCredentialType]; } 22set { base[ConfigurationStrings.ClientCredentialType] = value; } 25[ConfigurationProperty(ConfigurationStrings.AlgorithmSuite, DefaultValue = ConfigurationStrings.Default)] 29get { return (SecurityAlgorithmSuite)base[ConfigurationStrings.AlgorithmSuite]; } 30set { base[ConfigurationStrings.AlgorithmSuite] = value; } 40if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.AlgorithmSuite].ValueOrigin) 52SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.ClientCredentialType); 53SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AlgorithmSuite, security.AlgorithmSuite);
System\ServiceModel\Configuration\BasicHttpsBindingCollectionElement.cs (1)
13return (BasicHttpsBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.BasicHttpsBindingCollectionElementName);
System\ServiceModel\Configuration\BasicHttpsBindingElement.cs (6)
25[ConfigurationProperty(ConfigurationStrings.MessageEncoding, DefaultValue = BasicHttpBindingDefaults.MessageEncoding)] 29get { return (WSMessageEncoding)base[ConfigurationStrings.MessageEncoding]; } 30set { base[ConfigurationStrings.MessageEncoding] = value; } 33[ConfigurationProperty(ConfigurationStrings.Security)] 36get { return (BasicHttpsSecurityElement)base[ConfigurationStrings.Security]; } 49SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageEncoding, bpBinding.MessageEncoding);
System\ServiceModel\Configuration\BasicHttpSecurityElement.cs (8)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = BasicHttpSecurity.DefaultMode)] 22get { return (BasicHttpSecurityMode)base[ConfigurationStrings.Mode]; } 23set { base[ConfigurationStrings.Mode] = value; } 26[ConfigurationProperty(ConfigurationStrings.Transport)] 29get { return (HttpTransportSecurityElement)base[ConfigurationStrings.Transport]; } 32[ConfigurationProperty(ConfigurationStrings.Message)] 35get { return (BasicHttpMessageSecurityElement)base[ConfigurationStrings.Message]; } 55SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\BasicHttpsSecurityElement.cs (8)
12[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = BasicHttpsSecurity.DefaultMode)] 16get { return (BasicHttpsSecurityMode)base[ConfigurationStrings.Mode]; } 17set { base[ConfigurationStrings.Mode] = value; } 20[ConfigurationProperty(ConfigurationStrings.Transport)] 23get { return (HttpTransportSecurityElement)base[ConfigurationStrings.Transport]; } 26[ConfigurationProperty(ConfigurationStrings.Message)] 29get { return (BasicHttpMessageSecurityElement)base[ConfigurationStrings.Message]; } 51SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\BehaviorsSection.cs (9)
14[ConfigurationProperty(ConfigurationStrings.EndpointBehaviors, Options = ConfigurationPropertyOptions.None)] 17get { return (EndpointBehaviorElementCollection)base[ConfigurationStrings.EndpointBehaviors]; } 20[ConfigurationProperty(ConfigurationStrings.ServiceBehaviors, Options = ConfigurationPropertyOptions.None)] 23get { return (ServiceBehaviorElementCollection)base[ConfigurationStrings.ServiceBehaviors]; } 28return (BehaviorsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.BehaviorsSectionPath); 36return (BehaviorsSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.BehaviorsSectionPath); 44return (BehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evalContext, ConfigurationStrings.BehaviorsSectionPath); 64BehaviorsSection behaviors = (BehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.BehaviorsSectionPath); 92BehaviorsSection behaviors = (BehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.BehaviorsSectionPath);
System\ServiceModel\Configuration\BinaryMessageEncodingElement.cs (18)
21[ConfigurationProperty(ConfigurationStrings.MaxReadPoolSize, DefaultValue = EncoderDefaults.MaxReadPoolSize)] 25get { return (int)base[ConfigurationStrings.MaxReadPoolSize]; } 26set { base[ConfigurationStrings.MaxReadPoolSize] = value; } 29[ConfigurationProperty(ConfigurationStrings.MaxWritePoolSize, DefaultValue = EncoderDefaults.MaxWritePoolSize)] 33get { return (int)base[ConfigurationStrings.MaxWritePoolSize]; } 34set { base[ConfigurationStrings.MaxWritePoolSize] = value; } 37[ConfigurationProperty(ConfigurationStrings.MaxSessionSize, DefaultValue = BinaryEncoderDefaults.MaxSessionSize)] 41get { return (int)base[ConfigurationStrings.MaxSessionSize]; } 42set { base[ConfigurationStrings.MaxSessionSize] = value; } 45[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)] 48get { return (XmlDictionaryReaderQuotasElement) base[ConfigurationStrings.ReaderQuotas]; } 51[ConfigurationProperty(ConfigurationStrings.CompressionFormat, DefaultValue = EncoderDefaults.DefaultCompressionFormat)] 55get { return (CompressionFormat)base[ConfigurationStrings.CompressionFormat]; } 56set { base[ConfigurationStrings.CompressionFormat] = value; } 87SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxSessionSize, binding.MaxSessionSize); 88SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReadPoolSize, binding.MaxReadPoolSize); 89SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxWritePoolSize, binding.MaxWritePoolSize); 91SetPropertyValueIfNotDefaultValue(ConfigurationStrings.CompressionFormat, binding.CompressionFormat);
System\ServiceModel\Configuration\BindingCollectionElement.cs (3)
54collection = ExtensionsSection.UnsafeLookupCollection(ConfigurationStrings.BindingExtensions, ConfigurationHelpers.GetEvaluationContext(this)); 59ConfigurationStrings.BindingExtensions), 89ConfigurationStrings.BindingExtensions),
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\CallbackDebugElement.cs (3)
16[ConfigurationProperty(ConfigurationStrings.IncludeExceptionDetailInFaults, DefaultValue = false)] 19get { return (bool)base[ConfigurationStrings.IncludeExceptionDetailInFaults]; } 20set { base[ConfigurationStrings.IncludeExceptionDetailInFaults] = value; }
System\ServiceModel\Configuration\CallbackTimeoutsElement.cs (4)
18[ConfigurationProperty(ConfigurationStrings.TransactionTimeout, DefaultValue = ServiceDefaults.TransactionTimeoutString)] 20[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 23get { return (TimeSpan)base[ConfigurationStrings.TransactionTimeout]; } 24set { base[ConfigurationStrings.TransactionTimeout] = value; }
System\ServiceModel\Configuration\CertificateElement.cs (3)
21[ConfigurationProperty(ConfigurationStrings.EncodedValue, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.EncodedValue]; } 33base[ConfigurationStrings.EncodedValue] = value;
System\ServiceModel\Configuration\CertificateReferenceElement.cs (15)
22[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = EndpointIdentity.defaultStoreName)] 26get { return (StoreName)base[ConfigurationStrings.StoreName]; } 27set { base[ConfigurationStrings.StoreName] = value; } 30[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = EndpointIdentity.defaultStoreLocation)] 34get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; } 35set { base[ConfigurationStrings.StoreLocation] = value; } 38[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = EndpointIdentity.defaultX509FindType)] 42get { return (X509FindType)base[ConfigurationStrings.X509FindType]; } 43set { base[ConfigurationStrings.X509FindType] = value; } 46[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "")] 50get { return (string)base[ConfigurationStrings.FindValue]; } 57base[ConfigurationStrings.FindValue] = value; 61[ConfigurationProperty(ConfigurationStrings.IsChainIncluded, DefaultValue = false)] 64get { return (bool)base[ConfigurationStrings.IsChainIncluded]; } 65set { base[ConfigurationStrings.IsChainIncluded] = value; }
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\ChannelEndpointElementCollection.cs (2)
12[ConfigurationCollection(typeof(ChannelEndpointElement), AddItemName = ConfigurationStrings.Endpoint)] 16: base(ConfigurationStrings.Endpoint)
System\ServiceModel\Configuration\ChannelPoolSettingsElement.cs (14)
18[ConfigurationProperty(ConfigurationStrings.IdleTimeout, DefaultValue = OneWayDefaults.IdleTimeoutString)] 20[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 23get { return (TimeSpan)base[ConfigurationStrings.IdleTimeout]; } 24set { base[ConfigurationStrings.IdleTimeout] = value; } 27[ConfigurationProperty(ConfigurationStrings.LeaseTimeout, DefaultValue = OneWayDefaults.LeaseTimeoutString)] 29[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 32get { return (TimeSpan)base[ConfigurationStrings.LeaseTimeout]; } 33set { base[ConfigurationStrings.LeaseTimeout] = value; } 36[ConfigurationProperty(ConfigurationStrings.MaxOutboundChannelsPerEndpoint, DefaultValue = OneWayDefaults.MaxOutboundChannelsPerEndpoint)] 40get { return (int)base[ConfigurationStrings.MaxOutboundChannelsPerEndpoint]; } 41set { base[ConfigurationStrings.MaxOutboundChannelsPerEndpoint] = value; } 63SetPropertyValueIfNotDefaultValue(ConfigurationStrings.IdleTimeout, settings.IdleTimeout); 64SetPropertyValueIfNotDefaultValue(ConfigurationStrings.LeaseTimeout, settings.LeaseTimeout); 65SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxOutboundChannelsPerEndpoint, settings.MaxOutboundChannelsPerEndpoint);
System\ServiceModel\Configuration\ClaimTypeElement.cs (6)
25[ConfigurationProperty(ConfigurationStrings.ClaimType, DefaultValue = "", Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 29get { return (string)base[ConfigurationStrings.ClaimType]; } 36base[ConfigurationStrings.ClaimType] = value; 40[ConfigurationProperty(ConfigurationStrings.IsOptional, DefaultValue = ClaimTypeRequirement.DefaultIsOptional)] 43get { return (bool)base[ConfigurationStrings.IsOptional]; } 44set { base[ConfigurationStrings.IsOptional] = value; }
System\ServiceModel\Configuration\ClientCredentialsElement.cs (28)
23[ConfigurationProperty(ConfigurationStrings.Type, DefaultValue = "")] 27get { return (string)base[ConfigurationStrings.Type]; } 34base[ConfigurationStrings.Type] = value; 38[ConfigurationProperty(ConfigurationStrings.UseIdentityConfiguration, DefaultValue = false)] 43return (bool)base[ConfigurationStrings.UseIdentityConfiguration]; 47base[ConfigurationStrings.UseIdentityConfiguration] = value; 51[ConfigurationProperty(ConfigurationStrings.ClientCertificate)] 54get { return (X509InitiatorCertificateClientElement)base[ConfigurationStrings.ClientCertificate]; } 57[ConfigurationProperty(ConfigurationStrings.ServiceCertificate)] 60get { return (X509RecipientCertificateClientElement)base[ConfigurationStrings.ServiceCertificate]; } 63[ConfigurationProperty(ConfigurationStrings.Windows)] 66get { return (WindowsClientElement)base[ConfigurationStrings.Windows]; } 69[ConfigurationProperty(ConfigurationStrings.IssuedToken)] 72get { return (IssuedTokenClientElement)base[ConfigurationStrings.IssuedToken]; } 75[ConfigurationProperty(ConfigurationStrings.HttpDigest)] 78get { return (HttpDigestClientElement)base[ConfigurationStrings.HttpDigest]; } 81[ConfigurationProperty(ConfigurationStrings.Peer)] 84get { return (PeerCredentialElement)base[ConfigurationStrings.Peer]; } 87[ConfigurationProperty(ConfigurationStrings.SupportInteractive, DefaultValue = ClientCredentials.SupportInteractiveDefault)] 90get { return (bool)base[ConfigurationStrings.SupportInteractive]; } 91set { base[ConfigurationStrings.SupportInteractive] = value; } 141if (propertyInfo[ConfigurationStrings.Windows].ValueOrigin != PropertyValueOrigin.Default) 145if (propertyInfo[ConfigurationStrings.ClientCertificate].ValueOrigin != PropertyValueOrigin.Default) 149if (propertyInfo[ConfigurationStrings.ServiceCertificate].ValueOrigin != PropertyValueOrigin.Default) 153if (propertyInfo[ConfigurationStrings.IssuedToken].ValueOrigin != PropertyValueOrigin.Default) 157if (propertyInfo[ConfigurationStrings.HttpDigest].ValueOrigin != PropertyValueOrigin.Default) 161if (propertyInfo[ConfigurationStrings.Peer].ValueOrigin != PropertyValueOrigin.Default) 165if ( propertyInfo[ConfigurationStrings.UseIdentityConfiguration].ValueOrigin != PropertyValueOrigin.Default )
System\ServiceModel\Configuration\ClientSection.cs (7)
17[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 20get { return (ChannelEndpointElementCollection)this[ConfigurationStrings.DefaultCollectionName]; } 23[ConfigurationProperty(ConfigurationStrings.Metadata)] 26get { return (MetadataElement)this[ConfigurationStrings.Metadata]; } 31return (ClientSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ClientSectionPath); 39return (ClientSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ClientSectionPath); 47return (ClientSection)ConfigurationHelpers.UnsafeGetSectionFromContext(contextInformation, ConfigurationStrings.ClientSectionPath);
System\ServiceModel\Configuration\ClientViaElement.cs (3)
16[ConfigurationProperty(ConfigurationStrings.ViaUri)] 19get { return (Uri)base[ConfigurationStrings.ViaUri]; } 20set { base[ConfigurationStrings.ViaUri] = value; }
System\ServiceModel\Configuration\ComContractElement.cs (18)
24[ConfigurationProperty(ConfigurationStrings.Contract, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] 28get { return (string)base[ConfigurationStrings.Contract]; } 36base[ConfigurationStrings.Contract] = value; 40[ConfigurationProperty(ConfigurationStrings.ComMethodCollection, Options = ConfigurationPropertyOptions.None)] 43get { return (ComMethodElementCollection)base[ConfigurationStrings.ComMethodCollection]; } 46[ConfigurationProperty(ConfigurationStrings.ComContractName, DefaultValue = "", Options = ConfigurationPropertyOptions.None)] 50get { return (string)base[ConfigurationStrings.ComContractName]; } 58base[ConfigurationStrings.ComContractName] = value; 62[ConfigurationProperty(ConfigurationStrings.ComContractNamespace, DefaultValue = "", Options = ConfigurationPropertyOptions.None)] 66get { return (string)base[ConfigurationStrings.ComContractNamespace]; } 74base[ConfigurationStrings.ComContractNamespace] = value; 78[ConfigurationProperty(ConfigurationStrings.ComPersistableTypes)] 81get { return (ComPersistableTypeElementCollection)base[ConfigurationStrings.ComPersistableTypes]; } 84[ConfigurationProperty(ConfigurationStrings.ComSessionRequired, DefaultValue = true)] 87get { return (bool)base[ConfigurationStrings.ComSessionRequired]; } 90base[ConfigurationStrings.ComSessionRequired] = value; 94[ConfigurationProperty(ConfigurationStrings.ComUdtCollection)] 97get { return (ComUdtElementCollection)base[ConfigurationStrings.ComUdtCollection]; }
System\ServiceModel\Configuration\ComContractElementCollection.cs (2)
11[ConfigurationCollection(typeof(ComContractElement), AddItemName = ConfigurationStrings.ComContract)] 15: base(ConfigurationStrings.ComContract)
System\ServiceModel\Configuration\comcontractssection.cs (3)
13[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 16get { return (ComContractElementCollection)base[ConfigurationStrings.DefaultCollectionName]; } 21return (ComContractsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ComContractsSectionPath);
System\ServiceModel\Configuration\ComMethodElement.cs (3)
27[ConfigurationProperty(ConfigurationStrings.ExposedMethod, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] 31get { return (string)base[ConfigurationStrings.ExposedMethod]; } 39base[ConfigurationStrings.ExposedMethod] = value;
System\ServiceModel\Configuration\ComMethodElementCollection.cs (1)
15: base(ConfigurationStrings.Add)
System\ServiceModel\Configuration\CommonBehaviorsSection.cs (7)
13[ConfigurationProperty(ConfigurationStrings.EndpointBehaviors, Options = ConfigurationPropertyOptions.None)] 16get { return (CommonEndpointBehaviorElement)base[ConfigurationStrings.EndpointBehaviors]; } 19[ConfigurationProperty(ConfigurationStrings.ServiceBehaviors, Options = ConfigurationPropertyOptions.None)] 22get { return (CommonServiceBehaviorElement)base[ConfigurationStrings.ServiceBehaviors]; } 27return (CommonBehaviorsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.CommonBehaviorsSectionPath); 35return (CommonBehaviorsSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.CommonBehaviorsSectionPath); 43return (CommonBehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(contextEval, ConfigurationStrings.CommonBehaviorsSectionPath);
System\ServiceModel\Configuration\CommonEndpointBehaviorElement.cs (1)
14: base(ConfigurationStrings.BehaviorExtensions)
System\ServiceModel\Configuration\CommonServiceBehaviorElement.cs (1)
14: base(ConfigurationStrings.BehaviorExtensions)
System\ServiceModel\Configuration\ComPersistableTypeElement.cs (6)
26[ConfigurationProperty(ConfigurationStrings.Name, DefaultValue = "", Options = ConfigurationPropertyOptions.None)] 30get { return (string)base[ConfigurationStrings.Name]; } 38base[ConfigurationStrings.Name] = value; 42[ConfigurationProperty(ConfigurationStrings.ID, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] 46get { return (string)base[ConfigurationStrings.ID]; } 54base[ConfigurationStrings.ID] = value;
System\ServiceModel\Configuration\ComPersistableTypeElementCollection.cs (2)
11[ConfigurationCollection(typeof(ComPersistableTypeElement), AddItemName = ConfigurationStrings.Type)] 15: base(ConfigurationStrings.Type)
System\ServiceModel\Configuration\CompositeDuplexElement.cs (5)
22if (propertyInfo[ConfigurationStrings.ClientBaseAddress].ValueOrigin != PropertyValueOrigin.Default) 49[ConfigurationProperty(ConfigurationStrings.ClientBaseAddress, DefaultValue = null)] 52get { return (Uri)base[ConfigurationStrings.ClientBaseAddress]; } 53set { base[ConfigurationStrings.ClientBaseAddress] = value; } 60SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientBaseAddress, binding.ClientBaseAddress);
System\ServiceModel\Configuration\ComUdtElement.cs (12)
26[ConfigurationProperty(ConfigurationStrings.Name, DefaultValue = "", Options = ConfigurationPropertyOptions.None)] 30get { return (string)base[ConfigurationStrings.Name]; } 38base[ConfigurationStrings.Name] = value; 42[ConfigurationProperty(ConfigurationStrings.TypeLibID, Options = ConfigurationPropertyOptions.IsRequired)] 46get { return (string)base[ConfigurationStrings.TypeLibID]; } 54base[ConfigurationStrings.TypeLibID] = value; 58[ConfigurationProperty(ConfigurationStrings.TypeLibVersion, Options = ConfigurationPropertyOptions.IsRequired)] 62get { return (string)base[ConfigurationStrings.TypeLibVersion]; } 70base[ConfigurationStrings.TypeLibVersion] = value; 74[ConfigurationProperty(ConfigurationStrings.TypeDefID, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] 78get { return (string)base[ConfigurationStrings.TypeDefID]; } 86base[ConfigurationStrings.TypeDefID] = value;
System\ServiceModel\Configuration\ComUdtElementCollection.cs (2)
11[ConfigurationCollection(typeof(ComUdtElement), AddItemName = ConfigurationStrings.ComUdt)] 15: base(ConfigurationStrings.ComUdt)
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\ConfigurationStrings.cs (11)
499get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.BehaviorsSectionName); } 504get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.BindingsSectionGroupName); } 509get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ClientSectionName); } 514get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ComContractsSectionName); } 519get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.CommonBehaviorsSectionName); } 524get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.DiagnosticSectionName); } 529get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.Extensions); } 534get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ProtocolMappingSectionName); } 539get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ServiceHostingEnvironmentSectionName); } 544get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ServicesSectionName); } 549get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.StandardEndpointsSectionName); }
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\ContextBindingElementExtensionElement.cs (3)
36[ConfigurationProperty(ConfigurationStrings.ClientCallbackAddressName, DefaultValue = null)] 41get { return (Uri)base[ConfigurationStrings.ClientCallbackAddressName]; } 42set { base[ConfigurationStrings.ClientCallbackAddressName] = value; }
System\ServiceModel\Configuration\CustomBindingCollectionElement.cs (4)
18[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 21get { return (CustomBindingElementCollection)base[ConfigurationStrings.DefaultCollectionName]; } 55return (CustomBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.CustomBindingCollectionElementName); 69ConfigurationStrings.BindingElementExtensions)));
System\ServiceModel\Configuration\CustomBindingElement.cs (17)
23base(ConfigurationStrings.BindingElementExtensions, name) 26[ConfigurationProperty(ConfigurationStrings.CloseTimeout, DefaultValue = ServiceDefaults.CloseTimeoutString)] 28[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 31get { return (TimeSpan)base[ConfigurationStrings.CloseTimeout]; } 34base[ConfigurationStrings.CloseTimeout] = value; 39[ConfigurationProperty(ConfigurationStrings.OpenTimeout, DefaultValue = ServiceDefaults.OpenTimeoutString)] 41[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 44get { return (TimeSpan)base[ConfigurationStrings.OpenTimeout]; } 47base[ConfigurationStrings.OpenTimeout] = value; 52[ConfigurationProperty(ConfigurationStrings.ReceiveTimeout, DefaultValue = ServiceDefaults.ReceiveTimeoutString)] 54[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 57get { return (TimeSpan)base[ConfigurationStrings.ReceiveTimeout]; } 60base[ConfigurationStrings.ReceiveTimeout] = value; 65[ConfigurationProperty(ConfigurationStrings.SendTimeout, DefaultValue = ServiceDefaults.SendTimeoutString)] 67[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 70get { return (TimeSpan)base[ConfigurationStrings.SendTimeout]; } 73base[ConfigurationStrings.SendTimeout] = value;
System\ServiceModel\Configuration\CustomBindingElementCollection.cs (2)
13[ConfigurationCollection(typeof(CustomBindingElement), AddItemName = ConfigurationStrings.Binding)] 17: base(ConfigurationStrings.Binding)
System\ServiceModel\Configuration\DataContractSerializerElement.cs (6)
21[ConfigurationProperty(ConfigurationStrings.IgnoreExtensionDataObject, DefaultValue = DataContractSerializerDefaults.IgnoreExtensionDataObject)] 24get { return (bool)base[ConfigurationStrings.IgnoreExtensionDataObject]; } 25set { base[ConfigurationStrings.IgnoreExtensionDataObject] = value; } 28[ConfigurationProperty(ConfigurationStrings.MaxItemsInObjectGraph, DefaultValue = DataContractSerializerDefaults.MaxItemsInObjectGraph)] 32get { return (int)base[ConfigurationStrings.MaxItemsInObjectGraph]; } 33set { base[ConfigurationStrings.MaxItemsInObjectGraph] = value; }
System\ServiceModel\Configuration\DefaultPortElement.cs (6)
22[ConfigurationProperty(ConfigurationStrings.Scheme, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] 26get { return (string)base[ConfigurationStrings.Scheme]; } 33base[ConfigurationStrings.Scheme] = value; 37[ConfigurationProperty(ConfigurationStrings.Port, DefaultValue = 0, Options = ConfigurationPropertyOptions.IsRequired)] 41get { return (int)base[ConfigurationStrings.Port]; } 42set { base[ConfigurationStrings.Port] = value; }
System\ServiceModel\Configuration\DefaultPortElementCollection.cs (2)
9[ConfigurationCollection(typeof(DefaultPortElement), AddItemName = ConfigurationStrings.Add)] 13: base(ConfigurationStrings.Add)
System\ServiceModel\Configuration\DelegatingHandlerElement.cs (3)
28[ConfigurationProperty(ConfigurationStrings.Type, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 34return (string)base[ConfigurationStrings.Type]; 44base[ConfigurationStrings.Type] = value;
System\ServiceModel\Configuration\DelegatingHandlerElementCollection.cs (2)
13[ConfigurationCollection(typeof(DelegatingHandlerElement), AddItemName = ConfigurationStrings.Handler, CollectionType = ConfigurationElementCollectionType.BasicMap)] 17: base(ConfigurationElementCollectionType.BasicMap, ConfigurationStrings.Handler)
System\ServiceModel\Configuration\DiagnosticSection.cs (17)
20[ConfigurationProperty(ConfigurationStrings.WmiProviderEnabled, DefaultValue = false)] 23get { return (bool)base[ConfigurationStrings.WmiProviderEnabled]; } 24set { base[ConfigurationStrings.WmiProviderEnabled] = value; } 27[ConfigurationProperty(ConfigurationStrings.MessageLogging, Options = ConfigurationPropertyOptions.None)] 30get { return (MessageLoggingElement)base[ConfigurationStrings.MessageLogging]; } 33[ConfigurationProperty(ConfigurationStrings.EndToEndTracing, Options = ConfigurationPropertyOptions.None)] 36get { return (EndToEndTracingElement)base[ConfigurationStrings.EndToEndTracing]; } 39[ConfigurationProperty(ConfigurationStrings.PerformanceCounters, DefaultValue = PerformanceCounterScope.Default)] 43get { return (PerformanceCounterScope)base[ConfigurationStrings.PerformanceCounters]; } 44set { base[ConfigurationStrings.PerformanceCounters] = value; } 47[ConfigurationProperty(ConfigurationStrings.EtwProviderId, DefaultValue = "{c651f5f6-1c0d-492e-8ae1-b4efd7c9d503}")] 51get { return (string)base[ConfigurationStrings.EtwProviderId]; } 52set { base[ConfigurationStrings.EtwProviderId] = value; } 57return (DiagnosticSection)ConfigurationHelpers.GetSection(ConfigurationStrings.DiagnosticSectionPath); 65return (DiagnosticSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.DiagnosticSectionPath); 73return (DiagnosticSection)ConfigurationHelpers.UnsafeGetSectionNoTrace(ConfigurationStrings.DiagnosticSectionPath); 78return PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.EtwProviderId].ValueOrigin;
System\ServiceModel\Configuration\DispatcherSynchronizationElement.cs (6)
19[ConfigurationProperty(ConfigurationStrings.AsynchronousSendEnabled, DefaultValue = false)] 22get { return (bool)base[ConfigurationStrings.AsynchronousSendEnabled]; } 23set { base[ConfigurationStrings.AsynchronousSendEnabled] = value; } 26[ConfigurationProperty(ConfigurationStrings.MaxPendingReceives, 31get { return (int)base[ConfigurationStrings.MaxPendingReceives]; } 32set { base[ConfigurationStrings.MaxPendingReceives] = value; }
System\ServiceModel\Configuration\DnsElement.cs (3)
21[ConfigurationProperty(ConfigurationStrings.Value, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.Value]; } 33base[ConfigurationStrings.Value] = value;
System\ServiceModel\Configuration\EndpointAddressElementBase.cs (9)
19[ConfigurationProperty(ConfigurationStrings.Address, DefaultValue = null, Options = ConfigurationPropertyOptions.IsRequired)] 22get { return (Uri)base[ConfigurationStrings.Address]; } 23set { base[ConfigurationStrings.Address] = value; } 26[ConfigurationProperty(ConfigurationStrings.Headers)] 29get { return (AddressHeaderCollectionElement)base[ConfigurationStrings.Headers]; } 32[ConfigurationProperty(ConfigurationStrings.Identity)] 35get { return (IdentityElement)base[ConfigurationStrings.Identity]; } 53if (properties[ConfigurationStrings.Identity].ValueOrigin != PropertyValueOrigin.Default) 66SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Address, endpointAddress.Uri);
System\ServiceModel\Configuration\EndpointBehaviorElement.cs (1)
23: base(ConfigurationStrings.BehaviorExtensions, name)
System\ServiceModel\Configuration\EndpointBehaviorElementCollection.cs (2)
12[ConfigurationCollection(typeof(EndpointBehaviorElement), AddItemName = ConfigurationStrings.Behavior)] 16: base(ConfigurationStrings.Behavior)
System\ServiceModel\Configuration\EndpointCollectionElement.cs (3)
56collection = ExtensionsSection.UnsafeLookupCollection(ConfigurationStrings.EndpointExtensions, ConfigurationHelpers.GetEvaluationContext(this)); 61ConfigurationStrings.EndpointExtensions), 91ConfigurationStrings.EndpointExtensions),
System\ServiceModel\Configuration\EndToEndTracingElement.cs (9)
18[ConfigurationProperty(ConfigurationStrings.PropagateActivity, DefaultValue = false)] 21get { return (bool)base[ConfigurationStrings.PropagateActivity]; } 22set { base[ConfigurationStrings.PropagateActivity] = value; } 25[ConfigurationProperty(ConfigurationStrings.ActivityTracing, DefaultValue = false)] 28get { return (bool)base[ConfigurationStrings.ActivityTracing]; } 29set { base[ConfigurationStrings.ActivityTracing] = value; } 32[ConfigurationProperty(ConfigurationStrings.MessageFlowTracing, DefaultValue = false)] 35get { return (bool)base[ConfigurationStrings.MessageFlowTracing]; } 36set { base[ConfigurationStrings.MessageFlowTracing] = value; }
System\ServiceModel\Configuration\ExtensionElement.cs (6)
40[ConfigurationProperty(ConfigurationStrings.Name, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 44get { return (string)base[ConfigurationStrings.Name]; } 51base[ConfigurationStrings.Name] = value; 55[ConfigurationProperty(ConfigurationStrings.Type, Options = ConfigurationPropertyOptions.IsRequired)] 59get { return (string)base[ConfigurationStrings.Type]; } 67base[ConfigurationStrings.Type] = value;
System\ServiceModel\Configuration\ExtensionElementCollection.cs (1)
14: base(ConfigurationElementCollectionType.BasicMap, ConfigurationStrings.Add)
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\FederatedMessageSecurityOverHttpElement.cs (30)
23[ConfigurationProperty(ConfigurationStrings.AlgorithmSuite, DefaultValue = ConfigurationStrings.Default)] 27get { return (SecurityAlgorithmSuite)base[ConfigurationStrings.AlgorithmSuite]; } 28set { base[ConfigurationStrings.AlgorithmSuite] = value; } 31[ConfigurationProperty(ConfigurationStrings.ClaimTypeRequirements)] 34get { return (ClaimTypeElementCollection)base[ConfigurationStrings.ClaimTypeRequirements]; } 37[ConfigurationProperty(ConfigurationStrings.EstablishSecurityContext, DefaultValue = FederatedMessageSecurityOverHttp.DefaultEstablishSecurityContext)] 40get { return (bool)base[ConfigurationStrings.EstablishSecurityContext]; } 41set { base[ConfigurationStrings.EstablishSecurityContext] = value; } 44[ConfigurationProperty(ConfigurationStrings.IssuedKeyType, DefaultValue = FederatedMessageSecurityOverHttp.DefaultIssuedKeyType)] 48get { return (SecurityKeyType)base[ConfigurationStrings.IssuedKeyType]; } 49set { base[ConfigurationStrings.IssuedKeyType] = value; } 52[ConfigurationProperty(ConfigurationStrings.IssuedTokenType, DefaultValue = "")] 56get { return (string)base[ConfigurationStrings.IssuedTokenType]; } 64base[ConfigurationStrings.IssuedTokenType] = value; 68[ConfigurationProperty(ConfigurationStrings.Issuer)] 71get { return (IssuedTokenParametersEndpointAddressElement)base[ConfigurationStrings.Issuer]; } 74[ConfigurationProperty(ConfigurationStrings.IssuerMetadata)] 77get { return (EndpointAddressElementBase)base[ConfigurationStrings.IssuerMetadata]; } 80[ConfigurationProperty(ConfigurationStrings.NegotiateServiceCredential, DefaultValue = MessageSecurityOverHttp.DefaultNegotiateServiceCredential)] 83get { return (bool)base[ConfigurationStrings.NegotiateServiceCredential]; } 84set { base[ConfigurationStrings.NegotiateServiceCredential] = value; } 87[ConfigurationProperty(ConfigurationStrings.TokenRequestParameters)] 90get { return (XmlElementElementCollection)base[ConfigurationStrings.TokenRequestParameters]; } 107if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.Issuer].ValueOrigin) 116if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.IssuerMetadata].ValueOrigin) 136SetPropertyValueIfNotDefaultValue(ConfigurationStrings.NegotiateServiceCredential, security.NegotiateServiceCredential); 137SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AlgorithmSuite, security.AlgorithmSuite); 138SetPropertyValueIfNotDefaultValue(ConfigurationStrings.IssuedKeyType, security.IssuedKeyType); 139SetPropertyValueIfNotDefaultValue(ConfigurationStrings.EstablishSecurityContext, security.EstablishSecurityContext);
System\ServiceModel\Configuration\HostElement.cs (4)
13[ConfigurationProperty(ConfigurationStrings.BaseAddresses, Options = ConfigurationPropertyOptions.None)] 16get { return (BaseAddressElementCollection)base[ConfigurationStrings.BaseAddresses]; } 19[ConfigurationProperty(ConfigurationStrings.Timeouts, Options = ConfigurationPropertyOptions.None)] 22get { return (HostTimeoutsElement)base[ConfigurationStrings.Timeouts]; }
System\ServiceModel\Configuration\HostTimeoutsElement.cs (8)
15[ConfigurationProperty(ConfigurationStrings.CloseTimeout, DefaultValue = ServiceDefaults.ServiceHostCloseTimeoutString)] 17[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 20get { return (TimeSpan)base[ConfigurationStrings.CloseTimeout]; } 21set { base[ConfigurationStrings.CloseTimeout] = value; } 24[ConfigurationProperty(ConfigurationStrings.OpenTimeout, DefaultValue = ServiceDefaults.OpenTimeoutString)] 26[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 29get { return (TimeSpan)base[ConfigurationStrings.OpenTimeout]; } 30set { base[ConfigurationStrings.OpenTimeout] = value; }
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\HttpDigestClientElement.cs (3)
22[ConfigurationProperty(ConfigurationStrings.ImpersonationLevel, DefaultValue = WindowsClientCredential.DefaultImpersonationLevel)] 26get { return (TokenImpersonationLevel)base[ConfigurationStrings.ImpersonationLevel]; } 27set { base[ConfigurationStrings.ImpersonationLevel] = value; }
System\ServiceModel\Configuration\HttpMessageHandlerFactoryElement.cs (6)
21[ConfigurationProperty(ConfigurationStrings.Handlers)] 24get { return (DelegatingHandlerElementCollection)this[ConfigurationStrings.Handlers]; } 25internal set { base[ConfigurationStrings.Handlers] = value; } 28[ConfigurationProperty(ConfigurationStrings.Type)] 32get { return (string)base[ConfigurationStrings.Type]; } 33set { base[ConfigurationStrings.Type] = value; }
System\ServiceModel\Configuration\HttpMessageHandlerFactoryValidator.cs (3)
22throw FxTrace.Exception.AsError(new ConfigurationErrorsException(SR.GetString(SR.HttpMessageHandlerFactoryConfigInvalid_WithBothTypeAndHandlerList, ConfigurationStrings.MessageHandlerFactory, ConfigurationStrings.Type, ConfigurationStrings.Handlers)));
System\ServiceModel\Configuration\HttpsTransportElement.cs (4)
46SetPropertyValueIfNotDefaultValue(ConfigurationStrings.RequireClientCertificate, binding.RequireClientCertificate); 49[ConfigurationProperty(ConfigurationStrings.RequireClientCertificate, DefaultValue = TransportDefaults.RequireClientCertificate)] 52get { return (bool)base[ConfigurationStrings.RequireClientCertificate]; } 53set { base[ConfigurationStrings.RequireClientCertificate] = value; }
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\HttpTransportSecurityElement.cs (15)
21[ConfigurationProperty(ConfigurationStrings.ClientCredentialType, DefaultValue = HttpTransportSecurity.DefaultClientCredentialType)] 25get { return (HttpClientCredentialType)base[ConfigurationStrings.ClientCredentialType]; } 26set { base[ConfigurationStrings.ClientCredentialType] = value; } 29[ConfigurationProperty(ConfigurationStrings.ProxyCredentialType, DefaultValue = HttpTransportSecurity.DefaultProxyCredentialType)] 33get { return (HttpProxyCredentialType)base[ConfigurationStrings.ProxyCredentialType]; } 34set { base[ConfigurationStrings.ProxyCredentialType] = value; } 37[ConfigurationProperty(ConfigurationStrings.ExtendedProtectionPolicy)] 40get { return (ExtendedProtectionPolicyElement)base[ConfigurationStrings.ExtendedProtectionPolicy]; } 41private set { base[ConfigurationStrings.ExtendedProtectionPolicy] = value; } 44[ConfigurationProperty(ConfigurationStrings.Realm, DefaultValue = HttpTransportSecurity.DefaultRealm)] 48get { return (string)base[ConfigurationStrings.Realm]; } 55base[ConfigurationStrings.Realm] = value; 77SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.ClientCredentialType); 78SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProxyCredentialType, security.ProxyCredentialType); 79SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Realm, security.Realm);
System\ServiceModel\Configuration\IdentityElement.cs (16)
22[ConfigurationProperty(ConfigurationStrings.UserPrincipalName)] 25get { return (UserPrincipalNameElement)base[ConfigurationStrings.UserPrincipalName]; } 28[ConfigurationProperty(ConfigurationStrings.ServicePrincipalName)] 31get { return (ServicePrincipalNameElement)base[ConfigurationStrings.ServicePrincipalName]; } 34[ConfigurationProperty(ConfigurationStrings.Dns)] 37get { return (DnsElement)base[ConfigurationStrings.Dns]; } 40[ConfigurationProperty(ConfigurationStrings.Rsa)] 43get { return (RsaElement)base[ConfigurationStrings.Rsa]; } 46[ConfigurationProperty(ConfigurationStrings.Certificate)] 49get { return (CertificateElement)base[ConfigurationStrings.Certificate]; } 52[ConfigurationProperty(ConfigurationStrings.CertificateReference)] 55get { return (CertificateReferenceElement)base[ConfigurationStrings.CertificateReference]; } 66if (properties[ConfigurationStrings.UserPrincipalName].ValueOrigin != PropertyValueOrigin.Default) 70if (properties[ConfigurationStrings.ServicePrincipalName].ValueOrigin != PropertyValueOrigin.Default) 74if (properties[ConfigurationStrings.Certificate].ValueOrigin != PropertyValueOrigin.Default) 78if (properties[ConfigurationStrings.CertificateReference].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\IssuedTokenClientBehaviorsElement.cs (6)
19[ConfigurationProperty(ConfigurationStrings.IssuerAddress, DefaultValue = "", Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 23get { return (string)base[ConfigurationStrings.IssuerAddress]; } 30base[ConfigurationStrings.IssuerAddress] = value; 34[ConfigurationProperty(ConfigurationStrings.BehaviorConfiguration, DefaultValue = "")] 38get { return (string)base[ConfigurationStrings.BehaviorConfiguration]; } 45base[ConfigurationStrings.BehaviorConfiguration] = value;
System\ServiceModel\Configuration\IssuedTokenClientElement.cs (25)
22[ConfigurationProperty(ConfigurationStrings.LocalIssuer)] 25get { return (IssuedTokenParametersEndpointAddressElement)base[ConfigurationStrings.LocalIssuer]; } 28[ConfigurationProperty(ConfigurationStrings.LocalIssuerChannelBehaviors, DefaultValue = "")] 32get { return (string)base[ConfigurationStrings.LocalIssuerChannelBehaviors]; } 39base[ConfigurationStrings.LocalIssuerChannelBehaviors] = value; 43[ConfigurationProperty(ConfigurationStrings.IssuerChannelBehaviors)] 46get { return (IssuedTokenClientBehaviorsElementCollection)base[ConfigurationStrings.IssuerChannelBehaviors]; } 49[ConfigurationProperty(ConfigurationStrings.CacheIssuedTokens, DefaultValue = SpnegoTokenProvider.defaultClientCacheTokens)] 52get { return (bool)base[ConfigurationStrings.CacheIssuedTokens]; } 53set { base[ConfigurationStrings.CacheIssuedTokens] = value; } 56[ConfigurationProperty(ConfigurationStrings.MaxIssuedTokenCachingTime, DefaultValue = SpnegoTokenProvider.defaultClientMaxTokenCachingTimeString)] 58[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 61get { return (TimeSpan)base[ConfigurationStrings.MaxIssuedTokenCachingTime]; } 62set { base[ConfigurationStrings.MaxIssuedTokenCachingTime] = value; } 65[ConfigurationProperty(ConfigurationStrings.DefaultKeyEntropyMode, DefaultValue = System.ServiceModel.Security.AcceleratedTokenProvider.defaultKeyEntropyMode)] 69get { return (SecurityKeyEntropyMode)base[ConfigurationStrings.DefaultKeyEntropyMode]; } 70set { base[ConfigurationStrings.DefaultKeyEntropyMode] = value; } 73[ConfigurationProperty(ConfigurationStrings.IssuedTokenRenewalThresholdPercentage, DefaultValue = SpnegoTokenProvider.defaultServiceTokenValidityThresholdPercentage)] 77get { return (int)base[ConfigurationStrings.IssuedTokenRenewalThresholdPercentage]; } 78set { base[ConfigurationStrings.IssuedTokenRenewalThresholdPercentage] = value; } 98if (PropertyValueOrigin.Default != from.ElementInformation.Properties[ConfigurationStrings.LocalIssuer].ValueOrigin) 103if (PropertyValueOrigin.Default != from.ElementInformation.Properties[ConfigurationStrings.LocalIssuerChannelBehaviors].ValueOrigin) 108if (PropertyValueOrigin.Default != from.ElementInformation.Properties[ConfigurationStrings.IssuerChannelBehaviors].ValueOrigin) 127if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.LocalIssuer].ValueOrigin) 140if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.IssuerChannelBehaviors].ValueOrigin)
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\IssuedTokenParametersEndpointAddressElement.cs (6)
18[ConfigurationProperty(ConfigurationStrings.Binding, DefaultValue = "")] 22get { return (string)base[ConfigurationStrings.Binding]; } 29base[ConfigurationStrings.Binding] = value; 33[ConfigurationProperty(ConfigurationStrings.BindingConfiguration, DefaultValue = "")] 37get { return (string)base[ConfigurationStrings.BindingConfiguration]; } 44base[ConfigurationStrings.BindingConfiguration] = value;
System\ServiceModel\Configuration\IssuedTokenServiceElement.cs (29)
22[ConfigurationProperty(ConfigurationStrings.AllowedAudienceUris)] 25get { return (AllowedAudienceUriElementCollection)base[ConfigurationStrings.AllowedAudienceUris]; } 28[ConfigurationProperty(ConfigurationStrings.AudienceUriMode, DefaultValue = IssuedTokenServiceCredential.DefaultAudienceUriMode)] 32get { return (AudienceUriMode)base[ConfigurationStrings.AudienceUriMode]; } 33set { base[ConfigurationStrings.AudienceUriMode] = value; } 36[ConfigurationProperty(ConfigurationStrings.CustomCertificateValidatorType, DefaultValue = "")] 40get { return (string)base[ConfigurationStrings.CustomCertificateValidatorType]; } 47base[ConfigurationStrings.CustomCertificateValidatorType] = value; 51[ConfigurationProperty(ConfigurationStrings.CertificateValidationMode, DefaultValue = IssuedTokenServiceCredential.DefaultCertificateValidationMode)] 55get { return (X509CertificateValidationMode)base[ConfigurationStrings.CertificateValidationMode]; } 56set { base[ConfigurationStrings.CertificateValidationMode] = value; } 59[ConfigurationProperty(ConfigurationStrings.RevocationMode, DefaultValue = IssuedTokenServiceCredential.DefaultRevocationMode)] 63get { return (X509RevocationMode)base[ConfigurationStrings.RevocationMode]; } 64set { base[ConfigurationStrings.RevocationMode] = value; } 67[ConfigurationProperty(ConfigurationStrings.TrustedStoreLocation, DefaultValue = IssuedTokenServiceCredential.DefaultTrustedStoreLocation)] 71get { return (StoreLocation)base[ConfigurationStrings.TrustedStoreLocation]; } 72set { base[ConfigurationStrings.TrustedStoreLocation] = value; } 76[ConfigurationProperty(ConfigurationStrings.SamlSerializerType, DefaultValue = "")] 80get { return (string)base[ConfigurationStrings.SamlSerializerType]; } 87base[ConfigurationStrings.SamlSerializerType] = value; 91[ConfigurationProperty(ConfigurationStrings.KnownCertificates)] 94get { return (X509CertificateTrustedIssuerElementCollection)base[ConfigurationStrings.KnownCertificates]; } 97[ConfigurationProperty(ConfigurationStrings.AllowUntrustedRsaIssuers, DefaultValue = IssuedTokenServiceCredential.DefaultAllowUntrustedRsaIssuers)] 100get { return (bool)base[ConfigurationStrings.AllowUntrustedRsaIssuers]; } 101set { base[ConfigurationStrings.AllowUntrustedRsaIssuers] = value; } 119if (propertyInfo[ConfigurationStrings.KnownCertificates].ValueOrigin != PropertyValueOrigin.Default) 130if (propertyInfo[ConfigurationStrings.AllowedAudienceUris].ValueOrigin != PropertyValueOrigin.Default) 180if (propertyInfo[ConfigurationStrings.KnownCertificates].ValueOrigin != PropertyValueOrigin.Default) 188if (propertyInfo[ConfigurationStrings.AllowedAudienceUris].ValueOrigin != PropertyValueOrigin.Default)
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\MessageLoggingElement.cs (23)
21[ConfigurationProperty(ConfigurationStrings.LogEntireMessage, DefaultValue = false)] 24get { return (bool)base[ConfigurationStrings.LogEntireMessage]; } 25set { base[ConfigurationStrings.LogEntireMessage] = value; } 28[ConfigurationProperty(ConfigurationStrings.LogKnownPii, DefaultValue = false)] 31get { return (bool)base[ConfigurationStrings.LogKnownPii]; } 32set { base[ConfigurationStrings.LogKnownPii] = value; } 35[ConfigurationProperty(ConfigurationStrings.LogMalformedMessages, DefaultValue = false)] 38get { return (bool)base[ConfigurationStrings.LogMalformedMessages]; } 39set { base[ConfigurationStrings.LogMalformedMessages] = value; } 42[ConfigurationProperty(ConfigurationStrings.LogMessagesAtServiceLevel, DefaultValue = false)] 45get { return (bool)base[ConfigurationStrings.LogMessagesAtServiceLevel]; } 46set { base[ConfigurationStrings.LogMessagesAtServiceLevel] = value; } 49[ConfigurationProperty(ConfigurationStrings.LogMessagesAtTransportLevel, DefaultValue = false)] 52get { return (bool)base[ConfigurationStrings.LogMessagesAtTransportLevel]; } 53set { base[ConfigurationStrings.LogMessagesAtTransportLevel] = value; } 56[ConfigurationProperty(ConfigurationStrings.MaxMessagesToLog, DefaultValue = 10000)] 60get { return (int)base[ConfigurationStrings.MaxMessagesToLog]; } 61set { base[ConfigurationStrings.MaxMessagesToLog] = value; } 64[ConfigurationProperty(ConfigurationStrings.MaxSizeOfMessageToLog, DefaultValue = 262144)] 68get { return (int)base[ConfigurationStrings.MaxSizeOfMessageToLog]; } 69set { base[ConfigurationStrings.MaxSizeOfMessageToLog] = value; } 72[ConfigurationProperty(ConfigurationStrings.Filters, DefaultValue = null)] 75get { return (XPathMessageFilterElementCollection)base[ConfigurationStrings.Filters]; }
System\ServiceModel\Configuration\MessageSecurityOverHttpElement.cs (14)
18[ConfigurationProperty(ConfigurationStrings.ClientCredentialType, DefaultValue = MessageSecurityOverHttp.DefaultClientCredentialType)] 22get { return (MessageCredentialType)base[ConfigurationStrings.ClientCredentialType]; } 23set { base[ConfigurationStrings.ClientCredentialType] = value; } 26[ConfigurationProperty(ConfigurationStrings.NegotiateServiceCredential, DefaultValue = MessageSecurityOverHttp.DefaultNegotiateServiceCredential)] 29get { return (bool)base[ConfigurationStrings.NegotiateServiceCredential]; } 30set { base[ConfigurationStrings.NegotiateServiceCredential] = value; } 33[ConfigurationProperty(ConfigurationStrings.AlgorithmSuite, DefaultValue = ConfigurationStrings.Default)] 37get { return (SecurityAlgorithmSuite)base[ConfigurationStrings.AlgorithmSuite]; } 38set { base[ConfigurationStrings.AlgorithmSuite] = value; } 49if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.AlgorithmSuite].ValueOrigin) 61SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.ClientCredentialType); 62SetPropertyValueIfNotDefaultValue(ConfigurationStrings.NegotiateServiceCredential, security.NegotiateServiceCredential); 65SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AlgorithmSuite, security.AlgorithmSuite);
System\ServiceModel\Configuration\MessageSecurityOverMsmqElement.cs (9)
18[ConfigurationProperty(ConfigurationStrings.ClientCredentialType, DefaultValue = MessageSecurityOverMsmq.DefaultClientCredentialType)] 22get { return (MessageCredentialType)base[ConfigurationStrings.ClientCredentialType]; } 23set { base[ConfigurationStrings.ClientCredentialType] = value; } 26[ConfigurationProperty(ConfigurationStrings.AlgorithmSuite, DefaultValue = ConfigurationStrings.Default)] 30get { return (SecurityAlgorithmSuite)base[ConfigurationStrings.AlgorithmSuite]; } 31set { base[ConfigurationStrings.AlgorithmSuite] = value; } 41if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.AlgorithmSuite].ValueOrigin) 53SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.ClientCredentialType);
System\ServiceModel\Configuration\MessageSecurityOverTcpElement.cs (10)
18[ConfigurationProperty(ConfigurationStrings.ClientCredentialType, DefaultValue = MessageSecurityOverTcp.DefaultClientCredentialType)] 22get { return (MessageCredentialType)base[ConfigurationStrings.ClientCredentialType]; } 23set { base[ConfigurationStrings.ClientCredentialType] = value; } 26[ConfigurationProperty(ConfigurationStrings.AlgorithmSuite, DefaultValue = ConfigurationStrings.Default)] 30get { return (SecurityAlgorithmSuite)base[ConfigurationStrings.AlgorithmSuite]; } 31set { base[ConfigurationStrings.AlgorithmSuite] = value; } 41if (PropertyValueOrigin.Default != this.ElementInformation.Properties[ConfigurationStrings.AlgorithmSuite].ValueOrigin) 53SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.ClientCredentialType); 56SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AlgorithmSuite, security.AlgorithmSuite);
System\ServiceModel\Configuration\MessageSecurityVersionConverter.cs (14)
42case ConfigurationStrings.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11: 45case ConfigurationStrings.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10: 48case ConfigurationStrings.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10: 51case ConfigurationStrings.WSSecurity10WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10: 54case ConfigurationStrings.WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12: 57case ConfigurationStrings.WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10: 60case ConfigurationStrings.Default: 80retval = ConfigurationStrings.Default; 84retval = ConfigurationStrings.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11; 88retval = ConfigurationStrings.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10; 92retval = ConfigurationStrings.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10; 96retval = ConfigurationStrings.WSSecurity10WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10; 100retval = ConfigurationStrings.WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12; 104retval = ConfigurationStrings.WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10;
System\ServiceModel\Configuration\MessageVersionConverter.cs (16)
42case ConfigurationStrings.Soap11WSAddressing10: 45case ConfigurationStrings.Soap12WSAddressing10: 48case ConfigurationStrings.Soap11WSAddressingAugust2004: 51case ConfigurationStrings.Soap12WSAddressingAugust2004: 54case ConfigurationStrings.Soap11: 57case ConfigurationStrings.Soap12: 60case ConfigurationStrings.None: 63case ConfigurationStrings.Default: 83retval = ConfigurationStrings.Default; 87retval = ConfigurationStrings.Soap11WSAddressing10; 91retval = ConfigurationStrings.Soap12WSAddressing10; 95retval = ConfigurationStrings.Soap11WSAddressingAugust2004; 99retval = ConfigurationStrings.Soap12WSAddressingAugust2004; 103retval = ConfigurationStrings.Soap11; 107retval = ConfigurationStrings.Soap12; 111retval = ConfigurationStrings.None;
System\ServiceModel\Configuration\MetadataElement.cs (4)
22[ConfigurationProperty(ConfigurationStrings.PolicyImporters)] 25get { return (PolicyImporterElementCollection)base[ConfigurationStrings.PolicyImporters]; } 28[ConfigurationProperty(ConfigurationStrings.WsdlImporters)] 31get { return (WsdlImporterElementCollection)base[ConfigurationStrings.WsdlImporters]; }
System\ServiceModel\Configuration\MexHttpBindingCollectionElement.cs (1)
20return (MexHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MexHttpBindingCollectionElementName);
System\ServiceModel\Configuration\MexHttpsBindingCollectionElement.cs (1)
20return (MexHttpsBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MexHttpsBindingCollectionElementName);
System\ServiceModel\Configuration\MexNamedPipeBindingCollectionElement.cs (1)
20return (MexNamedPipeBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MexNamedPipeBindingCollectionElementName);
System\ServiceModel\Configuration\MexTcpBindingCollectionElement.cs (1)
20return (MexTcpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MexTcpBindingCollectionElementName);
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\MsmqIntegrationBindingCollectionElement.cs (1)
14return (MsmqIntegrationBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MsmqIntegrationBindingCollectionElementName);
System\ServiceModel\Configuration\MsmqIntegrationBindingElement.cs (6)
31[ConfigurationProperty(ConfigurationStrings.Security)] 34get { return (MsmqIntegrationSecurityElement)base[ConfigurationStrings.Security]; } 37[ConfigurationProperty(ConfigurationStrings.SerializationFormat, DefaultValue = MsmqIntegrationDefaults.SerializationFormat)] 41get { return (MsmqMessageSerializationFormat)base[ConfigurationStrings.SerializationFormat]; } 42set { base[ConfigurationStrings.SerializationFormat] = value; } 49SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SerializationFormat, miBinding.SerializationFormat);
System\ServiceModel\Configuration\MsmqIntegrationElement.cs (4)
48SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SerializationFormat, binding.SerializationFormat); 51[ConfigurationProperty(ConfigurationStrings.SerializationFormat, DefaultValue = MsmqIntegrationDefaults.SerializationFormat)] 55get { return (Msmq.MsmqMessageSerializationFormat)base[ConfigurationStrings.SerializationFormat]; } 56set { base[ConfigurationStrings.SerializationFormat] = value; }
System\ServiceModel\Configuration\MsmqIntegrationSecurityElement.cs (6)
19[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = MsmqIntegrationSecurity.DefaultMode)] 23get { return (MsmqIntegrationSecurityMode)base[ConfigurationStrings.Mode]; } 24set { base[ConfigurationStrings.Mode] = value; } 27[ConfigurationProperty(ConfigurationStrings.Transport)] 30get { return (MsmqTransportSecurityElement)base[ConfigurationStrings.Transport]; } 49SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\MsmqTransportElement.cs (12)
13[ConfigurationProperty(ConfigurationStrings.MaxPoolSize, DefaultValue = MsmqDefaults.MaxPoolSize)] 17get { return (int)base[ConfigurationStrings.MaxPoolSize]; } 18set { base[ConfigurationStrings.MaxPoolSize] = value; } 21[ConfigurationProperty(ConfigurationStrings.QueueTransferProtocol, DefaultValue = MsmqDefaults.QueueTransferProtocol)] 25get { return (QueueTransferProtocol)base[ConfigurationStrings.QueueTransferProtocol]; } 26set { base[ConfigurationStrings.QueueTransferProtocol] = value; } 29[ConfigurationProperty(ConfigurationStrings.UseActiveDirectory, DefaultValue = MsmqDefaults.UseActiveDirectory)] 32get { return (bool)base[ConfigurationStrings.UseActiveDirectory]; } 33set { base[ConfigurationStrings.UseActiveDirectory] = value; } 74SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxPoolSize, binding.MaxPoolSize); 75SetPropertyValueIfNotDefaultValue(ConfigurationStrings.QueueTransferProtocol, binding.QueueTransferProtocol); 76SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseActiveDirectory, binding.UseActiveDirectory);
System\ServiceModel\Configuration\MsmqTransportSecurityElement.cs (16)
19[ConfigurationProperty(ConfigurationStrings.MsmqAuthenticationMode, DefaultValue = MsmqDefaults.MsmqAuthenticationMode)] 23get { return (MsmqAuthenticationMode)base[ConfigurationStrings.MsmqAuthenticationMode]; } 24set { base[ConfigurationStrings.MsmqAuthenticationMode] = value; } 27[ConfigurationProperty(ConfigurationStrings.MsmqEncryptionAlgorithm, DefaultValue = MsmqDefaults.MsmqEncryptionAlgorithm)] 31get { return (MsmqEncryptionAlgorithm)base[ConfigurationStrings.MsmqEncryptionAlgorithm]; } 32set { base[ConfigurationStrings.MsmqEncryptionAlgorithm] = value; } 35[ConfigurationProperty(ConfigurationStrings.MsmqProtectionLevel, DefaultValue = MsmqDefaults.MsmqProtectionLevel)] 39get { return (ProtectionLevel)base[ConfigurationStrings.MsmqProtectionLevel]; } 40set { base[ConfigurationStrings.MsmqProtectionLevel] = value; } 43[ConfigurationProperty(ConfigurationStrings.MsmqSecureHashAlgorithm)] 47get { return (MsmqSecureHashAlgorithm)(base[ConfigurationStrings.MsmqSecureHashAlgorithm] ?? MsmqDefaults.MsmqSecureHashAlgorithm); } 48set { base[ConfigurationStrings.MsmqSecureHashAlgorithm] = value; } 67SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MsmqAuthenticationMode, security.MsmqAuthenticationMode); 68SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MsmqEncryptionAlgorithm, security.MsmqEncryptionAlgorithm); 69SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MsmqProtectionLevel, security.MsmqProtectionLevel); 70SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MsmqSecureHashAlgorithm, security.MsmqSecureHashAlgorithm);
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\NamedPipeConnectionPoolSettingsElement.cs (13)
20[ConfigurationProperty(ConfigurationStrings.GroupName, DefaultValue = ConnectionOrientedTransportDefaults.ConnectionPoolGroupName)] 24get { return (string)base[ConfigurationStrings.GroupName]; } 31base[ConfigurationStrings.GroupName] = value; 35[ConfigurationProperty(ConfigurationStrings.IdleTimeout, DefaultValue = ConnectionOrientedTransportDefaults.IdleTimeoutString)] 37[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 40get { return (TimeSpan)base[ConfigurationStrings.IdleTimeout]; } 41set { base[ConfigurationStrings.IdleTimeout] = value; } 44[ConfigurationProperty(ConfigurationStrings.MaxOutboundConnectionsPerEndpoint, DefaultValue = ConnectionOrientedTransportDefaults.MaxOutboundConnectionsPerEndpoint)] 48get { return (int)base[ConfigurationStrings.MaxOutboundConnectionsPerEndpoint]; } 49set { base[ConfigurationStrings.MaxOutboundConnectionsPerEndpoint] = value; } 71SetPropertyValueIfNotDefaultValue(ConfigurationStrings.GroupName, settings.GroupName); 72SetPropertyValueIfNotDefaultValue(ConfigurationStrings.IdleTimeout, settings.IdleTimeout); 73SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxOutboundConnectionsPerEndpoint, settings.MaxOutboundConnectionsPerEndpoint);
System\ServiceModel\Configuration\NamedPipeSettingsElement.cs (3)
21[ConfigurationProperty(ConfigurationStrings.ApplicationContainerSettings)] 24get { return (ApplicationContainerSettingsElement)base[ConfigurationStrings.ApplicationContainerSettings]; } 25set { base[ConfigurationStrings.ApplicationContainerSettings] = value; }
System\ServiceModel\Configuration\NamedPipeTransportElement.cs (6)
53[ConfigurationProperty(ConfigurationStrings.ConnectionPoolSettings)] 56get { return (NamedPipeConnectionPoolSettingsElement)base[ConfigurationStrings.ConnectionPoolSettings]; } 57set { base[ConfigurationStrings.ConnectionPoolSettings] = value; } 60[ConfigurationProperty(ConfigurationStrings.PipeSettings)] 63get { return (NamedPipeSettingsElement)base[ConfigurationStrings.PipeSettings]; } 64set { base[ConfigurationStrings.PipeSettings] = value; }
System\ServiceModel\Configuration\NamedPipeTransportSecurityElement.cs (4)
18[ConfigurationProperty(ConfigurationStrings.ProtectionLevel, DefaultValue = NamedPipeTransportSecurity.DefaultProtectionLevel)] 22get { return (ProtectionLevel)base[ConfigurationStrings.ProtectionLevel]; } 23set { base[ConfigurationStrings.ProtectionLevel] = value; } 41SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProtectionLevel, security.ProtectionLevel);
System\ServiceModel\Configuration\NamedServiceModelExtensionCollectionElement.cs (4)
28[ConfigurationProperty(ConfigurationStrings.Name, Options = ConfigurationPropertyOptions.IsKey)] 32get { return (string)base[ConfigurationStrings.Name]; } 39base[ConfigurationStrings.Name] = value; 51this.properties.Add(new ConfigurationProperty(ConfigurationStrings.Name, typeof(System.String), null, null, new StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Configuration\NetHttpBindingCollectionElement.cs (1)
14return (NetHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetHttpBindingCollectionElementName);
System\ServiceModel\Configuration\NetHttpBindingElement.cs (11)
28[ConfigurationProperty(ConfigurationStrings.MessageEncoding, DefaultValue = NetHttpBindingDefaults.MessageEncoding)] 32get { return (NetHttpMessageEncoding)base[ConfigurationStrings.MessageEncoding]; } 33set { base[ConfigurationStrings.MessageEncoding] = value; } 36[ConfigurationProperty(ConfigurationStrings.ReliableSession)] 39get { return (StandardBindingOptionalReliableSessionElement)base[ConfigurationStrings.ReliableSession]; } 42[ConfigurationProperty(ConfigurationStrings.Security)] 45get { return (BasicHttpSecurityElement)base[ConfigurationStrings.Security]; } 50[ConfigurationProperty(ConfigurationStrings.WebSocketSettingsSectionName)] 53get { return (NetHttpWebSocketTransportSettingsElement)base[ConfigurationStrings.WebSocketSettingsSectionName]; } 54set { base[ConfigurationStrings.WebSocketSettingsSectionName] = value; } 66SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageEncoding, netHttpBinding.MessageEncoding);
System\ServiceModel\Configuration\NetHttpsBindingCollectionElement.cs (1)
14return (NetHttpsBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetHttpsBindingCollectionElementName);
System\ServiceModel\Configuration\NetHttpsBindingElement.cs (11)
28[ConfigurationProperty(ConfigurationStrings.MessageEncoding, DefaultValue = NetHttpBindingDefaults.MessageEncoding)] 32get { return (NetHttpMessageEncoding)base[ConfigurationStrings.MessageEncoding]; } 33set { base[ConfigurationStrings.MessageEncoding] = value; } 36[ConfigurationProperty(ConfigurationStrings.ReliableSession)] 39get { return (StandardBindingOptionalReliableSessionElement)base[ConfigurationStrings.ReliableSession]; } 42[ConfigurationProperty(ConfigurationStrings.Security)] 45get { return (BasicHttpsSecurityElement)base[ConfigurationStrings.Security]; } 50[ConfigurationProperty(ConfigurationStrings.WebSocketSettingsSectionName)] 53get { return (NetHttpWebSocketTransportSettingsElement)base[ConfigurationStrings.WebSocketSettingsSectionName]; } 54set { base[ConfigurationStrings.WebSocketSettingsSectionName] = value; } 66SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageEncoding, netHttpsBinding.MessageEncoding);
System\ServiceModel\Configuration\NetHttpWebSocketTransportSettingsElement.cs (2)
15[ConfigurationProperty(ConfigurationStrings.TransportUsage, DefaultValue = NetHttpBindingDefaults.TransportUsage)] 23[ConfigurationProperty(ConfigurationStrings.SubProtocol, DefaultValue = WebSocketTransportSettings.SoapSubProtocol)]
System\ServiceModel\Configuration\NetMsmqBindingCollectionElement.cs (1)
15return (NetMsmqBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetMsmqBindingCollectionElementName);
System\ServiceModel\Configuration\NetMsmqBindingElement.cs (16)
32[ConfigurationProperty(ConfigurationStrings.QueueTransferProtocol, DefaultValue = MsmqDefaults.QueueTransferProtocol)] 36get { return (QueueTransferProtocol)base[ConfigurationStrings.QueueTransferProtocol]; } 37set { base[ConfigurationStrings.QueueTransferProtocol] = value; } 41[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)] 44get { return (XmlDictionaryReaderQuotasElement)base[ConfigurationStrings.ReaderQuotas]; } 47[ConfigurationProperty(ConfigurationStrings.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)] 51get { return (long)base[ConfigurationStrings.MaxBufferPoolSize]; } 52set { base[ConfigurationStrings.MaxBufferPoolSize] = value; } 55[ConfigurationProperty(ConfigurationStrings.Security)] 58get { return (NetMsmqSecurityElement)base[ConfigurationStrings.Security]; } 61[ConfigurationProperty(ConfigurationStrings.UseActiveDirectory, DefaultValue = MsmqDefaults.UseActiveDirectory)] 64get { return (bool)base[ConfigurationStrings.UseActiveDirectory]; } 65set { base[ConfigurationStrings.UseActiveDirectory] = value; } 73SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, npmBinding.MaxBufferPoolSize); 74SetPropertyValueIfNotDefaultValue(ConfigurationStrings.QueueTransferProtocol, npmBinding.QueueTransferProtocol); 75SetPropertyValueIfNotDefaultValue(ConfigurationStrings.UseActiveDirectory, npmBinding.UseActiveDirectory);
System\ServiceModel\Configuration\NetMsmqSecurityElement.cs (8)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = NetMsmqSecurity.DefaultMode)] 22get { return (NetMsmqSecurityMode)base[ConfigurationStrings.Mode]; } 23set { base[ConfigurationStrings.Mode] = value; } 26[ConfigurationProperty(ConfigurationStrings.Transport)] 29get { return (MsmqTransportSecurityElement)base[ConfigurationStrings.Transport]; } 32[ConfigurationProperty(ConfigurationStrings.Message)] 35get { return (MessageSecurityOverMsmqElement)base[ConfigurationStrings.Message]; } 55SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\NetNamedPipeBindingCollectionElement.cs (1)
15return (NetNamedPipeBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetNamedPipeBindingCollectionElementName);
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\NetNamedPipeSecurityElement.cs (6)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = NetNamedPipeSecurity.DefaultMode)] 22get { return (NetNamedPipeSecurityMode)base[ConfigurationStrings.Mode]; } 23set { base[ConfigurationStrings.Mode] = value; } 26[ConfigurationProperty(ConfigurationStrings.Transport)] 29get { return (NamedPipeTransportSecurityElement)base[ConfigurationStrings.Transport]; } 48SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\NetPeerTcpBindingCollectionElement.cs (1)
15return (NetPeerTcpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetPeerTcpBindingCollectionElementName);
System\ServiceModel\Configuration\NetPeerTcpBindingElement.cs (22)
32[ConfigurationProperty(ConfigurationStrings.ListenIPAddress, DefaultValue = PeerTransportDefaults.ListenIPAddress)] 37get { return (IPAddress)base[ConfigurationStrings.ListenIPAddress]; } 38set { base[ConfigurationStrings.ListenIPAddress] = value; } 41[ConfigurationProperty(ConfigurationStrings.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)] 45get { return (long)base[ConfigurationStrings.MaxBufferPoolSize]; } 46set { base[ConfigurationStrings.MaxBufferPoolSize] = value; } 49[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue = TransportDefaults.MaxReceivedMessageSize)] 53get { return (long)base[ConfigurationStrings.MaxReceivedMessageSize]; } 54set { base[ConfigurationStrings.MaxReceivedMessageSize] = value; } 57[ConfigurationProperty(ConfigurationStrings.Port, DefaultValue = PeerTransportDefaults.Port)] 61get { return (int)base[ConfigurationStrings.Port]; } 62set { base[ConfigurationStrings.Port] = value; } 65[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)] 68get { return (XmlDictionaryReaderQuotasElement)base[ConfigurationStrings.ReaderQuotas]; } 71[ConfigurationProperty(ConfigurationStrings.PeerResolver, DefaultValue = null)] 74get { return (PeerResolverElement)base[ConfigurationStrings.PeerResolver]; } 77[ConfigurationProperty(ConfigurationStrings.Security)] 80get { return (PeerSecurityElement)base[ConfigurationStrings.Security]; } 87SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ListenIPAddress, peerBinding.ListenIPAddress); 88SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, peerBinding.MaxBufferPoolSize); 89SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, peerBinding.MaxReceivedMessageSize); 90SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Port, peerBinding.Port);
System\ServiceModel\Configuration\NetTcpBindingCollectionElement.cs (1)
15return (NetTcpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetTcpBindingCollectionElementName);
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\NetTcpContextBindingElement.cs (4)
32[ConfigurationProperty(ConfigurationStrings.ClientCallbackAddressName, DefaultValue = null)] 37get { return (Uri)base[ConfigurationStrings.ClientCallbackAddressName]; } 38set { base[ConfigurationStrings.ClientCallbackAddressName] = value; } 65SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCallbackAddressName, netTcpContextBinding.ClientCallbackAddress);
System\ServiceModel\Configuration\NetTcpSecurityElement.cs (8)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = NetTcpSecurity.DefaultMode)] 22get { return (SecurityMode)base[ConfigurationStrings.Mode]; } 23set { base[ConfigurationStrings.Mode] = value; } 26[ConfigurationProperty(ConfigurationStrings.Transport)] 29get { return (TcpTransportSecurityElement)base[ConfigurationStrings.Transport]; } 32[ConfigurationProperty(ConfigurationStrings.Message)] 35get { return (MessageSecurityOverTcpElement)base[ConfigurationStrings.Message]; } 55SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\NonDualMessageSecurityOverHttpElement.cs (4)
18[ConfigurationProperty(ConfigurationStrings.EstablishSecurityContext, DefaultValue = NonDualMessageSecurityOverHttp.DefaultEstablishSecurityContext)] 21get { return (bool)base[ConfigurationStrings.EstablishSecurityContext]; } 22set { base[ConfigurationStrings.EstablishSecurityContext] = value; } 34SetPropertyValueIfNotDefaultValue(ConfigurationStrings.EstablishSecurityContext, security.EstablishSecurityContext);
System\ServiceModel\Configuration\OneWayElement.cs (12)
22[ConfigurationProperty(ConfigurationStrings.ChannelPoolSettings)] 25get { return (ChannelPoolSettingsElement)base[ConfigurationStrings.ChannelPoolSettings]; } 28[ConfigurationProperty(ConfigurationStrings.MaxAcceptedChannels, DefaultValue = OneWayDefaults.MaxAcceptedChannels)] 32get { return (int)base[ConfigurationStrings.MaxAcceptedChannels]; } 33set { base[ConfigurationStrings.MaxAcceptedChannels] = value; } 36[ConfigurationProperty(ConfigurationStrings.PacketRoutable, DefaultValue = OneWayDefaults.PacketRoutable)] 39get { return (bool)base[ConfigurationStrings.PacketRoutable]; } 40set { base[ConfigurationStrings.PacketRoutable] = value; } 48if (propertyInfo[ConfigurationStrings.ChannelPoolSettings].ValueOrigin != PropertyValueOrigin.Default) 64if (propertyInfo[ConfigurationStrings.ChannelPoolSettings].ValueOrigin != PropertyValueOrigin.Default) 77SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxAcceptedChannels, source.MaxAcceptedChannels); 78SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PacketRoutable, source.PacketRoutable);
System\ServiceModel\Configuration\PeerCredentialElement.cs (9)
20[ConfigurationProperty(ConfigurationStrings.Certificate)] 23get { return (X509PeerCertificateElement)base[ConfigurationStrings.Certificate]; } 26[ConfigurationProperty(ConfigurationStrings.PeerAuthentication)] 29get { return (X509PeerCertificateAuthenticationElement)base[ConfigurationStrings.PeerAuthentication]; } 32[ConfigurationProperty(ConfigurationStrings.MessageSenderAuthentication)] 35get { return (X509PeerCertificateAuthenticationElement)base[ConfigurationStrings.MessageSenderAuthentication]; } 62if (propertyInfo[ConfigurationStrings.Certificate].ValueOrigin != PropertyValueOrigin.Default) 66if (propertyInfo[ConfigurationStrings.PeerAuthentication].ValueOrigin != PropertyValueOrigin.Default) 70if (propertyInfo[ConfigurationStrings.MessageSenderAuthentication].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\PeerCustomResolverElement.cs (19)
19[ConfigurationProperty(ConfigurationStrings.Address, DefaultValue = null, Options = ConfigurationPropertyOptions.None)] 22get { return (Uri)base[ConfigurationStrings.Address]; } 23set { base[ConfigurationStrings.Address] = value; } 26[ConfigurationProperty(ConfigurationStrings.Headers)] 29get { return (AddressHeaderCollectionElement)base[ConfigurationStrings.Headers]; } 32[ConfigurationProperty(ConfigurationStrings.Identity)] 35get { return (IdentityElement)base[ConfigurationStrings.Identity]; } 38[ConfigurationProperty(ConfigurationStrings.Binding, DefaultValue = "")] 42get { return (string)base[ConfigurationStrings.Binding]; } 43set { base[ConfigurationStrings.Binding] = value; } 46[ConfigurationProperty(ConfigurationStrings.BindingConfiguration, DefaultValue = "")] 50get { return (string)base[ConfigurationStrings.BindingConfiguration]; } 51set { base[ConfigurationStrings.BindingConfiguration] = value; } 54[ConfigurationProperty(ConfigurationStrings.PeerResolverType, DefaultValue = "")] 58get { return (string)base[ConfigurationStrings.PeerResolverType]; } 59set { base[ConfigurationStrings.PeerResolverType] = value; } 100SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Address, settings.Address.Uri); 105SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PeerResolverType, settings.Resolver.GetType().AssemblyQualifiedName); 109SetPropertyValueIfNotDefaultValue(ConfigurationStrings.BindingConfiguration, PeerStrings.PeerCustomResolver + Guid.NewGuid().ToString());
System\ServiceModel\Configuration\PeerResolverElement.cs (10)
17[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = PeerResolverMode.Auto)] 21get { return (PeerResolverMode)base[ConfigurationStrings.Mode]; } 22set { base[ConfigurationStrings.Mode] = value; } 25[ConfigurationProperty(ConfigurationStrings.ReferralPolicy, DefaultValue = PeerReferralPolicy.Service)] 29get { return (PeerReferralPolicy)base[ConfigurationStrings.ReferralPolicy]; } 30set { base[ConfigurationStrings.ReferralPolicy] = value; } 33[ConfigurationProperty(ConfigurationStrings.Custom)] 36get { return (PeerCustomResolverElement)base[ConfigurationStrings.Custom]; } 56SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, settings.Mode); 57SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReferralPolicy, settings.ReferralPolicy);
System\ServiceModel\Configuration\PeerSecurityElement.cs (6)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = PeerSecuritySettings.DefaultMode)] 22get { return (SecurityMode)base[ConfigurationStrings.Mode]; } 23set { base[ConfigurationStrings.Mode] = value; } 26[ConfigurationProperty(ConfigurationStrings.Transport)] 29get { return (PeerTransportSecurityElement)base[ConfigurationStrings.Transport]; } 51SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\PeerTransportElement.cs (18)
24[ConfigurationProperty(ConfigurationStrings.ListenIPAddress, DefaultValue = PeerTransportDefaults.ListenIPAddress)] 29get { return (IPAddress)base[ConfigurationStrings.ListenIPAddress]; } 30set { base[ConfigurationStrings.ListenIPAddress] = value; } 33[ConfigurationProperty(ConfigurationStrings.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)] 37get { return (long)base[ConfigurationStrings.MaxBufferPoolSize]; } 38set { base[ConfigurationStrings.MaxBufferPoolSize] = value; } 41[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue = TransportDefaults.MaxReceivedMessageSize)] 45get { return (long)base[ConfigurationStrings.MaxReceivedMessageSize]; } 46set { base[ConfigurationStrings.MaxReceivedMessageSize] = value; } 49[ConfigurationProperty(ConfigurationStrings.Port, DefaultValue = PeerTransportDefaults.Port)] 53get { return (int)base[ConfigurationStrings.Port]; } 54set { base[ConfigurationStrings.Port] = value; } 57[ConfigurationProperty(ConfigurationStrings.Security)] 60get { return (PeerSecurityElement)base[ConfigurationStrings.Security]; } 99SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ListenIPAddress, binding.ListenIPAddress); 100SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Port, binding.Port); 101SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, binding.MaxBufferPoolSize); 102SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, binding.MaxReceivedMessageSize);
System\ServiceModel\Configuration\PeerTransportSecurityElement.cs (4)
18[ConfigurationProperty(ConfigurationStrings.PeerTransportCredentialType, DefaultValue = PeerTransportSecuritySettings.DefaultCredentialType)] 22get { return (PeerTransportCredentialType)base[ConfigurationStrings.PeerTransportCredentialType]; } 23set { base[ConfigurationStrings.PeerTransportCredentialType] = value; } 41SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PeerTransportCredentialType, security.CredentialType);
System\ServiceModel\Configuration\PolicyImporterElement.cs (3)
29[ConfigurationProperty(ConfigurationStrings.Type, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 34{ return (string)base[ConfigurationStrings.Type]; } 41base[ConfigurationStrings.Type] = value;
System\ServiceModel\Configuration\PolicyImporterElementCollection.cs (3)
15[ConfigurationCollection(typeof(PolicyImporterElement), AddItemName = ConfigurationStrings.Extension)] 18public PolicyImporterElementCollection() : base(ConfigurationStrings.Extension) 43this.Add(new PolicyImporterElement(ConfigurationStrings.UdpTransportImporterType));
System\ServiceModel\Configuration\PolicyVersionConverter.cs (6)
42case ConfigurationStrings.Policy12: 45case ConfigurationStrings.Policy15: 48case ConfigurationStrings.Default: 68retval = ConfigurationStrings.Default; 72retval = ConfigurationStrings.Policy12; 76retval = ConfigurationStrings.Policy15;
System\ServiceModel\Configuration\PrivacyNoticeElement.cs (8)
13[ConfigurationProperty(ConfigurationStrings.Url)] 16get { return (Uri)base[ConfigurationStrings.Url]; } 17set { base[ConfigurationStrings.Url] = value; } 20[ConfigurationProperty(ConfigurationStrings.Version, DefaultValue = 0)] 24get { return (int)base[ConfigurationStrings.Version]; } 25set { base[ConfigurationStrings.Version] = value; } 62SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Url, binding.Url); 63SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Version, binding.Version);
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\ProtocolMappingElement.cs (9)
33[ConfigurationProperty(ConfigurationStrings.Scheme, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 37get { return (string)base[ConfigurationStrings.Scheme]; } 45base[ConfigurationStrings.Scheme] = value; 49[ConfigurationProperty(ConfigurationStrings.Binding, Options = ConfigurationPropertyOptions.IsRequired)] 53get { return (String)base[ConfigurationStrings.Binding]; } 61base[ConfigurationStrings.Binding] = value; 65[ConfigurationProperty(ConfigurationStrings.BindingConfiguration, Options = ConfigurationPropertyOptions.None)] 69get { return (String)base[ConfigurationStrings.BindingConfiguration]; } 77base[ConfigurationStrings.BindingConfiguration] = value;
System\ServiceModel\Configuration\ProtocolMappingElementCollection.cs (2)
12[ConfigurationCollection(typeof(ProtocolMappingElement), AddItemName = ConfigurationStrings.Add)] 16: base(ConfigurationStrings.Add)
System\ServiceModel\Configuration\ProtocolMappingSection.cs (8)
17[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 20get { return (ProtocolMappingElementCollection) base[ConfigurationStrings.DefaultCollectionName]; } 25this.ProtocolMappingCollection.Add(new ProtocolMappingElement("http", "basicHttpBinding", ConfigurationStrings.DefaultName)); 26this.ProtocolMappingCollection.Add(new ProtocolMappingElement("net.tcp", "netTcpBinding", ConfigurationStrings.DefaultName)); 27this.ProtocolMappingCollection.Add(new ProtocolMappingElement("net.pipe", "netNamedPipeBinding", ConfigurationStrings.DefaultName)); 28this.ProtocolMappingCollection.Add(new ProtocolMappingElement("net.msmq", "netMsmqBinding", ConfigurationStrings.DefaultName)); 33return (ProtocolMappingSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ProtocolMappingSectionPath); 41return (ProtocolMappingSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ProtocolMappingSectionPath);
System\ServiceModel\Configuration\ReliableMessagingVersionConverter.cs (6)
40case ConfigurationStrings.Default: 42case ConfigurationStrings.WSReliableMessaging11: 44case ConfigurationStrings.WSReliableMessagingFebruary2005: 61return ConfigurationStrings.Default; 65return ConfigurationStrings.WSReliableMessaging11; 69return ConfigurationStrings.WSReliableMessagingFebruary2005;
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\RemoveBehaviorElement.cs (3)
13[ConfigurationProperty(ConfigurationStrings.Name, Options = ConfigurationPropertyOptions.IsRequired)] 17get { return (string)base[ConfigurationStrings.Name]; } 18set { base[ConfigurationStrings.Name] = value; }
System\ServiceModel\Configuration\RsaElement.cs (3)
21[ConfigurationProperty(ConfigurationStrings.Value, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.Value]; } 33base[ConfigurationStrings.Value] = value;
System\ServiceModel\Configuration\SecureConversationServiceElement.cs (3)
21[ConfigurationProperty(ConfigurationStrings.SecurityStateEncoderType, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.SecurityStateEncoderType]; } 32base[ConfigurationStrings.SecurityStateEncoderType] = value;
System\ServiceModel\Configuration\SecurityAlgorithmSuiteConverter.cs (34)
41case ConfigurationStrings.Default: 44case ConfigurationStrings.Basic256: 47case ConfigurationStrings.Basic192: 50case ConfigurationStrings.Basic128: 53case ConfigurationStrings.TripleDes: 56case ConfigurationStrings.Basic256Rsa15: 59case ConfigurationStrings.Basic192Rsa15: 62case ConfigurationStrings.Basic128Rsa15: 65case ConfigurationStrings.TripleDesRsa15: 68case ConfigurationStrings.Basic256Sha256: 71case ConfigurationStrings.Basic192Sha256: 74case ConfigurationStrings.Basic128Sha256: 77case ConfigurationStrings.TripleDesSha256: 80case ConfigurationStrings.Basic256Sha256Rsa15: 83case ConfigurationStrings.Basic192Sha256Rsa15: 86case ConfigurationStrings.Basic128Sha256Rsa15: 89case ConfigurationStrings.TripleDesSha256Rsa15: 109retval = ConfigurationStrings.Default; 111retval = ConfigurationStrings.Basic256; 113retval = ConfigurationStrings.Basic192; 115retval = ConfigurationStrings.Basic128; 117retval = ConfigurationStrings.TripleDes; 119retval = ConfigurationStrings.Basic256Rsa15; 121retval = ConfigurationStrings.Basic192Rsa15; 123retval = ConfigurationStrings.Basic128Rsa15; 125retval = ConfigurationStrings.TripleDesRsa15; 127retval = ConfigurationStrings.Basic256Sha256; 129retval = ConfigurationStrings.Basic192Sha256; 131retval = ConfigurationStrings.Basic128Sha256; 133retval = ConfigurationStrings.TripleDesSha256; 135retval = ConfigurationStrings.Basic256Sha256Rsa15; 137retval = ConfigurationStrings.Basic192Sha256Rsa15; 139retval = ConfigurationStrings.Basic128Sha256Rsa15; 141retval = ConfigurationStrings.TripleDesSha256Rsa15;
System\ServiceModel\Configuration\SecurityElement.cs (4)
28[ConfigurationProperty(ConfigurationStrings.SecureConversationBootstrap)] 31get { return (SecurityElementBase)base[ConfigurationStrings.SecureConversationBootstrap]; } 41if (PropertyValueOrigin.Default != source.ElementInformation.Properties[ConfigurationStrings.SecureConversationBootstrap].ValueOrigin) 75SetPropertyValueIfNotDefaultValue(ConfigurationStrings.RequireSecurityContextCancellation, sc.RequireCancellation);
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\ServiceActivationElement.cs (10)
66throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(ConfigurationStrings.RelativeAddress); 83[ConfigurationProperty(ConfigurationStrings.RelativeAddress, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 87get { return (string)base[ConfigurationStrings.RelativeAddress]; } 90base[ConfigurationStrings.RelativeAddress] = value; 94[ConfigurationProperty(ConfigurationStrings.Service, Options = ConfigurationPropertyOptions.None)] 98get { return (string)base[ConfigurationStrings.Service]; } 105base[ConfigurationStrings.Service] = value; 109[ConfigurationProperty(ConfigurationStrings.Factory, Options = ConfigurationPropertyOptions.None)] 113get { return (string)base[ConfigurationStrings.Factory]; } 120base[ConfigurationStrings.Factory] = value;
System\ServiceModel\Configuration\ServiceActivationElementCollection.cs (1)
16: base(ConfigurationElementCollectionType.AddRemoveClearMap, ConfigurationStrings.Add)
System\ServiceModel\Configuration\ServiceAuthenticationElement.cs (6)
20[ConfigurationProperty(ConfigurationStrings.ServiceAuthenticationManagerType, DefaultValue = "")] 24get { return (string)base[ConfigurationStrings.ServiceAuthenticationManagerType]; } 31base[ConfigurationStrings.ServiceAuthenticationManagerType] = value; 35[ConfigurationProperty(ConfigurationStrings.AuthenticationSchemes, DefaultValue = AuthenticationSchemes.None)] 39get { return (AuthenticationSchemes)base[ConfigurationStrings.AuthenticationSchemes]; } 42base[ConfigurationStrings.AuthenticationSchemes] = value;
System\ServiceModel\Configuration\ServiceAuthorizationElement.cs (17)
24[ConfigurationProperty(ConfigurationStrings.PrincipalPermissionMode, DefaultValue = PrincipalPermissionMode.UseWindowsGroups)] 28get { return (PrincipalPermissionMode)base[ConfigurationStrings.PrincipalPermissionMode]; } 29set { base[ConfigurationStrings.PrincipalPermissionMode] = value; } 32[ConfigurationProperty(ConfigurationStrings.RoleProviderName, DefaultValue = "")] 36get { return (string)base[ConfigurationStrings.RoleProviderName]; } 43base[ConfigurationStrings.RoleProviderName] = value; 47[ConfigurationProperty(ConfigurationStrings.ImpersonateCallerForAllOperations, DefaultValue = ServiceAuthorizationBehavior.DefaultImpersonateCallerForAllOperations)] 50get { return (bool)base[ConfigurationStrings.ImpersonateCallerForAllOperations]; } 51set { base[ConfigurationStrings.ImpersonateCallerForAllOperations] = value; } 54[ConfigurationProperty(ConfigurationStrings.ImpersonateOnSerializingReply, DefaultValue = ServiceAuthorizationBehavior.DefaultImpersonateOnSerializingReply)] 57get { return (bool)base[ConfigurationStrings.ImpersonateOnSerializingReply]; } 58set { base[ConfigurationStrings.ImpersonateOnSerializingReply] = value; } 61[ConfigurationProperty(ConfigurationStrings.ServiceAuthorizationManagerType, DefaultValue = "")] 65get { return (string)base[ConfigurationStrings.ServiceAuthorizationManagerType]; } 72base[ConfigurationStrings.ServiceAuthorizationManagerType] = value; 76[ConfigurationProperty(ConfigurationStrings.AuthorizationPolicies)] 79get { return (AuthorizationPolicyTypeElementCollection)base[ConfigurationStrings.AuthorizationPolicies]; }
System\ServiceModel\Configuration\ServiceBehaviorElement.cs (1)
23: base(ConfigurationStrings.BehaviorExtensions, name)
System\ServiceModel\Configuration\ServiceBehaviorElementCollection.cs (2)
15[ConfigurationCollection(typeof(ServiceBehaviorElement), AddItemName = ConfigurationStrings.Behavior)] 20: base(ConfigurationStrings.Behavior)
System\ServiceModel\Configuration\ServiceCredentialsElement.cs (32)
22[ConfigurationProperty(ConfigurationStrings.Type, DefaultValue = "")] 26get { return (string)base[ConfigurationStrings.Type]; } 33base[ConfigurationStrings.Type] = value; 37[ConfigurationProperty(ConfigurationStrings.ClientCertificate)] 40get { return (X509InitiatorCertificateServiceElement)base[ConfigurationStrings.ClientCertificate]; } 43[ConfigurationProperty(ConfigurationStrings.ServiceCertificate)] 46get { return (X509RecipientCertificateServiceElement)base[ConfigurationStrings.ServiceCertificate]; } 49[ConfigurationProperty(ConfigurationStrings.UserNameAuthentication)] 52get { return (UserNameServiceElement)base[ConfigurationStrings.UserNameAuthentication]; } 55[ConfigurationProperty( ConfigurationStrings.UseIdentityConfiguration, DefaultValue = false, IsRequired = false )] 58get { return (bool)base[ConfigurationStrings.UseIdentityConfiguration]; } 59set { base[ConfigurationStrings.UseIdentityConfiguration] = value; } 62[ConfigurationProperty(ConfigurationStrings.IdentityConfiguration, IsRequired = false, DefaultValue = System.IdentityModel.Configuration.ConfigurationStrings.DefaultServiceName)] 66get { return (string)base[ConfigurationStrings.IdentityConfiguration]; } 67set { base[ConfigurationStrings.IdentityConfiguration] = value; } 70[ConfigurationProperty(ConfigurationStrings.WindowsAuthentication)] 73get { return (WindowsServiceElement)base[ConfigurationStrings.WindowsAuthentication]; } 76[ConfigurationProperty(ConfigurationStrings.Peer)] 79get { return (PeerCredentialElement)base[ConfigurationStrings.Peer]; } 82[ConfigurationProperty(ConfigurationStrings.IssuedTokenAuthentication)] 85get { return (IssuedTokenServiceElement)base[ConfigurationStrings.IssuedTokenAuthentication]; } 88[ConfigurationProperty(ConfigurationStrings.SecureConversationAuthentication)] 91get { return (SecureConversationServiceElement)base[ConfigurationStrings.SecureConversationAuthentication]; } 144if (propertyInfo[ConfigurationStrings.UserNameAuthentication].ValueOrigin != PropertyValueOrigin.Default) 148if (propertyInfo[ConfigurationStrings.WindowsAuthentication].ValueOrigin != PropertyValueOrigin.Default) 152if (propertyInfo[ConfigurationStrings.ClientCertificate].ValueOrigin != PropertyValueOrigin.Default) 156if (propertyInfo[ConfigurationStrings.ServiceCertificate].ValueOrigin != PropertyValueOrigin.Default) 160if (propertyInfo[ConfigurationStrings.Peer].ValueOrigin != PropertyValueOrigin.Default) 164if (propertyInfo[ConfigurationStrings.IssuedTokenAuthentication].ValueOrigin != PropertyValueOrigin.Default) 168if (propertyInfo[ConfigurationStrings.SecureConversationAuthentication].ValueOrigin != PropertyValueOrigin.Default) 172if (propertyInfo[ConfigurationStrings.UseIdentityConfiguration].ValueOrigin != PropertyValueOrigin.Default) 176if (propertyInfo[ConfigurationStrings.IdentityConfiguration].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\ServiceDebugElement.cs (27)
17[ConfigurationProperty(ConfigurationStrings.HttpHelpPageEnabled, DefaultValue = true)] 20get { return (bool)base[ConfigurationStrings.HttpHelpPageEnabled]; } 21set { base[ConfigurationStrings.HttpHelpPageEnabled] = value; } 24[ConfigurationProperty(ConfigurationStrings.HttpHelpPageUrl)] 27get { return (Uri)base[ConfigurationStrings.HttpHelpPageUrl]; } 28set { base[ConfigurationStrings.HttpHelpPageUrl] = value; } 31[ConfigurationProperty(ConfigurationStrings.HttpsHelpPageEnabled, DefaultValue = true)] 34get { return (bool)base[ConfigurationStrings.HttpsHelpPageEnabled]; } 35set { base[ConfigurationStrings.HttpsHelpPageEnabled] = value; } 38[ConfigurationProperty(ConfigurationStrings.HttpsHelpPageUrl)] 41get { return (Uri)base[ConfigurationStrings.HttpsHelpPageUrl]; } 42set { base[ConfigurationStrings.HttpsHelpPageUrl] = value; } 45[ConfigurationProperty(ConfigurationStrings.HttpHelpPageBinding, DefaultValue = "")] 49get { return (string)base[ConfigurationStrings.HttpHelpPageBinding]; } 50set { base[ConfigurationStrings.HttpHelpPageBinding] = value; } 53[ConfigurationProperty(ConfigurationStrings.HttpHelpPageBindingConfiguration, DefaultValue = "")] 57get { return (string)base[ConfigurationStrings.HttpHelpPageBindingConfiguration]; } 58set { base[ConfigurationStrings.HttpHelpPageBindingConfiguration] = value; } 61[ConfigurationProperty(ConfigurationStrings.HttpsHelpPageBinding, DefaultValue = "")] 65get { return (string)base[ConfigurationStrings.HttpsHelpPageBinding]; } 66set { base[ConfigurationStrings.HttpsHelpPageBinding] = value; } 69[ConfigurationProperty(ConfigurationStrings.HttpsHelpPageBindingConfiguration, DefaultValue = "")] 73get { return (string)base[ConfigurationStrings.HttpsHelpPageBindingConfiguration]; } 74set { base[ConfigurationStrings.HttpsHelpPageBindingConfiguration] = value; } 77[ConfigurationProperty(ConfigurationStrings.IncludeExceptionDetailInFaults, DefaultValue = false)] 80get { return (bool)base[ConfigurationStrings.IncludeExceptionDetailInFaults]; } 81set { base[ConfigurationStrings.IncludeExceptionDetailInFaults] = value; }
System\ServiceModel\Configuration\ServiceElement.cs (10)
25[ConfigurationProperty(ConfigurationStrings.BehaviorConfiguration, DefaultValue = "")] 29get { return (string)base[ConfigurationStrings.BehaviorConfiguration]; } 36base[ConfigurationStrings.BehaviorConfiguration] = value; 40[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 43get { return (ServiceEndpointElementCollection)base[ConfigurationStrings.DefaultCollectionName]; } 46[ConfigurationProperty(ConfigurationStrings.Host, Options = ConfigurationPropertyOptions.None)] 49get { return (HostElement)base[ConfigurationStrings.Host]; } 52[ConfigurationProperty(ConfigurationStrings.Name, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] 56get { return (string)base[ConfigurationStrings.Name]; } 63base[ConfigurationStrings.Name] = value;
System\ServiceModel\Configuration\ServiceElementCollection.cs (2)
12[ConfigurationCollection(typeof(ServiceElement), AddItemName = ConfigurationStrings.Service)] 16: base(ConfigurationStrings.Service)
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\ServiceEndpointElementCollection.cs (2)
14[ConfigurationCollection(typeof(ServiceEndpointElement), AddItemName = ConfigurationStrings.Endpoint)] 18: base(ConfigurationStrings.Endpoint)
System\ServiceModel\Configuration\ServiceHostingEnvironmentSection.cs (21)
29ElementInformation.Properties[ConfigurationStrings.MinFreeMemoryPercentageToActivateService].ValueOrigin) 44[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 47get { return (TransportConfigurationTypeElementCollection)base[ConfigurationStrings.DefaultCollectionName]; } 50[ConfigurationProperty(ConfigurationStrings.BaseAddressPrefixFilters, Options = ConfigurationPropertyOptions.None)] 53get { return (BaseAddressPrefixFilterElementCollection)base[ConfigurationStrings.BaseAddressPrefixFilters]; } 56[ConfigurationProperty(ConfigurationStrings.ServiceActivations, Options = ConfigurationPropertyOptions.None)] 59get { return (ServiceActivationElementCollection)base[ConfigurationStrings.ServiceActivations]; } 62[ConfigurationProperty(ConfigurationStrings.AspNetCompatibilityEnabled, DefaultValue = false)] 65get { return (bool)base[ConfigurationStrings.AspNetCompatibilityEnabled]; } 66set { base[ConfigurationStrings.AspNetCompatibilityEnabled] = value; } 69[ConfigurationProperty(ConfigurationStrings.CloseIdleServicesAtLowMemory, DefaultValue = false)] 72get { return (bool)base[ConfigurationStrings.CloseIdleServicesAtLowMemory]; } 73set { base[ConfigurationStrings.CloseIdleServicesAtLowMemory] = value; } 76[ConfigurationProperty(ConfigurationStrings.MinFreeMemoryPercentageToActivateService, DefaultValue = 5)] 80get { return (int)base[ConfigurationStrings.MinFreeMemoryPercentageToActivateService]; } 81set { base[ConfigurationStrings.MinFreeMemoryPercentageToActivateService] = value; } 84[ConfigurationProperty(ConfigurationStrings.MultipleSiteBindingsEnabled, DefaultValue = false)] 87get { return (bool)base[ConfigurationStrings.MultipleSiteBindingsEnabled]; } 88set { base[ConfigurationStrings.MultipleSiteBindingsEnabled] = value; } 93return (ServiceHostingEnvironmentSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ServiceHostingEnvironmentSectionPath); 101return (ServiceHostingEnvironmentSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ServiceHostingEnvironmentSectionPath);
System\ServiceModel\Configuration\ServiceMetadataEndpointElement.cs (2)
34channelEndpointElement.Binding = ConfigurationStrings.MexHttpBindingCollectionElementName; 43serviceEndpointElement.Binding = ConfigurationStrings.MexHttpBindingCollectionElementName;
System\ServiceModel\Configuration\ServiceMetadataPublishingElement.cs (31)
18[ConfigurationProperty(ConfigurationStrings.ExternalMetadataLocation)] 21get { return (Uri)base[ConfigurationStrings.ExternalMetadataLocation]; } 22set { base[ConfigurationStrings.ExternalMetadataLocation] = value; } 25[ConfigurationProperty(ConfigurationStrings.HttpGetEnabled, DefaultValue = false)] 28get { return (bool)base[ConfigurationStrings.HttpGetEnabled]; } 29set { base[ConfigurationStrings.HttpGetEnabled] = value; } 32[ConfigurationProperty(ConfigurationStrings.HttpGetUrl)] 35get { return (Uri)base[ConfigurationStrings.HttpGetUrl]; } 36set { base[ConfigurationStrings.HttpGetUrl] = value; } 39[ConfigurationProperty(ConfigurationStrings.HttpsGetEnabled, DefaultValue = false)] 42get { return (bool)base[ConfigurationStrings.HttpsGetEnabled]; } 43set { base[ConfigurationStrings.HttpsGetEnabled] = value; } 46[ConfigurationProperty(ConfigurationStrings.HttpsGetUrl)] 49get { return (Uri)base[ConfigurationStrings.HttpsGetUrl]; } 50set { base[ConfigurationStrings.HttpsGetUrl] = value; } 53[ConfigurationProperty(ConfigurationStrings.HttpGetBinding, DefaultValue = "")] 57get { return (string)base[ConfigurationStrings.HttpGetBinding]; } 58set { base[ConfigurationStrings.HttpGetBinding] = value; } 61[ConfigurationProperty(ConfigurationStrings.HttpGetBindingConfiguration, DefaultValue = "")] 65get { return (string)base[ConfigurationStrings.HttpGetBindingConfiguration]; } 66set { base[ConfigurationStrings.HttpGetBindingConfiguration] = value; } 69[ConfigurationProperty(ConfigurationStrings.HttpsGetBinding, DefaultValue = "")] 73get { return (string)base[ConfigurationStrings.HttpsGetBinding]; } 74set { base[ConfigurationStrings.HttpsGetBinding] = value; } 77[ConfigurationProperty(ConfigurationStrings.HttpsGetBindingConfiguration, DefaultValue = "")] 81get { return (string)base[ConfigurationStrings.HttpsGetBindingConfiguration]; } 82set { base[ConfigurationStrings.HttpsGetBindingConfiguration] = value; } 85[ConfigurationProperty(ConfigurationStrings.PolicyVersion, DefaultValue = ConfigurationStrings.Default)] 89get { return (PolicyVersion)base[ConfigurationStrings.PolicyVersion]; } 90set { base[ConfigurationStrings.PolicyVersion] = value; }
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (3)
200values["CollectionName"] = ConfigurationStrings.ExtensionsSectionPath + "/" + this.extensionCollectionName; 310if (this.ContainsKey(name) && !(name == ConfigurationStrings.Clear || name == ConfigurationStrings.Remove))
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (1)
159values["CollectionName"] = ConfigurationStrings.ExtensionsSectionPath + "/" + extensionCollectionName;
System\ServiceModel\Configuration\ServiceModelSectionGroup.cs (12)
17get { return (BehaviorsSection)this.Sections[ConfigurationStrings.BehaviorsSectionName]; } 22get { return (BindingsSection)this.Sections[ConfigurationStrings.BindingsSectionGroupName]; } 27get { return (ClientSection)this.Sections[ConfigurationStrings.ClientSectionName]; } 32get { return (ComContractsSection)this.Sections[ConfigurationStrings.ComContractsSectionName]; } 37get { return (CommonBehaviorsSection)this.Sections[ConfigurationStrings.CommonBehaviorsSectionName]; } 42get { return (DiagnosticSection)this.Sections[ConfigurationStrings.DiagnosticSectionName]; } 47get { return (ServiceHostingEnvironmentSection)this.Sections[ConfigurationStrings.ServiceHostingEnvironmentSectionName]; } 52get { return (ExtensionsSection)this.Sections[ConfigurationStrings.Extensions]; } 57get { return (ProtocolMappingSection)this.Sections[ConfigurationStrings.ProtocolMappingSectionName]; } 62get { return (ServicesSection)this.Sections[ConfigurationStrings.ServicesSectionName]; } 67get { return (StandardEndpointsSection)this.Sections[ConfigurationStrings.StandardEndpointsSectionName]; } 78return (ServiceModelSectionGroup)config.SectionGroups[ConfigurationStrings.SectionGroupName];
System\ServiceModel\Configuration\ServicePrincipalNameElement.cs (3)
21[ConfigurationProperty(ConfigurationStrings.Value, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.Value]; } 33base[ConfigurationStrings.Value] = value;
System\ServiceModel\Configuration\ServiceSecurityAuditElement.cs (12)
20[ConfigurationProperty(ConfigurationStrings.AuditLogLocation, DefaultValue = ServiceSecurityAuditBehavior.defaultAuditLogLocation)] 24get { return (AuditLogLocation)base[ConfigurationStrings.AuditLogLocation]; } 25set { base[ConfigurationStrings.AuditLogLocation] = value; } 28[ConfigurationProperty(ConfigurationStrings.SuppressAuditFailure, DefaultValue = ServiceSecurityAuditBehavior.defaultSuppressAuditFailure)] 31get { return (bool)base[ConfigurationStrings.SuppressAuditFailure]; } 32set { base[ConfigurationStrings.SuppressAuditFailure] = value; } 35[ConfigurationProperty(ConfigurationStrings.ServiceAuthorizationAuditLevel, DefaultValue = ServiceSecurityAuditBehavior.defaultServiceAuthorizationAuditLevel)] 39get { return (AuditLevel)base[ConfigurationStrings.ServiceAuthorizationAuditLevel]; } 40set { base[ConfigurationStrings.ServiceAuthorizationAuditLevel] = value; } 43[ConfigurationProperty(ConfigurationStrings.MessageAuthenticationAuditLevel, DefaultValue = ServiceSecurityAuditBehavior.defaultMessageAuthenticationAuditLevel)] 47get { return (AuditLevel)base[ConfigurationStrings.MessageAuthenticationAuditLevel]; } 48set { base[ConfigurationStrings.MessageAuthenticationAuditLevel] = value; }
System\ServiceModel\Configuration\ServicesSection.cs (4)
21[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 24get { return (ServiceElementCollection)this[ConfigurationStrings.DefaultCollectionName]; } 29return (ServicesSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ServicesSectionPath); 37return (ServicesSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ServicesSectionPath);
System\ServiceModel\Configuration\ServiceThrottlingElement.cs (12)
18[ConfigurationProperty(ConfigurationStrings.MaxConcurrentCalls, DefaultValue = ServiceThrottle.DefaultMaxConcurrentCalls)] 22get { return (int)base[ConfigurationStrings.MaxConcurrentCalls]; } 23set { base[ConfigurationStrings.MaxConcurrentCalls] = value; } 26[ConfigurationProperty(ConfigurationStrings.MaxConcurrentSessions, DefaultValue = ServiceThrottle.DefaultMaxConcurrentSessions)] 30get { return (int)base[ConfigurationStrings.MaxConcurrentSessions]; } 31set { base[ConfigurationStrings.MaxConcurrentSessions] = value; } 34[ConfigurationProperty(ConfigurationStrings.MaxConcurrentInstances, DefaultValue = ServiceThrottle.DefaultMaxConcurrentCalls + ServiceThrottle.DefaultMaxConcurrentSessions)] 38get { return (int)base[ConfigurationStrings.MaxConcurrentInstances]; } 39set { base[ConfigurationStrings.MaxConcurrentInstances] = value; } 58if (propertyInfo[ConfigurationStrings.MaxConcurrentCalls].ValueOrigin != PropertyValueOrigin.Default) 63if (propertyInfo[ConfigurationStrings.MaxConcurrentSessions].ValueOrigin != PropertyValueOrigin.Default) 68if (propertyInfo[ConfigurationStrings.MaxConcurrentInstances].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\ServiceTimeoutsElement.cs (4)
18[ConfigurationProperty(ConfigurationStrings.TransactionTimeout, DefaultValue = ServiceDefaults.TransactionTimeoutString)] 20[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 23get { return (TimeSpan)base[ConfigurationStrings.TransactionTimeout]; } 24set { base[ConfigurationStrings.TransactionTimeout] = value; }
System\ServiceModel\Configuration\SslStreamSecurityElement.cs (8)
19ConfigurationStrings.RequireClientCertificate, DefaultValue = TransportDefaults.RequireClientCertificate)] 22get { return (bool)base[ConfigurationStrings.RequireClientCertificate]; } 23set { base[ConfigurationStrings.RequireClientCertificate] = value; } 26[ConfigurationProperty(ConfigurationStrings.SslProtocols, DefaultValue = TransportDefaults.OldDefaultSslProtocols)] 30get { return (SslProtocols)base[ConfigurationStrings.SslProtocols]; } 31private set { base[ConfigurationStrings.SslProtocols] = value; } 73SetPropertyValueIfNotDefaultValue(ConfigurationStrings.RequireClientCertificate, sslBindingElement.RequireClientCertificate); 74SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SslProtocols, sslBindingElement.SslProtocols);
System\ServiceModel\Configuration\StandardBindingCollectionElement.cs (2)
18[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 21get { return (StandardBindingElementCollection<TBindingConfiguration>)base[ConfigurationStrings.DefaultCollectionName]; }
System\ServiceModel\Configuration\StandardBindingElement.cs (23)
38[ConfigurationProperty(ConfigurationStrings.Name, Options = ConfigurationPropertyOptions.IsKey)] 42get { return (string)base[ConfigurationStrings.Name]; } 49base[ConfigurationStrings.Name] = value; 53[ConfigurationProperty(ConfigurationStrings.CloseTimeout, DefaultValue = ServiceDefaults.CloseTimeoutString)] 55[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 58get { return (TimeSpan)base[ConfigurationStrings.CloseTimeout]; } 59set { base[ConfigurationStrings.CloseTimeout] = value; } 62[ConfigurationProperty(ConfigurationStrings.OpenTimeout, DefaultValue = ServiceDefaults.OpenTimeoutString)] 64[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 67get { return (TimeSpan)base[ConfigurationStrings.OpenTimeout]; } 68set { base[ConfigurationStrings.OpenTimeout] = value; } 71[ConfigurationProperty(ConfigurationStrings.ReceiveTimeout, DefaultValue = ServiceDefaults.ReceiveTimeoutString)] 73[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 76get { return (TimeSpan)base[ConfigurationStrings.ReceiveTimeout]; } 77set { base[ConfigurationStrings.ReceiveTimeout] = value; } 80[ConfigurationProperty(ConfigurationStrings.SendTimeout, DefaultValue = ServiceDefaults.SendTimeoutString)] 82[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 85get { return (TimeSpan)base[ConfigurationStrings.SendTimeout]; } 86set { base[ConfigurationStrings.SendTimeout] = value; } 135SetPropertyValueIfNotDefaultValue(ConfigurationStrings.CloseTimeout, binding.CloseTimeout); 136SetPropertyValueIfNotDefaultValue(ConfigurationStrings.OpenTimeout, binding.OpenTimeout); 137SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ReceiveTimeout, binding.ReceiveTimeout); 138SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SendTimeout, binding.SendTimeout);
System\ServiceModel\Configuration\StandardBindingElementCollection.cs (1)
17: base(ConfigurationStrings.Binding)
System\ServiceModel\Configuration\StandardBindingOptionalReliableSessionElement.cs (4)
19[ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue = ReliableSessionDefaults.Enabled)] 22get { return (bool)base[ConfigurationStrings.Enabled]; } 23set { base[ConfigurationStrings.Enabled] = value; } 33SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Enabled, optionalReliableSession.Enabled);
System\ServiceModel\Configuration\StandardBindingReliableSessionElement.cs (9)
20[ConfigurationProperty(ConfigurationStrings.Ordered, DefaultValue = ReliableSessionDefaults.Ordered)] 23get { return (bool)base[ConfigurationStrings.Ordered]; } 24set { base[ConfigurationStrings.Ordered] = value; } 27[ConfigurationProperty(ConfigurationStrings.InactivityTimeout, DefaultValue = ReliableSessionDefaults.InactivityTimeoutString)] 29[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanOneTick)] 32get { return (TimeSpan)base[ConfigurationStrings.InactivityTimeout]; } 33set { base[ConfigurationStrings.InactivityTimeout] = value; } 42SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Ordered, reliableSession.Ordered); 43SetPropertyValueIfNotDefaultValue(ConfigurationStrings.InactivityTimeout, reliableSession.InactivityTimeout);
System\ServiceModel\Configuration\StandardEndpointCollectionElement.cs (2)
19[ConfigurationProperty(ConfigurationStrings.DefaultCollectionName, Options = ConfigurationPropertyOptions.IsDefaultCollection)] 22get { return (StandardEndpointElementCollection<TEndpointConfiguration>)base[ConfigurationStrings.DefaultCollectionName]; }
System\ServiceModel\Configuration\StandardEndpointElement.cs (3)
30[ConfigurationProperty(ConfigurationStrings.Name, Options = ConfigurationPropertyOptions.IsKey)] 34get { return (string)base[ConfigurationStrings.Name]; } 41base[ConfigurationStrings.Name] = value;
System\ServiceModel\Configuration\StandardEndpointElementCollection.cs (1)
17: base(ConfigurationStrings.StandardEndpoint)
System\ServiceModel\Configuration\StandardEndpointsSection.cs (5)
61[ConfigurationProperty(ConfigurationStrings.MexStandardEndpointCollectionElementName, Options = ConfigurationPropertyOptions.None)] 64get { return (ServiceMetadataEndpointCollectionElement)base[ConfigurationStrings.MexStandardEndpointCollectionElementName]; } 81return (StandardEndpointsSection)config.GetSection(ConfigurationStrings.StandardEndpointsSectionPath); 168ExtensionElementCollection endpointExtensions = ExtensionsSection.UnsafeLookupCollection(ConfigurationStrings.EndpointExtensions, evaluationContext); 245ConfigurationStrings.EndpointConfiguration),
System\ServiceModel\Configuration\TcpConnectionPoolSettingsElement.cs (18)
20[ConfigurationProperty(ConfigurationStrings.GroupName, DefaultValue = ConnectionOrientedTransportDefaults.ConnectionPoolGroupName)] 24get { return (string)base[ConfigurationStrings.GroupName]; } 31base[ConfigurationStrings.GroupName] = value; 35[ConfigurationProperty(ConfigurationStrings.LeaseTimeout, DefaultValue = TcpTransportDefaults.ConnectionLeaseTimeoutString)] 37[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 40get { return (TimeSpan)base[ConfigurationStrings.LeaseTimeout]; } 41set { base[ConfigurationStrings.LeaseTimeout] = value; } 44[ConfigurationProperty(ConfigurationStrings.IdleTimeout, DefaultValue = ConnectionOrientedTransportDefaults.IdleTimeoutString)] 46[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanZero)] 49get { return (TimeSpan)base[ConfigurationStrings.IdleTimeout]; } 50set { base[ConfigurationStrings.IdleTimeout] = value; } 53[ConfigurationProperty(ConfigurationStrings.MaxOutboundConnectionsPerEndpoint, DefaultValue = ConnectionOrientedTransportDefaults.MaxOutboundConnectionsPerEndpoint)] 57get { return (int)base[ConfigurationStrings.MaxOutboundConnectionsPerEndpoint]; } 58set { base[ConfigurationStrings.MaxOutboundConnectionsPerEndpoint] = value; } 81SetPropertyValueIfNotDefaultValue(ConfigurationStrings.GroupName, settings.GroupName); 82SetPropertyValueIfNotDefaultValue(ConfigurationStrings.IdleTimeout, settings.IdleTimeout); 83SetPropertyValueIfNotDefaultValue(ConfigurationStrings.LeaseTimeout, settings.LeaseTimeout); 84SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxOutboundConnectionsPerEndpoint, settings.MaxOutboundConnectionsPerEndpoint);
System\ServiceModel\Configuration\TcpTransportElement.cs (18)
66ConfigurationProperty listenBacklogProperty = this.Properties[ConfigurationStrings.ListenBacklog]; 69SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PortSharingEnabled, binding.PortSharingEnabled); 70SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TeredoEnabled, binding.TeredoEnabled); 75[ConfigurationProperty(ConfigurationStrings.ListenBacklog, DefaultValue = TcpTransportDefaults.ListenBacklogConst)] 79get { return (int)base[ConfigurationStrings.ListenBacklog]; } 80set { base[ConfigurationStrings.ListenBacklog] = value; } 83[ConfigurationProperty(ConfigurationStrings.PortSharingEnabled, DefaultValue = TcpTransportDefaults.PortSharingEnabled)] 86get { return (bool)base[ConfigurationStrings.PortSharingEnabled]; } 87set { base[ConfigurationStrings.PortSharingEnabled] = value; } 90[ConfigurationProperty(ConfigurationStrings.TeredoEnabled, DefaultValue = TcpTransportDefaults.TeredoEnabled)] 93get { return (bool)base[ConfigurationStrings.TeredoEnabled]; } 94set { base[ConfigurationStrings.TeredoEnabled] = value; } 97[ConfigurationProperty(ConfigurationStrings.ConnectionPoolSettings)] 100get { return (TcpConnectionPoolSettingsElement)base[ConfigurationStrings.ConnectionPoolSettings]; } 101set { base[ConfigurationStrings.ConnectionPoolSettings] = value; } 104[ConfigurationProperty(ConfigurationStrings.ExtendedProtectionPolicy)] 107get { return (ExtendedProtectionPolicyElement)base[ConfigurationStrings.ExtendedProtectionPolicy]; } 108private set { base[ConfigurationStrings.ExtendedProtectionPolicy] = value; }
System\ServiceModel\Configuration\TcpTransportSecurityElement.cs (15)
20[ConfigurationProperty(ConfigurationStrings.ClientCredentialType, DefaultValue = TcpTransportSecurity.DefaultClientCredentialType)] 24get { return (TcpClientCredentialType)base[ConfigurationStrings.ClientCredentialType]; } 25set { base[ConfigurationStrings.ClientCredentialType] = value; } 28[ConfigurationProperty(ConfigurationStrings.ProtectionLevel, DefaultValue = TcpTransportSecurity.DefaultProtectionLevel)] 32get { return (ProtectionLevel)base[ConfigurationStrings.ProtectionLevel]; } 33set { base[ConfigurationStrings.ProtectionLevel] = value; } 36[ConfigurationProperty(ConfigurationStrings.ExtendedProtectionPolicy)] 39get { return (ExtendedProtectionPolicyElement)base[ConfigurationStrings.ExtendedProtectionPolicy]; } 40private set { base[ConfigurationStrings.ExtendedProtectionPolicy] = value; } 43[ConfigurationProperty(ConfigurationStrings.SslProtocols, DefaultValue = TransportDefaults.OldDefaultSslProtocols)] 47get { return (SslProtocols)base[ConfigurationStrings.SslProtocols]; } 48private set { base[ConfigurationStrings.SslProtocols] = value; } 69SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.ClientCredentialType); 70SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProtectionLevel, security.ProtectionLevel); 72SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SslProtocols, security.SslProtocols);
System\ServiceModel\Configuration\TextMessageEncodingElement.cs (18)
59SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MessageVersion, binding.MessageVersion); 60SetPropertyValueIfNotDefaultValue(ConfigurationStrings.WriteEncoding, binding.WriteEncoding); 61SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReadPoolSize, binding.MaxReadPoolSize); 62SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxWritePoolSize, binding.MaxWritePoolSize); 66[ConfigurationProperty(ConfigurationStrings.MaxReadPoolSize, DefaultValue = EncoderDefaults.MaxReadPoolSize)] 70get { return (int)base[ConfigurationStrings.MaxReadPoolSize]; } 71set { base[ConfigurationStrings.MaxReadPoolSize] = value; } 74[ConfigurationProperty(ConfigurationStrings.MaxWritePoolSize, DefaultValue = EncoderDefaults.MaxWritePoolSize)] 78get { return (int)base[ConfigurationStrings.MaxWritePoolSize]; } 79set { base[ConfigurationStrings.MaxWritePoolSize] = value; } 82[ConfigurationProperty(ConfigurationStrings.MessageVersion, DefaultValue = TextEncoderDefaults.MessageVersionString)] 86get { return (MessageVersion)base[ConfigurationStrings.MessageVersion]; } 87set { base[ConfigurationStrings.MessageVersion] = value; } 90[ConfigurationProperty(ConfigurationStrings.ReaderQuotas)] 93get { return (XmlDictionaryReaderQuotasElement) base[ConfigurationStrings.ReaderQuotas]; } 96[ConfigurationProperty(ConfigurationStrings.WriteEncoding, DefaultValue = TextEncoderDefaults.EncodingString)] 100get { return (Encoding)base[ConfigurationStrings.WriteEncoding]; } 101set { base[ConfigurationStrings.WriteEncoding] = value; }
System\ServiceModel\Configuration\TransactedBatchingElement.cs (3)
12[ConfigurationProperty(ConfigurationStrings.MaxBatchSize, DefaultValue = 0)] 16get { return (int)base[ConfigurationStrings.MaxBatchSize]; } 17set { base[ConfigurationStrings.MaxBatchSize] = value; }
System\ServiceModel\Configuration\TransactionFlowElement.cs (7)
31[ConfigurationProperty(ConfigurationStrings.TransactionProtocol, DefaultValue = TransactionFlowDefaults.TransactionProtocolString)] 35get { return (TransactionProtocol)base[ConfigurationStrings.TransactionProtocol]; } 36set { base[ConfigurationStrings.TransactionProtocol] = value; } 39[ConfigurationProperty(ConfigurationStrings.TransactionAllowWildcardAction, DefaultValue = false)] 42get { return (bool)base[ConfigurationStrings.TransactionAllowWildcardAction]; } 43set { base[ConfigurationStrings.TransactionAllowWildcardAction] = value; } 72SetPropertyValueIfNotDefaultValue(ConfigurationStrings.TransactionProtocol, binding.TransactionProtocol);
System\ServiceModel\Configuration\TransactionProtocolConverter.cs (3)
40case ConfigurationStrings.OleTransactions: 42case ConfigurationStrings.WSAtomicTransactionOctober2004: 44case ConfigurationStrings.WSAtomicTransaction11:
System\ServiceModel\Configuration\TransportConfigurationTypeElement.cs (6)
36[ConfigurationProperty(ConfigurationStrings.Name, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 40get { return (string)base[ConfigurationStrings.Name]; } 48base[ConfigurationStrings.Name] = value; 52[ConfigurationProperty(ConfigurationStrings.TransportConfigurationType, Options = ConfigurationPropertyOptions.IsRequired)] 56get { return (string)base[ConfigurationStrings.TransportConfigurationType]; } 64base[ConfigurationStrings.TransportConfigurationType] = value;
System\ServiceModel\Configuration\TransportElement.cs (12)
49SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ManualAddressing, binding.ManualAddressing); 50SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxBufferPoolSize, binding.MaxBufferPoolSize); 51SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxReceivedMessageSize, binding.MaxReceivedMessageSize); 54[ConfigurationProperty(ConfigurationStrings.ManualAddressing, DefaultValue = false)] 57get { return (bool)base[ConfigurationStrings.ManualAddressing]; } 58set { base[ConfigurationStrings.ManualAddressing] = 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; }
System\ServiceModel\Configuration\UseRequestHeadersForMetadataAddressElement.cs (2)
18[ConfigurationProperty(ConfigurationStrings.DefaultPorts)] 21get { return (DefaultPortElementCollection)base[ConfigurationStrings.DefaultPorts]; }
System\ServiceModel\Configuration\UserNameServiceElement.cs (23)
22[ConfigurationProperty(ConfigurationStrings.UserNamePasswordValidationMode, DefaultValue = UserNamePasswordServiceCredential.DefaultUserNamePasswordValidationMode)] 26get { return (UserNamePasswordValidationMode)base[ConfigurationStrings.UserNamePasswordValidationMode]; } 27set { base[ConfigurationStrings.UserNamePasswordValidationMode] = value; } 30[ConfigurationProperty(ConfigurationStrings.IncludeWindowsGroups, DefaultValue = SspiSecurityTokenProvider.DefaultExtractWindowsGroupClaims)] 33get { return (bool)base[ConfigurationStrings.IncludeWindowsGroups]; } 34set { base[ConfigurationStrings.IncludeWindowsGroups] = value; } 37[ConfigurationProperty(ConfigurationStrings.MembershipProviderName, DefaultValue = "")] 41get { return (string)base[ConfigurationStrings.MembershipProviderName]; } 48base[ConfigurationStrings.MembershipProviderName] = value; 52[ConfigurationProperty(ConfigurationStrings.CustomUserNamePasswordValidatorType, DefaultValue = "")] 56get { return (string)base[ConfigurationStrings.CustomUserNamePasswordValidatorType]; } 63base[ConfigurationStrings.CustomUserNamePasswordValidatorType] = value; 67[ConfigurationProperty(ConfigurationStrings.CacheLogonTokens, DefaultValue = UserNamePasswordServiceCredential.DefaultCacheLogonTokens)] 70get { return (bool)base[ConfigurationStrings.CacheLogonTokens]; } 71set { base[ConfigurationStrings.CacheLogonTokens] = value; } 74[ConfigurationProperty(ConfigurationStrings.MaxCachedLogonTokens, DefaultValue = UserNamePasswordServiceCredential.DefaultMaxCachedLogonTokens)] 78get { return (int)base[ConfigurationStrings.MaxCachedLogonTokens]; } 79set { base[ConfigurationStrings.MaxCachedLogonTokens] = value; } 82[ConfigurationProperty(ConfigurationStrings.CachedLogonTokenLifetime, DefaultValue = UserNamePasswordServiceCredential.DefaultCachedLogonTokenLifetimeString)] 84[ServiceModelTimeSpanValidator(MinValueString = ConfigurationStrings.TimeSpanOneTick)] 87get { return (TimeSpan)base[ConfigurationStrings.CachedLogonTokenLifetime]; } 88set { base[ConfigurationStrings.CachedLogonTokenLifetime] = value; } 123if (propertyInfo[ConfigurationStrings.MembershipProviderName].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\UserPrincipalNameElement.cs (3)
21[ConfigurationProperty(ConfigurationStrings.Value, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.Value]; } 33base[ConfigurationStrings.Value] = 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\WindowsClientElement.cs (6)
22[ConfigurationProperty(ConfigurationStrings.AllowNtlm, DefaultValue = SspiSecurityTokenProvider.DefaultAllowNtlm)] 25get { return (bool)base[ConfigurationStrings.AllowNtlm]; } 26set { base[ConfigurationStrings.AllowNtlm] = value; } 29[ConfigurationProperty(ConfigurationStrings.AllowedImpersonationLevel, DefaultValue = WindowsClientCredential.DefaultImpersonationLevel)] 33get { return (TokenImpersonationLevel)base[ConfigurationStrings.AllowedImpersonationLevel]; } 34set { base[ConfigurationStrings.AllowedImpersonationLevel] = value; }
System\ServiceModel\Configuration\WindowsServiceElement.cs (6)
21[ConfigurationProperty(ConfigurationStrings.IncludeWindowsGroups, DefaultValue = SspiSecurityTokenProvider.DefaultExtractWindowsGroupClaims)] 24get { return (bool)base[ConfigurationStrings.IncludeWindowsGroups]; } 25set { base[ConfigurationStrings.IncludeWindowsGroups] = value; } 28[ConfigurationProperty(ConfigurationStrings.AllowAnonymousLogons, DefaultValue = SspiSecurityTokenProvider.DefaultAllowUnauthenticatedCallers)] 31get { return (bool)base[ConfigurationStrings.AllowAnonymousLogons]; } 32set { base[ConfigurationStrings.AllowAnonymousLogons] = value; }
System\ServiceModel\Configuration\WindowsStreamSecurityElement.cs (4)
20[ConfigurationProperty(ConfigurationStrings.ProtectionLevel, DefaultValue = ConnectionOrientedTransportDefaults.ProtectionLevel)] 24get { return (ProtectionLevel)base[ConfigurationStrings.ProtectionLevel]; } 25set { base[ConfigurationStrings.ProtectionLevel] = value; } 64SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProtectionLevel, windowsBindingElement.ProtectionLevel);
System\ServiceModel\Configuration\WS2007FederationHttpBindingCollectionElement.cs (1)
15return (WS2007FederationHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WS2007FederationHttpBindingCollectionElementName);
System\ServiceModel\Configuration\WS2007HttpBindingCollectionElement.cs (1)
15return (WS2007HttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WS2007HttpBindingCollectionElementName);
System\ServiceModel\Configuration\WsdlImporterElement.cs (3)
29[ConfigurationProperty(ConfigurationStrings.Type, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 34{ return (string)base[ConfigurationStrings.Type]; } 41base[ConfigurationStrings.Type] = value;
System\ServiceModel\Configuration\WsdlImporterElementCollection.cs (3)
16[ConfigurationCollection(typeof(WsdlImporterElement), AddItemName = ConfigurationStrings.Extension)] 19public WsdlImporterElementCollection() : base(ConfigurationStrings.Extension) 40this.Add(new WsdlImporterElement(ConfigurationStrings.UdpTransportImporterType));
System\ServiceModel\Configuration\WSDualHttpBindingCollectionElement.cs (1)
15return (WSDualHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WSDualHttpBindingCollectionElementName);
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\WSDualHttpSecurityElement.cs (6)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = WSDualHttpSecurity.DefaultMode)] 22get { return (WSDualHttpSecurityMode)base[ConfigurationStrings.Mode]; } 23set { base[ConfigurationStrings.Mode] = value; } 26[ConfigurationProperty(ConfigurationStrings.Message)] 29get { return (MessageSecurityOverHttpElement)base[ConfigurationStrings.Message]; } 48SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\WSFederationHttpBindingCollectionElement.cs (1)
14return (WSFederationHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WSFederationHttpBindingCollectionElementName);
System\ServiceModel\Configuration\WSFederationHttpBindingElement.cs (10)
32[ConfigurationProperty(ConfigurationStrings.PrivacyNoticeAt, DefaultValue = null)] 35get { return (Uri) base[ConfigurationStrings.PrivacyNoticeAt]; } 36set { base[ConfigurationStrings.PrivacyNoticeAt] = value; } 39[ConfigurationProperty(ConfigurationStrings.PrivacyNoticeVersion, DefaultValue = 0)] 43get { return (int) base[ConfigurationStrings.PrivacyNoticeVersion]; } 44set { base[ConfigurationStrings.PrivacyNoticeVersion] = value; } 47[ConfigurationProperty(ConfigurationStrings.Security)] 50get { return (WSFederationHttpSecurityElement)base[ConfigurationStrings.Security]; } 59SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PrivacyNoticeAt, wspBinding.PrivacyNoticeAt); 60SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PrivacyNoticeVersion, wspBinding.PrivacyNoticeVersion);
System\ServiceModel\Configuration\WSFederationHttpSecurityElement.cs (6)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = WSFederationHttpSecurity.DefaultMode)] 22get { return (WSFederationHttpSecurityMode)base[ConfigurationStrings.Mode]; } 23set { base[ConfigurationStrings.Mode] = value; } 26[ConfigurationProperty(ConfigurationStrings.Message)] 29get { return (FederatedMessageSecurityOverHttpElement)base[ConfigurationStrings.Message]; } 48SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
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\WSHttpBindingCollectionElement.cs (1)
15return (WSHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WSHttpBindingCollectionElementName);
System\ServiceModel\Configuration\WSHttpBindingElement.cs (6)
32[ConfigurationProperty(ConfigurationStrings.AllowCookies, DefaultValue = HttpTransportDefaults.AllowCookies)] 35get { return (bool)base[ConfigurationStrings.AllowCookies]; } 36set { base[ConfigurationStrings.AllowCookies] = value; } 40[ConfigurationProperty(ConfigurationStrings.Security)] 43get { return (WSHttpSecurityElement)base[ConfigurationStrings.Security]; } 51SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AllowCookies, wspBinding.AllowCookies);
System\ServiceModel\Configuration\WSHttpContextBindingElement.cs (4)
32[ConfigurationProperty(ConfigurationStrings.ClientCallbackAddressName, DefaultValue = null)] 37get { return (Uri)base[ConfigurationStrings.ClientCallbackAddressName]; } 38set { base[ConfigurationStrings.ClientCallbackAddressName] = value; } 65SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCallbackAddressName, contextBinding.ClientCallbackAddress);
System\ServiceModel\Configuration\WSHttpSecurityElement.cs (8)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = WSHttpSecurity.DefaultMode)] 22get { return (SecurityMode)base[ConfigurationStrings.Mode]; } 23set { base[ConfigurationStrings.Mode] = value; } 26[ConfigurationProperty(ConfigurationStrings.Transport)] 29get { return (WSHttpTransportSecurityElement)base[ConfigurationStrings.Transport]; } 32[ConfigurationProperty(ConfigurationStrings.Message)] 35get { return (NonDualMessageSecurityOverHttpElement)base[ConfigurationStrings.Message]; } 55SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
System\ServiceModel\Configuration\WSHttpTransportSecurityElement.cs (15)
19[ConfigurationProperty(ConfigurationStrings.ClientCredentialType, DefaultValue = HttpClientCredentialType.Windows)] 23get { return (HttpClientCredentialType)base[ConfigurationStrings.ClientCredentialType]; } 24set { base[ConfigurationStrings.ClientCredentialType] = value; } 27[ConfigurationProperty(ConfigurationStrings.ProxyCredentialType, DefaultValue = HttpTransportSecurity.DefaultProxyCredentialType)] 31get { return (HttpProxyCredentialType)base[ConfigurationStrings.ProxyCredentialType]; } 32set { base[ConfigurationStrings.ProxyCredentialType] = value; } 35[ConfigurationProperty(ConfigurationStrings.ExtendedProtectionPolicy)] 38get { return (ExtendedProtectionPolicyElement)base[ConfigurationStrings.ExtendedProtectionPolicy]; } 39private set { base[ConfigurationStrings.ExtendedProtectionPolicy] = value; } 42[ConfigurationProperty(ConfigurationStrings.Realm, DefaultValue = HttpTransportSecurity.DefaultRealm)] 46get { return (string)base[ConfigurationStrings.Realm]; } 53base[ConfigurationStrings.Realm] = value; 75SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.ClientCredentialType); 76SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ProxyCredentialType, security.ProxyCredentialType); 77SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Realm, security.Realm);
System\ServiceModel\Configuration\X509CertificateTrustedIssuerElement.cs (12)
21[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "", Options = ConfigurationPropertyOptions.IsKey)] 25get { return (string)base[ConfigurationStrings.FindValue]; } 32base[ConfigurationStrings.FindValue] = value; 36[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateRecipientServiceCredential.DefaultStoreLocation, Options = ConfigurationPropertyOptions.IsKey)] 40get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; } 41set { base[ConfigurationStrings.StoreLocation] = value; } 44[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = X509CertificateRecipientServiceCredential.DefaultStoreName, Options = ConfigurationPropertyOptions.IsKey)] 48get { return (StoreName)base[ConfigurationStrings.StoreName]; } 49set { base[ConfigurationStrings.StoreName] = value; } 52[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateRecipientServiceCredential.DefaultFindType, Options = ConfigurationPropertyOptions.IsKey)] 56get { return (X509FindType)base[ConfigurationStrings.X509FindType]; } 57set { base[ConfigurationStrings.X509FindType] = value; }
System\ServiceModel\Configuration\X509ClientCertificateAuthenticationElement.cs (18)
22[ConfigurationProperty(ConfigurationStrings.CustomCertificateValidatorType, DefaultValue = "")] 26get { return (string)base[ConfigurationStrings.CustomCertificateValidatorType]; } 33base[ConfigurationStrings.CustomCertificateValidatorType] = value; 37[ConfigurationProperty(ConfigurationStrings.CertificateValidationMode, DefaultValue = X509ClientCertificateAuthentication.DefaultCertificateValidationMode)] 41get { return (X509CertificateValidationMode)base[ConfigurationStrings.CertificateValidationMode]; } 42set { base[ConfigurationStrings.CertificateValidationMode] = value; } 45[ConfigurationProperty(ConfigurationStrings.RevocationMode, DefaultValue = X509ClientCertificateAuthentication.DefaultRevocationMode)] 49get { return (X509RevocationMode)base[ConfigurationStrings.RevocationMode]; } 50set { base[ConfigurationStrings.RevocationMode] = value; } 53[ConfigurationProperty(ConfigurationStrings.TrustedStoreLocation, DefaultValue = X509ClientCertificateAuthentication.DefaultTrustedStoreLocation)] 57get { return (StoreLocation)base[ConfigurationStrings.TrustedStoreLocation]; } 58set { base[ConfigurationStrings.TrustedStoreLocation] = value; } 61[ConfigurationProperty(ConfigurationStrings.IncludeWindowsGroups, DefaultValue = SspiSecurityTokenProvider.DefaultExtractWindowsGroupClaims)] 64get { return (bool)base[ConfigurationStrings.IncludeWindowsGroups]; } 65set { base[ConfigurationStrings.IncludeWindowsGroups] = value; } 68[ConfigurationProperty(ConfigurationStrings.MapClientCertificateToWindowsAccount, DefaultValue = X509ClientCertificateAuthentication.DefaultMapCertificateToWindowsAccount)] 71get { return (bool)base[ConfigurationStrings.MapClientCertificateToWindowsAccount]; } 72set { base[ConfigurationStrings.MapClientCertificateToWindowsAccount] = value; }
System\ServiceModel\Configuration\X509ClientCertificateCredentialsElement.cs (16)
21[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.FindValue]; } 32base[ConfigurationStrings.FindValue] = value; 36[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateInitiatorServiceCredential.DefaultStoreLocation)] 40get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; } 41set { base[ConfigurationStrings.StoreLocation] = value; } 44[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = X509CertificateInitiatorServiceCredential.DefaultStoreName)] 48get { return (StoreName)base[ConfigurationStrings.StoreName]; } 49set { base[ConfigurationStrings.StoreName] = value; } 52[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateInitiatorServiceCredential.DefaultFindType)] 56get { return (X509FindType)base[ConfigurationStrings.X509FindType]; } 57set { base[ConfigurationStrings.X509FindType] = value; } 84if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default 85|| propertyInfo[ConfigurationStrings.StoreName].ValueOrigin != PropertyValueOrigin.Default 86|| propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default 87|| propertyInfo[ConfigurationStrings.FindValue].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\X509DefaultServiceCertificateElement.cs (16)
21[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.FindValue]; } 32base[ConfigurationStrings.FindValue] = value; 36[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateRecipientClientCredential.DefaultStoreLocation)] 40get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; } 41set { base[ConfigurationStrings.StoreLocation] = value; } 44[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = X509CertificateRecipientClientCredential.DefaultStoreName)] 48get { return (StoreName)base[ConfigurationStrings.StoreName]; } 49set { base[ConfigurationStrings.StoreName] = value; } 52[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateRecipientClientCredential.DefaultFindType)] 56get { return (X509FindType)base[ConfigurationStrings.X509FindType]; } 57set { base[ConfigurationStrings.X509FindType] = value; } 84if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default 85|| propertyInfo[ConfigurationStrings.StoreName].ValueOrigin != PropertyValueOrigin.Default 86|| propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default 87|| propertyInfo[ConfigurationStrings.FindValue].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\X509InitiatorCertificateClientElement.cs (16)
21[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.FindValue]; } 32base[ConfigurationStrings.FindValue] = value; 36[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateInitiatorClientCredential.DefaultStoreLocation)] 40get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; } 41set { base[ConfigurationStrings.StoreLocation] = value; } 44[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = X509CertificateInitiatorClientCredential.DefaultStoreName)] 48get { return (StoreName)base[ConfigurationStrings.StoreName]; } 49set { base[ConfigurationStrings.StoreName] = value; } 52[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateInitiatorClientCredential.DefaultFindType)] 56get { return (X509FindType)base[ConfigurationStrings.X509FindType]; } 57set { base[ConfigurationStrings.X509FindType] = value; } 84if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default 85|| propertyInfo[ConfigurationStrings.StoreName].ValueOrigin != PropertyValueOrigin.Default 86|| propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default 87|| propertyInfo[ConfigurationStrings.FindValue].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\X509InitiatorCertificateServiceElement.cs (6)
21[ConfigurationProperty(ConfigurationStrings.Certificate)] 24get { return (X509ClientCertificateCredentialsElement)base[ConfigurationStrings.Certificate]; } 27[ConfigurationProperty(ConfigurationStrings.Authentication)] 30get { return (X509ClientCertificateAuthenticationElement)base[ConfigurationStrings.Authentication]; } 55if (propertyInfo[ConfigurationStrings.Authentication].ValueOrigin != PropertyValueOrigin.Default) 59if (propertyInfo[ConfigurationStrings.Certificate].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\X509PeerCertificateAuthenticationElement.cs (12)
22[ConfigurationProperty(ConfigurationStrings.CustomCertificateValidatorType, DefaultValue = "")] 26get { return (string)base[ConfigurationStrings.CustomCertificateValidatorType]; } 33base[ConfigurationStrings.CustomCertificateValidatorType] = value; 37[ConfigurationProperty(ConfigurationStrings.CertificateValidationMode, DefaultValue = X509PeerCertificateAuthentication.DefaultCertificateValidationMode)] 41get { return (X509CertificateValidationMode)base[ConfigurationStrings.CertificateValidationMode]; } 42set { base[ConfigurationStrings.CertificateValidationMode] = value; } 45[ConfigurationProperty(ConfigurationStrings.RevocationMode, DefaultValue = X509PeerCertificateAuthentication.DefaultRevocationMode)] 49get { return (X509RevocationMode)base[ConfigurationStrings.RevocationMode]; } 50set { base[ConfigurationStrings.RevocationMode] = value; } 53[ConfigurationProperty(ConfigurationStrings.TrustedStoreLocation, DefaultValue = X509PeerCertificateAuthentication.DefaultTrustedStoreLocation)] 57get { return (StoreLocation)base[ConfigurationStrings.TrustedStoreLocation]; } 58set { base[ConfigurationStrings.TrustedStoreLocation] = value; }
System\ServiceModel\Configuration\X509PeerCertificateElement.cs (16)
20[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "")] 24get { return (string)base[ConfigurationStrings.FindValue]; } 31base[ConfigurationStrings.FindValue] = value; 35[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = PeerCredential.DefaultStoreLocation)] 39get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; } 40set { base[ConfigurationStrings.StoreLocation] = value; } 43[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = PeerCredential.DefaultStoreName)] 47get { return (StoreName)base[ConfigurationStrings.StoreName]; } 48set { base[ConfigurationStrings.StoreName] = value; } 51[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = PeerCredential.DefaultFindType)] 55get { return (X509FindType)base[ConfigurationStrings.X509FindType]; } 56set { base[ConfigurationStrings.X509FindType] = value; } 83if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default 84|| propertyInfo[ConfigurationStrings.StoreName].ValueOrigin != PropertyValueOrigin.Default 85|| propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default 86|| propertyInfo[ConfigurationStrings.FindValue].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\X509RecipientCertificateClientElement.cs (10)
21[ConfigurationProperty(ConfigurationStrings.DefaultCertificate)] 24get { return (X509DefaultServiceCertificateElement)base[ConfigurationStrings.DefaultCertificate]; } 27[ConfigurationProperty(ConfigurationStrings.ScopedCertificates)] 30get { return (X509ScopedServiceCertificateElementCollection)base[ConfigurationStrings.ScopedCertificates]; } 33[ConfigurationProperty(ConfigurationStrings.Authentication)] 36get { return (X509ServiceCertificateAuthenticationElement)base[ConfigurationStrings.Authentication]; } 39[ConfigurationProperty(ConfigurationStrings.SslCertificateAuthentication)] 42get { return (X509ServiceCertificateAuthenticationElement)base[ConfigurationStrings.SslCertificateAuthentication]; } 78if (propertyInfo[ConfigurationStrings.Authentication].ValueOrigin != PropertyValueOrigin.Default) 83if (propertyInfo[ConfigurationStrings.SslCertificateAuthentication].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\X509RecipientCertificateServiceElement.cs (16)
21[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "")] 25get { return (string)base[ConfigurationStrings.FindValue]; } 32base[ConfigurationStrings.FindValue] = value; 36[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateRecipientServiceCredential.DefaultStoreLocation)] 40get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; } 41set { base[ConfigurationStrings.StoreLocation] = value; } 44[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = X509CertificateRecipientServiceCredential.DefaultStoreName)] 48get { return (StoreName)base[ConfigurationStrings.StoreName]; } 49set { base[ConfigurationStrings.StoreName] = value; } 52[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateRecipientServiceCredential.DefaultFindType)] 56get { return (X509FindType)base[ConfigurationStrings.X509FindType]; } 57set { base[ConfigurationStrings.X509FindType] = value; } 84if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default 85|| propertyInfo[ConfigurationStrings.StoreName].ValueOrigin != PropertyValueOrigin.Default 86|| propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default 87|| propertyInfo[ConfigurationStrings.FindValue].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\X509ScopedServiceCertificateElement.cs (20)
21[ConfigurationProperty(ConfigurationStrings.TargetUri, DefaultValue = null, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 24get { return (Uri)base[ConfigurationStrings.TargetUri]; } 25set { base[ConfigurationStrings.TargetUri] = value; } 28[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "")] 32get { return (string)base[ConfigurationStrings.FindValue]; } 39base[ConfigurationStrings.FindValue] = value; 43[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateRecipientClientCredential.DefaultStoreLocation)] 47get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; } 48set { base[ConfigurationStrings.StoreLocation] = value; } 51[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = X509CertificateRecipientClientCredential.DefaultStoreName)] 55get { return (StoreName)base[ConfigurationStrings.StoreName]; } 56set { base[ConfigurationStrings.StoreName] = value; } 59[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateRecipientClientCredential.DefaultFindType)] 63get { return (X509FindType)base[ConfigurationStrings.X509FindType]; } 64set { base[ConfigurationStrings.X509FindType] = value; } 92if (propertyInfo[ConfigurationStrings.TargetUri].ValueOrigin != PropertyValueOrigin.Default 93|| propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default 94|| propertyInfo[ConfigurationStrings.StoreName].ValueOrigin != PropertyValueOrigin.Default 95|| propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default 96|| propertyInfo[ConfigurationStrings.FindValue].ValueOrigin != PropertyValueOrigin.Default)
System\ServiceModel\Configuration\X509ServiceCertificateAuthenticationElement.cs (12)
22[ConfigurationProperty(ConfigurationStrings.CustomCertificateValidatorType, DefaultValue = "")] 26get { return (string)base[ConfigurationStrings.CustomCertificateValidatorType]; } 33base[ConfigurationStrings.CustomCertificateValidatorType] = value; 37[ConfigurationProperty(ConfigurationStrings.CertificateValidationMode, DefaultValue = X509ServiceCertificateAuthentication.DefaultCertificateValidationMode)] 41get { return (X509CertificateValidationMode)base[ConfigurationStrings.CertificateValidationMode]; } 42set { base[ConfigurationStrings.CertificateValidationMode] = value; } 45[ConfigurationProperty(ConfigurationStrings.RevocationMode, DefaultValue = X509ServiceCertificateAuthentication.DefaultRevocationMode)] 49get { return (X509RevocationMode)base[ConfigurationStrings.RevocationMode]; } 50set { base[ConfigurationStrings.RevocationMode] = value; } 53[ConfigurationProperty(ConfigurationStrings.TrustedStoreLocation, DefaultValue = X509ServiceCertificateAuthentication.DefaultTrustedStoreLocation)] 57get { return (StoreLocation)base[ConfigurationStrings.TrustedStoreLocation]; } 58set { base[ConfigurationStrings.TrustedStoreLocation] = value; }
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);
System\ServiceModel\Configuration\XmlElementElement.cs (5)
74if (!String.Equals(elementName, ConfigurationStrings.XmlElement, StringComparison.Ordinal)) 84if (!String.Equals(elementName, ConfigurationStrings.XmlElement, StringComparison.Ordinal)) 108[ConfigurationProperty(ConfigurationStrings.XmlElement, DefaultValue = null, Options = ConfigurationPropertyOptions.IsKey)] 111get { return (XmlElement)base[ConfigurationStrings.XmlElement]; } 112set { base[ConfigurationStrings.XmlElement] = value; }
System\ServiceModel\Configuration\XmlElementElementCollection.cs (2)
13[ConfigurationCollection(typeof(XmlElementElement), AddItemName = ConfigurationStrings.XmlElement, CollectionType = ConfigurationElementCollectionType.BasicMap)] 17: base(ConfigurationElementCollectionType.BasicMap, ConfigurationStrings.XmlElement)
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (5)
21[ConfigurationProperty(ConfigurationStrings.Filter, DefaultValue = null, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] 24get { return (XPathMessageFilter)base[ConfigurationStrings.Filter]; } 25set { base[ConfigurationStrings.Filter] = value; } 46if (reader.Name.Equals(ConfigurationStrings.NodeQuota, StringComparison.Ordinal)) 110writer.WriteAttributeString(ConfigurationStrings.NodeQuota, Filter.NodeQuota.ToString(NumberFormatInfo.CurrentInfo));
System\ServiceModel\Description\ConfigLoader.cs (13)
71if (properties[ConfigurationStrings.UserPrincipalName].ValueOrigin != PropertyValueOrigin.Default) 75else if (properties[ConfigurationStrings.ServicePrincipalName].ValueOrigin != PropertyValueOrigin.Default) 79else if (properties[ConfigurationStrings.Dns].ValueOrigin != PropertyValueOrigin.Default) 83else if (properties[ConfigurationStrings.Rsa].ValueOrigin != PropertyValueOrigin.Default) 87else if (properties[ConfigurationStrings.Certificate].ValueOrigin != PropertyValueOrigin.Default) 103else if (properties[ConfigurationStrings.CertificateReference].ValueOrigin != PropertyValueOrigin.Default) 446string behaviorConfigurationName = ConfigurationStrings.DefaultName; 528if (endpointElement.ElementInformation.Properties[ConfigurationStrings.IsSystemEndpoint].ValueOrigin != PropertyValueOrigin.Default) 549EndpointBehaviorElement behaviorEndpointElement = ConfigLoader.LookupEndpointBehaviors(ConfigurationStrings.DefaultName, ConfigurationHelpers.GetEvaluationContext(null)); 971if (serviceEndpointElementCopy.ElementInformation.Properties[ConfigurationStrings.IsSystemEndpoint].ValueOrigin != PropertyValueOrigin.Default) 1007ComContractsSection comContracts = (ComContractsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ComContractsSectionPath); 1029ProtocolMappingSection protocolMapping = (ProtocolMappingSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ProtocolMappingSectionPath); 1079if (retval == null && configurationName == ConfigurationStrings.DefaultName)
System\ServiceModel\Description\ServiceMetadataExtension.cs (36)
1642<font color=""blue"">&lt;<font color=""darkred"">" + ConfigurationStrings.BehaviorsSectionName + @"</font>&gt;</font> 1643<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.ServiceBehaviors + @"</font>&gt;</font> 1644<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.Behavior + @" </font><font color=""red"">" + ConfigurationStrings.Name + @"</font>=<font color=""black"">""</font>MyServiceTypeBehaviors<font color=""black"">"" </font>&gt;</font> 1645<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.ServiceMetadataPublishingSectionName + @" </font><font color=""red"">" + ConfigurationStrings.HttpGetEnabled + @"</font>=<font color=""black"">""</font>true<font color=""black"">"" </font>/&gt;</font> 1646<font color=""blue""> &lt;<font color=""darkred"">/" + ConfigurationStrings.Behavior + @"</font>&gt;</font> 1647<font color=""blue""> &lt;<font color=""darkred"">/" + ConfigurationStrings.ServiceBehaviors + @"</font>&gt;</font> 1648<font color=""blue"">&lt;<font color=""darkred"">/" + ConfigurationStrings.BehaviorsSectionName + @"</font>&gt;</font> 1652<font color=""blue"">&lt;<font color=""darkred"">" + ConfigurationStrings.Service + @" </font><font color=""red"">" + ConfigurationStrings.Name + @"</font>=<font color=""black"">""</font><i>MyNamespace.MyServiceType</i><font color=""black"">"" </font><font color=""red"">" + ConfigurationStrings.BehaviorConfiguration + @"</font>=<font color=""black"">""</font><i>MyServiceTypeBehaviors</i><font color=""black"">"" </font>&gt;</font> 1656<font color=""blue"">&lt;<font color=""darkred"">" + ConfigurationStrings.Endpoint + @" </font><font color=""red"">" + ConfigurationStrings.Contract + @"</font>=<font color=""black"">""</font>" + ServiceMetadataBehavior.MexContractName + @"<font color=""black"">"" </font><font color=""red"">" + ConfigurationStrings.Binding + @"</font>=<font color=""black"">""</font>mexHttpBinding<font color=""black"">"" </font><font color=""red"">" + ConfigurationStrings.Address + @"</font>=<font color=""black"">""</font>mex<font color=""black"">"" </font>/&gt;</font> 1662<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.SectionGroupName + @"</font>&gt;</font> 1664<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.ServicesSectionName + @"</font>&gt;</font> 1666<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.Service + @" </font><font color=""red"">" + ConfigurationStrings.Name + @"</font>=<font color=""black"">""</font><i>MyNamespace.MyServiceType</i><font color=""black"">"" </font><font color=""red"">" + ConfigurationStrings.BehaviorConfiguration + @"</font>=<font color=""black"">""</font><i>MyServiceTypeBehaviors</i><font color=""black"">"" </font>&gt;</font> 1669<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.Endpoint + @" </font><font color=""red"">" + ConfigurationStrings.Contract + @"</font>=<font color=""black"">""</font>" + ServiceMetadataBehavior.MexContractName + @"<font color=""black"">"" </font><font color=""red"">" + ConfigurationStrings.Binding + @"</font>=<font color=""black"">""</font>mexHttpBinding<font color=""black"">"" </font><font color=""red"">" + ConfigurationStrings.Address + @"</font>=<font color=""black"">""</font>mex<font color=""black"">"" </font>/&gt;</font> 1670<font color=""blue""> &lt;<font color=""darkred"">/" + ConfigurationStrings.Service + @"</font>&gt;</font> 1671<font color=""blue""> &lt;<font color=""darkred"">/" + ConfigurationStrings.ServicesSectionName + @"</font>&gt;</font> 1673<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.BehaviorsSectionName + @"</font>&gt;</font> 1674<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.ServiceBehaviors + @"</font>&gt;</font> 1675<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.Behavior + @" </font><font color=""red"">name</font>=<font color=""black"">""</font><i>MyServiceTypeBehaviors</i><font color=""black"">"" </font>&gt;</font> 1677<font color=""blue""> &lt;<font color=""darkred"">" + ConfigurationStrings.ServiceMetadataPublishingSectionName + @" </font><font color=""red"">" + ConfigurationStrings.HttpGetEnabled + @"</font>=<font color=""black"">""</font>true<font color=""black"">"" </font>/&gt;</font> 1678<font color=""blue""> &lt;<font color=""darkred"">/" + ConfigurationStrings.Behavior + @"</font>&gt;</font> 1679<font color=""blue""> &lt;<font color=""darkred"">/" + ConfigurationStrings.ServiceBehaviors + @"</font>&gt;</font> 1680<font color=""blue""> &lt;<font color=""darkred"">/" + ConfigurationStrings.BehaviorsSectionName + @"</font>&gt;</font> 1682<font color=""blue""> &lt;<font color=""darkred"">/" + ConfigurationStrings.SectionGroupName + @"</font>&gt;</font>
System\ServiceModel\Diagnostics\MessageLogger.cs (1)
554filter.WriteXPathTo(writer, null, ConfigurationStrings.Filter, null, true);
System\ServiceModel\MessageSecurityOverMsmq.cs (1)
41[DefaultValue(typeof(SecurityAlgorithmSuite), System.ServiceModel.Configuration.ConfigurationStrings.Default)]
System\ServiceModel\MessageSecurityOverTcp.cs (1)
41[DefaultValue(typeof(SecurityAlgorithmSuite), System.ServiceModel.Configuration.ConfigurationStrings.Default)]
System\ServiceModel\MsmqIntegration\MsmqIntegrationBinding.cs (1)
105Config.ConfigurationStrings.MsmqIntegrationBindingCollectionElementName)));
System\ServiceModel\NetHttpBinding.cs (1)
343ConfigurationStrings.NetHttpBindingCollectionElementName)));
System\ServiceModel\NetHttpsBinding.cs (1)
292ConfigurationStrings.NetHttpBindingCollectionElementName)));
System\ServiceModel\NetMsmqBinding.cs (1)
219Config.ConfigurationStrings.NetMsmqBindingCollectionElementName)));
System\ServiceModel\NetNamedPipeBinding.cs (1)
208ConfigurationStrings.NetNamedPipeBindingCollectionElementName)));
System\ServiceModel\NetPeerTcpBinding.cs (1)
152ConfigurationStrings.NetPeerTcpBindingCollectionElementName)));
System\ServiceModel\NetTcpBinding.cs (1)
268ConfigurationStrings.NetTcpBindingCollectionElementName)));
System\ServiceModel\ServiceHost.cs (1)
1906ServicesSection servicesSection = (ServicesSection)configuration.GetSection(ConfigurationStrings.ServicesSectionPath);
System\ServiceModel\TransactionProtocol.cs (3)
56get { return ConfigurationStrings.OleTransactions; } 71get { return ConfigurationStrings.WSAtomicTransactionOctober2004; } 86get { return ConfigurationStrings.WSAtomicTransaction11; }
System\ServiceModel\WS2007FederationHttpBinding.cs (1)
72ConfigurationStrings.WS2007FederationHttpBindingCollectionElementName)));
System\ServiceModel\WS2007HttpBinding.cs (1)
72ConfigurationStrings.WS2007HttpBindingCollectionElementName)));
System\ServiceModel\WSDualHttpBinding.cs (1)
319ConfigurationStrings.WSDualHttpBindingCollectionElementName)));
System\ServiceModel\WSFederationHttpBinding.cs (1)
99ConfigurationStrings.WSFederationHttpBindingCollectionElementName)));
System\ServiceModel\WSHttpBinding.cs (1)
90ConfigurationStrings.WSHttpBindingCollectionElementName)));