29 writes to Binding
System.ServiceModel (15)
System\ServiceModel\ChannelFactory.cs (1)
325this.Endpoint.Binding = binding;
System\ServiceModel\Channels\ContextBindingElementImporter.cs (1)
114context.Endpoint.Binding = binding;
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (1)
160context.Endpoint.Binding = customBinding;
System\ServiceModel\Channels\StandardBindingImporter.cs (1)
78endpoint.Binding = binding;
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
80context.Endpoint.Binding = customBinding;
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (1)
154endpoint.Binding = binding;
System\ServiceModel\Description\ConfigLoader.cs (4)
164serviceEndpoint.Binding = ConfigLoader.LookupBinding(channelElement.Binding, channelElement.BindingConfiguration, ConfigurationHelpers.GetEvaluationContext(channelElement)); 500serviceEndpoint.Binding = binding; 744endpoint.Binding = ConfigLoader.LookupBinding(channelEndpointElementCopy.Binding, channelEndpointElementCopy.BindingConfiguration, ConfigurationHelpers.GetEvaluationContext(channelEndpointElement)); 943endpoint.Binding = binding;
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
491exportedEndpoint.Binding = endpoint.Binding;
System\ServiceModel\Description\WsdlImporter.cs (3)
417newWsdlBindingEndpoint.Binding = CreateBinding(bindingEndpointContext, bindingQName); 465endpoint.Binding = CreateBinding(endpointContext, bindingQName); 469endpoint.Binding = bindingEndpointContext.Endpoint.Binding;
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2658bootstrapEndpoint.Binding = bootstrapBinding;
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\Configuration\WorkflowControlEndpointElement.cs (1)
121result.Binding = binding;
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
234Binding = serviceEndpoint.Binding,
System\ServiceModel\Activities\InternalSendMessage.cs (1)
303result.Binding = this.Endpoint.Binding;
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpTransportImporter.cs (1)
96context.Endpoint.Binding = newEndpointBinding;
System.ServiceModel.Discovery (5)
System\ServiceModel\Discovery\AnnouncementEndpoint.cs (1)
40base.Binding = binding;
System\ServiceModel\Discovery\DiscoveryEndpoint.cs (1)
41base.Binding = binding;
System\ServiceModel\Discovery\DynamicEndpoint.cs (1)
89this.Binding = customBinding;
System\ServiceModel\Discovery\UdpAnnouncementEndpoint.cs (1)
109base.Binding = binding;
System\ServiceModel\Discovery\UdpDiscoveryEndpoint.cs (1)
113base.Binding = binding;
System.ServiceModel.Routing (2)
System\ServiceModel\Routing\ClientFactory.cs (2)
87endpoint.Binding = binding; 103endpoint.Binding = binding;
System.ServiceModel.Web (2)
System\ServiceModel\Web\WebChannelFactory.cs (1)
73this.Endpoint.Binding = GetDefaultBinding(this.Endpoint.Address.Uri);
System\ServiceModel\Web\WebServiceHost.cs (1)
198endpoint.Binding = customBinding;
System.WorkflowServices (1)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
41base.Binding = netNamedPipeContextBinding;
204 references to Binding
System.ServiceModel (148)
System\ServiceModel\Administration\EndpointInfo.cs (2)
36this.binding = null == endpoint.Binding ? new CustomBinding() : new CustomBinding(endpoint.Binding);
System\ServiceModel\ChannelFactory.cs (5)
60if (this.Endpoint != null && this.Endpoint.Binding != null) 62return this.Endpoint.Binding.CloseTimeout; 75if (this.Endpoint != null && this.Endpoint.Binding != null) 77return this.Endpoint.Binding.OpenTimeout; 183if (this.Endpoint.Binding == null)
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (1)
429BindingElementCollection bindingElements = endpointContext.Endpoint.Binding.CreateBindingElements();
System\ServiceModel\Channels\ContextBindingElement.cs (2)
310if (endpoint.Binding != null 315if (endpoint.Binding.GetProperty<IContextBindingElement>(bpc) == null)
System\ServiceModel\Channels\ContextBindingElementImporter.cs (4)
43if (context.Endpoint.Binding == null) 51CustomBinding customBinding = context.Endpoint.Binding as CustomBinding; 112binding.Name = context.Endpoint.Binding.Name; 113binding.Namespace = context.Endpoint.Binding.Namespace;
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
979BindingElementCollection bindingElements = endpointContext.Endpoint.Binding.CreateBindingElements();
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (4)
29if (context.Endpoint.Binding == null) 149Binding binding = context.Endpoint.Binding; 156CustomBinding customBinding = context.Endpoint.Binding as CustomBinding; 159customBinding = new CustomBinding(context.Endpoint.Binding);
System\ServiceModel\Channels\MsmqBindingElementBase.cs (1)
434BindingElementCollection bindingElements = endpointContext.Endpoint.Binding.CreateBindingElements();
System\ServiceModel\Channels\PeerTransportBindingElement.cs (1)
211BindingElementCollection bindingElements = endpointContext.Endpoint.Binding.CreateBindingElements();
System\ServiceModel\Channels\ServiceChannelFactory.cs (2)
124Binding binding = serviceEndpoint.Binding; 134customBinding.CopyTimeouts(serviceEndpoint.Binding);
System\ServiceModel\Channels\StandardBindingImporter.cs (5)
25if (endpointContext.Endpoint.Binding == null) 28if (endpointContext.Endpoint.Binding is CustomBinding) 30BindingElementCollection elements = ((CustomBinding)endpointContext.Endpoint.Binding).Elements; 76binding.Name = endpoint.Binding.Name; 77binding.Namespace = endpoint.Binding.Namespace;
System\ServiceModel\Channels\TransportBindingElement.cs (1)
187BindingElementCollection bindingElements = endpointContext.Endpoint.Binding.CreateBindingElements();
System\ServiceModel\Channels\TransportBindingElementImporter.cs (4)
40if (context.Endpoint.Binding == null) 69Binding binding = context.Endpoint.Binding; 76CustomBinding customBinding = context.Endpoint.Binding as CustomBinding; 79customBinding = new CustomBinding(context.Endpoint.Binding);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (1)
67endpoint.Address.Uri, endpoint.Binding.Name);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (2)
961this.binding = endpoint.Binding.Name; 962this.bindingNamespace = endpoint.Binding.Namespace;
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (3)
403Binding bindingSelected = retrievedEndpoint.Binding; 415this.serviceEndpoint = new ServiceEndpoint(contractDescription, endpoint.Binding, new EndpointAddress(new Uri(address), identity, (AddressHeaderCollection)null)); 418SR.TraceCodeComIntegrationMexChannelBuilderLoaded, endpoint.Contract, endpoint.Binding, address);
System\ServiceModel\ComIntegration\SecurityCookieModeValidator.cs (3)
31throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.RequireNonCookieMode, endpoint.Binding.Name, endpoint.Binding.Namespace))); 56ICollection<BindingElement> bindingElements = endpoint.Binding.CreateBindingElements();
System\ServiceModel\DeliveryRequirementsAttribute.cs (2)
88EnsureQueuedDeliveryRequirements(name, endpoint.Binding); 89EnsureOrderedDeliveryRequirements(name, endpoint.Binding);
System\ServiceModel\Description\ClientCredentials.cs (4)
297if (InfoCardHelper.IsInfocardRequired(serviceEndpoint.Binding, this, this.CreateSecurityTokenManager(), EndpointAddress.AnonymousAddress, out dummyPolicyElements, out dummyRelyingPartyIssuer)) 299behavior.InteractiveChannelInitializers.Add(new InfocardInteractiveChannelInitializer(this, serviceEndpoint.Binding)); 311if (serviceEndpoint.Binding == null) 317if (serviceEndpoint.Binding.CreateBindingElements().Find<SecurityBindingElement>() == null)
System\ServiceModel\Description\ConfigLoader.cs (6)
162if (serviceEndpoint.Binding == null && !string.IsNullOrEmpty(channelElement.Binding)) 930binding = endpoint.Binding; 981Fx.Assert(endpoint.Binding != null, "The endpoint must be set by the caller."); 984Uri via = ServiceHost.MakeAbsoluteUri(serviceEndpointElement.Address, endpoint.Binding, host.InternalBaseAddresses); 992Fx.Assert(endpoint.Binding != null, "The endpoint must be set by the caller."); 995endpoint.ListenUri = ServiceHost.MakeAbsoluteUri(serviceEndpointElement.ListenUri, endpoint.Binding, host.InternalBaseAddresses);
System\ServiceModel\Description\ConfigWriter.cs (1)
38BindingDictionaryValue bindingDV = CreateBindingConfig(endpoint.Binding);
System\ServiceModel\Description\DispatcherBuilder.cs (21)
25MsmqIntegrationBinding binding = endpoint.Binding as MsmqIntegrationBinding; 33CustomBinding customBinding = endpoint.Binding as CustomBinding; 90IdentityVerifier identityVerifier = serviceEndpoint.Binding.GetProperty<IdentityVerifier>(parameters); 246Binding originalBinding = stuff.Endpoints[0].Binding; 545listenUri = serviceHost.GetVia(endpoint.Binding.Scheme, ServiceHost.EmptyUri); 549AspNetEnvironment.Current.ProcessNotMatchedEndpointAddress(listenUri, endpoint.Binding.Name); 550throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxEndpointNoMatchingScheme, endpoint.Binding.Scheme, endpoint.Binding.Name, serviceHost.GetBaseAddressSchemes()))); 661IReceiveContextSettings receiveContextSettings = endpoint.Binding.GetProperty<IReceiveContextSettings>(new BindingParameterCollection()); 690Binding binding = stuff.Value.Endpoints[0].Binding; 712if (endpoint.Binding != binding) 1209behavior.ManualAddressing = this.IsManualAddressing(serviceEndpoint.Binding); 1210behavior.EnableFaults = !this.IsMulticast(serviceEndpoint.Binding); 1213behavior.CallbackDispatchRuntime.ChannelDispatcher.MessageVersion = serviceEndpoint.Binding.MessageVersion; 1218IBindingRuntimePreferences runtimePreferences = serviceEndpoint.Binding as IBindingRuntimePreferences; 1226endpointDispatcher.ChannelDispatcher.ManualAddressing = this.IsManualAddressing(serviceEndpoint.Binding); 1227endpointDispatcher.ChannelDispatcher.EnableFaults = !this.IsMulticast(serviceEndpoint.Binding); 1228endpointDispatcher.ChannelDispatcher.MessageVersion = serviceEndpoint.Binding.MessageVersion; 1267behavior.AddTransactionFlowProperties = UsesTransactionFlowProperties(serviceEndpoint.Binding.CreateBindingElements(), 1273serviceEndpoint.Binding.CreateBindingElements(), serviceEndpoint.Contract); 1325BindingElementCollection elements = endpoint.Binding.CreateBindingElements();
System\ServiceModel\Description\MetadataExchangeClient.cs (7)
49this.maxMessageSize = GetMaxMessageSize(this.factory.Endpoint.Binding); 84this.maxMessageSize = GetMaxMessageSize(this.factory.Endpoint.Binding); 93this.maxMessageSize = GetMaxMessageSize(this.factory.Endpoint.Binding); 176BindingElementCollection bindingElementCollection = this.factory.Endpoint.Binding.CreateBindingElements(); 232this.maxMessageSize = GetMaxMessageSize(this.factory.Endpoint.Binding); 1010messageVersion = channelFactory.Endpoint.Binding.MessageVersion; 1064messageVersion = channelFactory.Endpoint.Binding.MessageVersion;
System\ServiceModel\Description\MetadataExporter.cs (2)
56foreach (IPolicyExportExtension exporter in endpoint.Binding.CreateBindingElements().FindAll<IPolicyExportExtension>()) 89this.bindingElements = endpoint.Binding.CreateBindingElements();
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (2)
145bool isSecureConversationBinding = IsSecureConversationBinding(endpoint.Binding); 149SecurityStandardsManager standardsManager = GetConfiguredSecurityStandardsManager(endpoint.Binding);
System\ServiceModel\Description\ServiceEndpoint.cs (3)
109return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name); 191if (Binding == null) 200this.Binding.EnsureInvariants(this.Contract.Name);
System\ServiceModel\Description\ServiceEndpointCollection.cs (4)
69endpoint.Binding.Name == bindingName.Name && 70endpoint.Binding.Namespace == bindingName.Namespace) 94endpoint.Binding.Name == bindingName.Name && 95endpoint.Binding.Namespace == bindingName.Namespace)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
491exportedEndpoint.Binding = endpoint.Binding;
System\ServiceModel\Description\TransactedBatchingBehavior.cs (1)
41BindingElementCollection bindingElements = serviceEndpoint.Binding.CreateBindingElements();
System\ServiceModel\Description\WsdlEndpointConversionContext.cs (1)
70foreach (IWsdlExportExtension extension in endpoint.Binding.CreateBindingElements().FindAll<IWsdlExportExtension>())
System\ServiceModel\Description\WsdlExporter.cs (12)
147if (endpoint.Binding == null) 194WsdlNS.MessageBinding wsdlMessageBinding = CreateWsdlMessageBinding(message, endpoint.Binding, wsdlOperationBinding); 200WsdlNS.FaultBinding wsdlFaultBinding = CreateWsdlFaultBinding(fault, endpoint.Binding, wsdlOperationBinding); 219exportedBindings.Add(new BindingDictionaryKey(endpoint.Contract, endpoint.Binding), endpointContext); 223endpointContext = new WsdlEndpointConversionContext(exportedBindings[new BindingDictionaryKey(endpoint.Contract, endpoint.Binding)], endpoint, wsdlPort); 229Errors.Add(new MetadataConversionError(SR.GetString(SR.WarnDuplicateBindingQNameNameOnExport, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name), true /*isWarning*/)); 314bool printWsdlDeclaration = IsWsdlExportable(endpoint.Binding); 316if (!exportedBindings.TryGetValue(new BindingDictionaryKey(endpoint.Contract, endpoint.Binding), out bindingConversionContext)) 1050string bindingWsdlNamespace = endpoint.Binding.Namespace; 1220endpoint.Binding.Name, 1221endpoint.Binding.Namespace);
System\ServiceModel\Description\WsdlImporter.cs (3)
157bindings.Add(importedBindingContext.Endpoint.Binding); 182return ImportWsdlBinding(wsdlBinding, ErrorBehavior.RethrowExceptions).Endpoint.Binding; 469endpoint.Binding = bindingEndpointContext.Endpoint.Binding;
System\ServiceModel\Dispatcher\PartialTrustValidationBehavior.cs (2)
36Binding binding = endpoint.Binding; 39new BindingValidator(endpoint.Binding).Validate();
System\ServiceModel\Dispatcher\PeerValidationBehavior.cs (2)
50Binding binding = serviceEndpoint.Binding; 82ValidateHelper(endpoint.Contract, endpoint.Binding);
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (13)
118Binding binding = new ValidationBinding(serviceEndpoint.Binding); 150Binding binding = new ValidationBinding(endpoint.Binding); 302ValidateWindowsIdentityCapability(endpoint.Binding, endpoint.Contract, operation); 378ICollection<BindingElement> bindingElements = endpoint.Binding.CreateBindingElements(); 391SR.GetString(SR.CannotPerformS4UImpersonationOnPlatform, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name, endpoint.Contract.Namespace))); 933BindingElementCollection elements = endpoint.Binding.CreateBindingElements(); 953throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.NoClientCertificate, endpoint.Binding.Name, endpoint.Binding.Namespace))); 992if (ValidatorUtils.IsStandardBinding(endpoint.Binding)) 1001ICollection<BindingElement> bindingElements = endpoint.Binding.CreateBindingElements(); 1036throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotPerformImpersonationOnUsernameToken, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name, endpoint.Contract.Namespace)));
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (3)
46CustomBinding binding = new CustomBinding(endpoint.Binding); 254CustomBinding binding = new CustomBinding(endpoint.Binding); 360BindingElementCollection bindingElements = endpoint.Binding.CreateBindingElements();
System\ServiceModel\MsmqIntegration\MsmqIntegrationValidationBehavior.cs (3)
35Binding binding = serviceEndpoint.Binding; 70if (NeedValidateBinding(endpoint.Binding)) 72ValidateHelper(endpoint.Contract, endpoint.Binding, description);
System\ServiceModel\Security\WSSecurityPolicy.cs (3)
3035parameters.IssuerBinding = endpoint.Binding; 3041endpointInfo.IssuerBinding = endpoint.Binding; 3050SecurityBindingElement sbe = endpoint.Binding.CreateBindingElements().Find<SecurityBindingElement>();
System\ServiceModel\Security\WSTrustChannel.cs (3)
356&& _factory.Endpoint.Binding != null 357&& _factory.Endpoint.Binding.MessageVersion != null) 359_messageVersion = _factory.Endpoint.Binding.MessageVersion;
System\ServiceModel\Security\WSTrustChannelFactory.cs (1)
450BindingElementCollection elements = Endpoint.Binding.CreateBindingElements();
System\ServiceModel\ServiceConfiguration.cs (1)
176if (endpoint.Binding == null)
System\ServiceModel\ServiceHost.cs (5)
409if (endpoint.Binding == null) 431if (endpoint.Binding == null) 435Uri absoluteUri = MakeAbsoluteUri(new Uri(relativeAddress, UriKind.Relative), endpoint.Binding); 1001if (serviceEndpoint.Binding != null && 1006HttpTransportBindingElement httpTransportBindingElement = serviceEndpoint.Binding.CreateBindingElements().Find<HttpTransportBindingElement>();
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (1)
67if (IsSchemeHttpOrHttps(endpoint.Binding.Scheme))
System.ServiceModel.Activities (12)
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
234Binding = serviceEndpoint.Binding,
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (2)
101ICorrelationDataSource source = endpoint.Binding.GetProperty<ICorrelationDataSource>(new BindingParameterCollection()); 112ICorrelationDataSource source = endpoint.Binding.GetProperty<ICorrelationDataSource>(new BindingParameterCollection());
System\ServiceModel\Activities\InternalSendMessage.cs (4)
341if (CorrelationQueryBehavior.BindingHasDefaultQueries(serviceEndpoint.Binding) 396BindingElementCollection elementCollection = serviceEndpoint.Binding.CreateBindingElements(); 412this.messageVersion = (endpoint != null && endpoint.Binding != null) ? endpoint.Binding.MessageVersion : null;
System\ServiceModel\Activities\WorkflowControlClient.cs (2)
76: base(workflowEndpoint.Binding, workflowEndpoint.Address) 94foreach (BindingElement bindingElement in base.Endpoint.Binding.CreateBindingElements())
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
617else if (CorrelationQueryBehavior.BindingHasDefaultQueries(serviceEndpoint.Binding))
System\ServiceModel\Activities\WorkflowUpdateableControlClient.cs (2)
81: base(workflowEndpoint.Binding, workflowEndpoint.Address) 100foreach (BindingElement bindingElement in base.Endpoint.Binding.CreateBindingElements())
System.ServiceModel.Channels (6)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
248MessageVersion messageVersion = context.Endpoint.Binding.GetProperty<MessageVersion>(new BindingParameterCollection());
System\ServiceModel\Channels\UdpTransportImporter.cs (5)
69if (context.Endpoint.Binding == null) 74BindingElementCollection bindingElements = context.Endpoint.Binding.CreateBindingElements(); 81if (context.Endpoint.Binding is CustomBinding) 94newEndpointBinding.Name = context.Endpoint.Binding.Name; 95newEndpointBinding.Namespace = context.Endpoint.Binding.Namespace;
System.ServiceModel.Discovery (5)
System\ServiceModel\Discovery\AnnouncementClient.cs (2)
508if (announcementEndpoint.Binding != null && announcementEndpoint.Binding.MessageVersion.Addressing == AddressingVersion.None)
System\ServiceModel\Discovery\Configuration\DynamicEndpointElement.cs (1)
100if (!dynamicEndpoint.ValidateAndInsertDiscoveryClientBindingElement(dynamicEndpoint.Binding))
System\ServiceModel\Discovery\DiscoveryClient.cs (2)
751if (discoveryEndpoint.Binding != null && discoveryEndpoint.Binding.MessageVersion.Addressing == AddressingVersion.None)
System.ServiceModel.Routing (12)
System\ServiceModel\Routing\ClientFactory.cs (6)
52: base(endpointTrait.Endpoint.Binding, endpointTrait.Endpoint.Address) 58: base(new InstanceContext(callbackInstance), endpointTrait.Endpoint.Binding, endpointTrait.Endpoint.Address) 77CustomBinding binding = endpoint.Binding as CustomBinding; 80binding = new CustomBinding(endpoint.Binding); 94CustomBinding binding = endpoint.Binding as CustomBinding; 97binding = new CustomBinding(endpoint.Binding);
System\ServiceModel\Routing\RoutingBehavior.cs (4)
162IReceiveContextSettings receiveContextSettings = endpoint.Binding.GetProperty<IReceiveContextSettings>(bindingParameters); 190if (RoutingUtilities.IsTransactedReceive(endpoint.Binding, bindingParams)) 204IReceiveContextSettings rcSettings = endpoint.Binding.GetProperty<IReceiveContextSettings>(bindingParams); 247channelExtension.DoneReceiving(this.Endpoint.Binding.CloseTimeout);
System\ServiceModel\Routing\RoutingEndpointTrait.cs (1)
76return this.Endpoint.Name + ";" + this.Endpoint.Binding.Name + ";" + this.Endpoint.Address.Uri.ToString();
System\ServiceModel\Routing\SoapProcessingBehavior.cs (1)
82this.sendMessageVersion = endpoint.Binding.MessageVersion;
System.ServiceModel.Web (19)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
71WebMessageEncodingBindingElement webEncodingBindingElement = this.serviceEndpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>();
System\ServiceModel\Description\WebHttpBehavior.cs (5)
114WebMessageEncodingBindingElement webEncodingBindingElement = endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>(); 149WebMessageEncodingBindingElement webEncodingBindingElement = endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>(); 152ISecurityCapabilities securityCapabilities = endpoint.Binding.GetProperty<ISecurityCapabilities>(new BindingParameterCollection()); 453Binding binding = serviceEndpoint.Binding; 656WebMessageEncodingBindingElement webEncoding = (useJson) ? endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>() : null;
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (2)
271HttpTransportBindingElement existingTransportBindingElement = endpoint.Binding.CreateBindingElements().Find<HttpTransportBindingElement>(); 375WebMessageEncodingBindingElement webMEBE = endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>();
System\ServiceModel\Description\WebServiceEndpoint.cs (1)
88WebHttpBinding webHttpBinding = this.Binding as WebHttpBinding;
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (1)
54this.ConfigureBinding(serviceEndpoint.Binding, baseAddress.Scheme, supportedSchemes, AspNetEnvironment.Enabled);
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
166WebMessageEncodingBindingElement encodingElement = endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>() as WebMessageEncodingBindingElement;
System\ServiceModel\Web\WebChannelFactory.cs (1)
71if (this.Endpoint.Binding == null && this.Endpoint.Address != null)
System\ServiceModel\Web\WebServiceHost.cs (5)
136WebHttpBinding binding = automaticEndpoint.Binding as WebHttpBinding; 171Binding binding = endpoint.Binding; 228if (serviceEndpoint.Binding != null && serviceEndpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>() != null) 348WebHttpBinding whb = serviceEndpoint.Binding as WebHttpBinding;
System\ServiceModel\WebScriptServiceHost.cs (2)
33if (endpoint.Binding != null && endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>() != null)
System.WorkflowServices (1)
System\Workflow\Runtime\Hosting\ChannelManager.cs (1)
299ISecurityCapabilities securityCapabilities = channelFactory.Endpoint.Binding.GetProperty<ISecurityCapabilities>(new BindingParameterCollection());