26 references to State
System.ServiceModel (26)
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
187exporter.State[typeof(SupportedAddressingMode).Name] = SupportedAddressingMode.NonAnonymous;
System\ServiceModel\Channels\SecurityBindingElement.cs (4)
2057exporter.State[SecurityPolicyStrings.SecureConversationBootstrapBindingElementsBelowSecurityKey] = bindingElementsBelowSecurity; 2081exporter.State.Remove(SecurityPolicyStrings.SecureConversationBootstrapBindingElementsBelowSecurityKey); 2131exporter.State[SecurityPolicyStrings.SecureConversationBootstrapBindingElementsBelowSecurityKey] = bindingElementsBelowSecurity; 2172exporter.State.Remove(SecurityPolicyStrings.SecureConversationBootstrapBindingElementsBelowSecurityKey);
System\ServiceModel\Description\MessageContractExporter.cs (13)
77if (!exporter.State.TryGetValue(typeof(MessageExportContext), out messageExportContext)) 80exporter.State[typeof(MessageExportContext)] = messageExportContext; 247if (!exporter.State.TryGetValue(typeof(XsdDataContractExporter), out dataContractExporter)) 250exporter.State.Add(typeof(XsdDataContractExporter), dataContractExporter); 657this.exportedMessages = (MessageExportContext)exporter.State[typeof(MessageExportContext)]; 1247if (!exporter.State.TryGetValue(typeof(XmlSerializerOperationBehavior.Reflector), out reflector)) 1250exporter.State.Add(typeof(XmlSerializerOperationBehavior.Reflector), reflector); 1261if (!exporter.State.TryGetValue(typeof(SoapSchemaExporter), out soapExporter)) 1264exporter.State.Add(typeof(SoapSchemaExporter), soapExporter); 1275if (!exporter.State.TryGetValue(typeof(XmlSchemaExporter), out xmlExporter)) 1278exporter.State.Add(typeof(XmlSchemaExporter), xmlExporter); 1289if (!exporter.State.TryGetValue(typeof(XmlSchemas), out schemas)) 1295exporter.State.Add(typeof(XmlSchemas), schemas);
System\ServiceModel\Description\SoapHelper.cs (3)
163if (!exporter.State.TryGetValue(SoapVersionStateKey, out versions)) 166exporter.State[SoapVersionStateKey] = versions; 176if (exporter.State.TryGetValue(SoapVersionStateKey, out versions))
System\ServiceModel\Description\WsdlExporter.cs (3)
660if (exporter.State.ContainsKey(key) && exporter.State[key] is SupportedAddressingMode) 662mode = (SupportedAddressingMode)exporter.State[key];
System\ServiceModel\Security\WSSecurityPolicy.cs (2)
2643if (exporter.State.ContainsKey(SecurityPolicyStrings.SecureConversationBootstrapBindingElementsBelowSecurityKey)) 2645BindingElementCollection bindingElementsBelowSecurity = exporter.State[SecurityPolicyStrings.SecureConversationBootstrapBindingElementsBelowSecurityKey] as BindingElementCollection;