127 references to Add
ComSvcConfig (13)
ComplusEndpointConfigContainer.cs (2)
208
sg.Bindings.NetNamedPipeBinding.Bindings.
Add
(bindingConfig);
216
sg.Bindings.NetNamedPipeBinding.Bindings.
Add
(bindingConfig);
EndpointConfigContainer.cs (9)
285
serviceElement.Host.BaseAddresses.
Add
(bae);
287
sg.Services.Services.
Add
(serviceElement);
322
serviceElement.Endpoints.
Add
(endpointElement);
435
comContract.ExposedMethods.
Add
(new ComMethodElement(methodName));
459
newComContract.ExposedMethods.
Add
(new ComMethodElement(methodName));
468
contractCollection.
Add
(newComContract);
595
endpointCollection.
Add
(ee);
605
svcColl.
Add
(el);
714
sg.Behaviors.ServiceBehaviors.
Add
(behavior);
WasEndpointConfigContainer.cs (2)
155
sg.Bindings.WSHttpBinding.Bindings.
Add
(bindingConfig);
162
sg.Bindings.WSHttpBinding.Bindings.
Add
(bindingConfig);
System.ServiceModel (111)
System\ServiceModel\Activation\Configuration\SecurityIdentifierElementCollection.cs (5)
37
this.
Add
(new SecurityIdentifierElement(new SecurityIdentifier(ConfigurationStrings.IIS_IUSRSSid)));
40
this.
Add
(new SecurityIdentifierElement(new SecurityIdentifier(WellKnownSidType.LocalSystemSid, null)));
41
this.
Add
(new SecurityIdentifierElement(new SecurityIdentifier(WellKnownSidType.BuiltinAdministratorsSid, null)));
42
this.
Add
(new SecurityIdentifierElement(new SecurityIdentifier(WellKnownSidType.LocalServiceSid, null)));
43
this.
Add
(new SecurityIdentifierElement(new SecurityIdentifier(WellKnownSidType.NetworkServiceSid, null)));
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (1)
218
handlerCollection.
Add
(new DelegatingHandlerElement(this.httpMessageHandlers[i]));
System\ServiceModel\Configuration\CustomBindingCollectionElement.cs (1)
111
customBindings.
Add
(configElement);
System\ServiceModel\Configuration\ExtensionsSection.cs (63)
43
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ClientCredentials, typeof(ClientCredentialsElement).AssemblyQualifiedName));
44
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceCredentials, typeof(ServiceCredentialsElement).AssemblyQualifiedName));
45
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.CallbackDebugSectionName, typeof(CallbackDebugElement).AssemblyQualifiedName));
46
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ClientViaSectionName, typeof(ClientViaElement).AssemblyQualifiedName));
47
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.SynchronousReceiveSectionName, typeof(SynchronousReceiveElement).AssemblyQualifiedName));
48
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.DispatcherSynchronizationSectionName, typeof(DispatcherSynchronizationElement).AssemblyQualifiedName));
49
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceMetadataPublishingSectionName, typeof(ServiceMetadataPublishingElement).AssemblyQualifiedName));
50
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceDebugSectionName, typeof(ServiceDebugElement).AssemblyQualifiedName));
51
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceHealthSectionName, typeof(ServiceHealthElement).AssemblyQualifiedName));
52
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceAuthenticationManagerSectionName, typeof(ServiceAuthenticationElement).AssemblyQualifiedName));
53
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceAuthorizationSectionName, typeof(ServiceAuthorizationElement).AssemblyQualifiedName));
54
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceSecurityAuditSectionName, typeof(ServiceSecurityAuditElement).AssemblyQualifiedName));
55
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceThrottlingSectionName, typeof(ServiceThrottlingElement).AssemblyQualifiedName));
56
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.TransactedBatchingSectionName, typeof(TransactedBatchingElement).AssemblyQualifiedName));
57
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.DataContractSerializerSectionName, typeof(DataContractSerializerElement).AssemblyQualifiedName));
58
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ServiceTimeouts, typeof(ServiceTimeoutsElement).AssemblyQualifiedName));
59
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.CallbackTimeouts, typeof(CallbackTimeoutsElement).AssemblyQualifiedName));
60
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.UseRequestHeadersForMetadataAddress, typeof(UseRequestHeadersForMetadataAddressElement).AssemblyQualifiedName));
61
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.Clear, typeof(ClearBehaviorElement).AssemblyQualifiedName));
62
this.BehaviorExtensions.
Add
(new ExtensionElement(ConfigurationStrings.Remove, typeof(RemoveBehaviorElement).AssemblyQualifiedName));
67
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.BinaryMessageEncodingSectionName, typeof(BinaryMessageEncodingElement).AssemblyQualifiedName));
68
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.CompositeDuplexSectionName, typeof(CompositeDuplexElement).AssemblyQualifiedName));
69
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.OneWaySectionName, typeof(OneWayElement).AssemblyQualifiedName));
70
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.TransactionFlowSectionName, typeof(TransactionFlowElement).AssemblyQualifiedName));
71
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.HttpsTransportSectionName, typeof(HttpsTransportElement).AssemblyQualifiedName));
72
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.HttpTransportSectionName, typeof(HttpTransportElement).AssemblyQualifiedName));
73
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MsmqIntegrationSectionName, typeof(MsmqIntegrationElement).AssemblyQualifiedName));
74
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MsmqTransportSectionName, typeof(MsmqTransportElement).AssemblyQualifiedName));
75
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MtomMessageEncodingSectionName, typeof(MtomMessageEncodingElement).AssemblyQualifiedName));
76
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.NamedPipeTransportSectionName, typeof(NamedPipeTransportElement).AssemblyQualifiedName));
78
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.PeerTransportSectionName, typeof(PeerTransportElement).AssemblyQualifiedName));
79
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.PnrpPeerResolverSectionName, typeof(PnrpPeerResolverElement).AssemblyQualifiedName));
81
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.PrivacyNoticeSectionName, typeof(PrivacyNoticeElement).AssemblyQualifiedName));
82
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.ReliableSessionSectionName, typeof(ReliableSessionElement).AssemblyQualifiedName));
83
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.SecuritySectionName, typeof(SecurityElement).AssemblyQualifiedName));
84
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.SslStreamSecuritySectionName, typeof(SslStreamSecurityElement).AssemblyQualifiedName));
85
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.TcpTransportSectionName, typeof(TcpTransportElement).AssemblyQualifiedName));
86
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.TextMessageEncodingSectionName, typeof(TextMessageEncodingElement).AssemblyQualifiedName));
87
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.UnrecognizedPolicyAssertionSectionName, typeof(UnrecognizedPolicyAssertionElement).AssemblyQualifiedName));
88
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.UseManagedPresentationSectionName, typeof(UseManagedPresentationElement).AssemblyQualifiedName));
89
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.WindowsStreamSecuritySectionName, typeof(WindowsStreamSecurityElement).AssemblyQualifiedName));
93
this.BindingElementExtensions.
Add
(new ExtensionElement(ConfigurationStrings.UdpTransportSectionName, ConfigurationStrings.UdpTransportElementType));
99
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.BasicHttpBindingCollectionElementName, typeof(BasicHttpBindingCollectionElement).AssemblyQualifiedName));
100
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.CustomBindingCollectionElementName, typeof(CustomBindingCollectionElement).AssemblyQualifiedName));
101
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MsmqIntegrationBindingCollectionElementName, typeof(MsmqIntegrationBindingCollectionElement).AssemblyQualifiedName));
102
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.NetMsmqBindingCollectionElementName, typeof(NetMsmqBindingCollectionElement).AssemblyQualifiedName));
103
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.NetNamedPipeBindingCollectionElementName, typeof(NetNamedPipeBindingCollectionElement).AssemblyQualifiedName));
105
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.NetPeerTcpBindingCollectionElementName, typeof(NetPeerTcpBindingCollectionElement).AssemblyQualifiedName));
107
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.NetTcpBindingCollectionElementName, typeof(NetTcpBindingCollectionElement).AssemblyQualifiedName));
108
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.WSDualHttpBindingCollectionElementName, typeof(WSDualHttpBindingCollectionElement).AssemblyQualifiedName));
109
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.WSFederationHttpBindingCollectionElementName, typeof(WSFederationHttpBindingCollectionElement).AssemblyQualifiedName));
110
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.WS2007FederationHttpBindingCollectionElementName, typeof(WS2007FederationHttpBindingCollectionElement).AssemblyQualifiedName));
111
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.WSHttpBindingCollectionElementName, typeof(WSHttpBindingCollectionElement).AssemblyQualifiedName));
112
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.WS2007HttpBindingCollectionElementName, typeof(WS2007HttpBindingCollectionElement).AssemblyQualifiedName));
113
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MexHttpBindingCollectionElementName, typeof(MexHttpBindingCollectionElement).AssemblyQualifiedName));
114
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MexHttpsBindingCollectionElementName, typeof(MexHttpsBindingCollectionElement).AssemblyQualifiedName));
115
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MexNamedPipeBindingCollectionElementName, typeof(MexNamedPipeBindingCollectionElement).AssemblyQualifiedName));
116
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MexTcpBindingCollectionElementName, typeof(MexTcpBindingCollectionElement).AssemblyQualifiedName));
120
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.UdpBindingCollectionElementName, ConfigurationStrings.UdpBindingCollectionElementType));
121
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.NetHttpBindingCollectionElementName, typeof(NetHttpBindingCollectionElement).AssemblyQualifiedName));
122
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.NetHttpsBindingCollectionElementName, typeof(NetHttpsBindingCollectionElement).AssemblyQualifiedName));
123
this.BindingExtensions.
Add
(new ExtensionElement(ConfigurationStrings.BasicHttpsBindingCollectionElementName, typeof(BasicHttpsBindingCollectionElement).AssemblyQualifiedName));
129
this.EndpointExtensions.
Add
(new ExtensionElement(ConfigurationStrings.MexStandardEndpointCollectionElementName, typeof(ServiceMetadataEndpointCollectionElement).AssemblyQualifiedName));
System\ServiceModel\Configuration\FederatedMessageSecurityOverHttpElement.cs (2)
167
this.TokenRequestParameters.
Add
(new XmlElementElement(element));
172
this.ClaimTypeRequirements.
Add
(element);
System\ServiceModel\Configuration\IssuedTokenClientElement.cs (1)
112
this.IssuerChannelBehaviors.
Add
(element);
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (4)
187
this.AdditionalRequestParameters.
Add
(newElement);
192
this.ClaimTypeRequirements.
Add
(new ClaimTypeElement(c.ClaimType, c.IsOptional));
261
this.AdditionalRequestParameters.
Add
(new XmlElementElement(element));
266
this.ClaimTypeRequirements.
Add
(new ClaimTypeElement(c.ClaimType, c.IsOptional));
System\ServiceModel\Configuration\IssuedTokenServiceElement.cs (2)
126
this.KnownCertificates.
Add
(copy);
137
this.AllowedAudienceUris.
Add
(copy);
System\ServiceModel\Configuration\PolicyImporterElementCollection.cs (10)
34
this.
Add
(new PolicyImporterElement(typeof(PrivacyNoticeBindingElementImporter)));
35
this.
Add
(new PolicyImporterElement(typeof(UseManagedPresentationBindingElementImporter)));
36
this.
Add
(new PolicyImporterElement(typeof(TransactionFlowBindingElementImporter)));
37
this.
Add
(new PolicyImporterElement(typeof(ReliableSessionBindingElementImporter)));
38
this.
Add
(new PolicyImporterElement(typeof(SecurityBindingElementImporter)));
39
this.
Add
(new PolicyImporterElement(typeof(CompositeDuplexBindingElementImporter)));
40
this.
Add
(new PolicyImporterElement(typeof(OneWayBindingElementImporter)));
41
this.
Add
(new PolicyImporterElement(typeof(MessageEncodingBindingElementImporter)));
42
this.
Add
(new PolicyImporterElement(typeof(TransportBindingElementImporter)));
43
this.
Add
(new PolicyImporterElement(ConfigurationStrings.UdpTransportImporterType));
System\ServiceModel\Configuration\ProtocolMappingSection.cs (4)
25
this.ProtocolMappingCollection.
Add
(new ProtocolMappingElement("http", "basicHttpBinding", ConfigurationStrings.DefaultName));
26
this.ProtocolMappingCollection.
Add
(new ProtocolMappingElement("net.tcp", "netTcpBinding", ConfigurationStrings.DefaultName));
27
this.ProtocolMappingCollection.
Add
(new ProtocolMappingElement("net.pipe", "netNamedPipeBinding", ConfigurationStrings.DefaultName));
28
this.ProtocolMappingCollection.
Add
(new ProtocolMappingElement("net.msmq", "netMsmqBinding", ConfigurationStrings.DefaultName));
System\ServiceModel\Configuration\ServiceAuthorizationElement.cs (1)
97
dstAuthorizationPolicies.
Add
(srcAuthorizationPolicies[i]);
System\ServiceModel\Configuration\ServiceModelConfigurationElementCollection.cs (2)
221
this.
Add
(value);
238
this.
Add
(value);
System\ServiceModel\Configuration\StandardBindingCollectionElement.cs (1)
66
this.Bindings.
Add
(bindingConfig);
System\ServiceModel\Configuration\StandardEndpointCollectionElement.cs (1)
66
this.Endpoints.
Add
(endpointConfig);
System\ServiceModel\Configuration\UseRequestHeadersForMetadataAddressElement.cs (1)
32
this.DefaultPorts.
Add
(new DefaultPortElement(DefaultPort));
System\ServiceModel\Configuration\WsdlImporterElementCollection.cs (6)
35
this.
Add
(new WsdlImporterElement(typeof(DataContractSerializerMessageContractImporter)));
36
this.
Add
(new WsdlImporterElement(typeof(XmlSerializerMessageContractImporter)));
37
this.
Add
(new WsdlImporterElement(typeof(MessageEncodingBindingElementImporter)));
38
this.
Add
(new WsdlImporterElement(typeof(TransportBindingElementImporter)));
39
this.
Add
(new WsdlImporterElement(typeof(StandardBindingImporter)));
40
this.
Add
(new WsdlImporterElement(ConfigurationStrings.UdpTransportImporterType));
System\ServiceModel\Configuration\X509RecipientCertificateClientElement.cs (1)
63
dstScopedCertificates.
Add
(srcScopedCertificates[i]);
System\ServiceModel\Configuration\XmlElementElementCollection.cs (2)
46
this.
Add
(xmlElement);
55
this.
Add
(new XmlElementElement((XmlElement)doc.ReadNode(reader)));
System\ServiceModel\Configuration\XPathMessageFilterElementCollection.cs (2)
102
Add
(value);
133
Add
(value);
System\ServiceModel\Description\ConfigWriter.cs (1)
49
channels.
Add
(channelElement);
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\Configuration\FindCriteriaElement.cs (3)
198
this.ContractTypeNames.
Add
(contractTypeNameElement);
203
this.Scopes.
Add
(scopeElement);
208
this.Extensions.
Add
(extensionElement);