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\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)));