100 references to Binding
System.ServiceModel (96)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (5)
238forward.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 306base.ConfigureProtocolFactory(forward, credentialsManager, isForService, issuerBindingContext, context.Binding); 335reverse.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 348base.ConfigureProtocolFactory(reverse, credentialsManager, !isForService, issuerBindingContext, context.Binding); 427MessageEncodingBindingElement encoding = context.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
188TransportBindingElement transport = context.Binding.Elements.Find<TransportBindingElement>();
System\ServiceModel\Channels\ChannelBuilder.cs (1)
25this.binding = new CustomBinding(context.Binding, context.RemainingBindingElements);
System\ServiceModel\Channels\ContextBindingElement.cs (10)
328if (context.Binding != null 330&& !"http".Equals(context.Binding.Scheme, StringComparison.OrdinalIgnoreCase) 331&& !"https".Equals(context.Binding.Scheme, StringComparison.OrdinalIgnoreCase)) 337context.Binding.Scheme, context.Binding.Namespace, context.Binding.Name))); 343if (context.Binding != null && this.contextExchangeMechanism == ContextExchangeMechanism.HttpCookie) 345foreach (BindingElement bindingElement in context.Binding.Elements) 354context.Binding.Namespace, context.Binding.Name)));
System\ServiceModel\Channels\ContextChannelFactory.cs (1)
21: base(context == null ? null : context.Binding, context == null ? null : context.BuildInnerChannelFactory<TChannel>())
System\ServiceModel\Channels\ContextChannelListener.cs (1)
20: base(context == null ? null : context.Binding, context == null ? null : context.BuildInnerChannelListener<TChannel>())
System\ServiceModel\Channels\HttpCookieContainerBindingElement.cs (2)
41if (!context.Binding.Scheme.Equals("http", StringComparison.OrdinalIgnoreCase) && 42!context.Binding.Scheme.Equals("https", StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
48TransportSecurityHelpers.GetCertificateTokenAuthenticator(tokenManager, context.Binding.Scheme,
System\ServiceModel\Channels\HttpTransportBindingElement.cs (3)
582throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("TChannel", SR.GetString(SR.CouldnTCreateChannelForChannelType2, context.Binding.Name, typeof(TChannel))); 653"TChannel", SR.GetString(SR.CouldnTCreateChannelForChannelType2, context.Binding.Name, typeof(TChannel))); 676string bindingName = context.Binding.Name;
System\ServiceModel\Channels\InternalDuplexChannelFactory.cs (1)
22: base(context.Binding, innerChannelFactory)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (1)
15: base(context.Binding, context.Clone().BuildInnerChannelListener<IInputChannel>())
System\ServiceModel\Channels\OneWayBindingElement.cs (2)
122new InvalidOperationException(SR.GetString(SR.OneWayInternalTypeNotSupported, context.Binding.Name))); 158new InvalidOperationException(SR.GetString(SR.OneWayInternalTypeNotSupported, context.Binding.Name)));
System\ServiceModel\Channels\OneWayChannelFactory.cs (3)
80: base(context.Binding, context.BuildInnerChannelFactory<IRequestChannel>()) 259: base(context.Binding, context.BuildInnerChannelFactory<IDuplexChannel>()) 365: base(context.Binding, context.BuildInnerChannelFactory<IDuplexSessionChannel>())
System\ServiceModel\Channels\OneWayChannelListener.cs (3)
26: base(context.Binding, context.BuildInnerChannelListener<IReplyChannel>()) 494: base(context.Binding, context.BuildInnerChannelListener<IDuplexChannel>()) 658: base(true, context.Binding, context.BuildInnerChannelListener<IDuplexSessionChannel>())
System\ServiceModel\Channels\PeerChannelFactory.cs (1)
46BinaryMessageEncodingBindingElement encoder = context.Binding.Elements.Find<BinaryMessageEncodingBindingElement>();
System\ServiceModel\Channels\PeerChannelListener.cs (1)
43BinaryMessageEncodingBindingElement encoder = context.Binding.Elements.Find<BinaryMessageEncodingBindingElement>();
System\ServiceModel\Channels\PeerTransportBindingElement.cs (1)
341new InvalidOperationException(SR.GetString(SR.PeerResolverBindingElementRequired, context.Binding.Name)));
System\ServiceModel\Channels\ReliableChannelListener.cs (9)
554: base(binding, context.Binding) 1291this.FaultHelper = new SendFaultHelper(context.Binding.SendTimeout, context.Binding.CloseTimeout); 1329this.FaultHelper = new ReplyFaultHelper(context.Binding.SendTimeout, context.Binding.CloseTimeout); 1583this.FaultHelper = new SendFaultHelper(context.Binding.SendTimeout, context.Binding.CloseTimeout); 1621this.FaultHelper = new ReplyFaultHelper(context.Binding.SendTimeout, context.Binding.CloseTimeout);
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (8)
323this, context.BuildInnerChannelFactory<IRequestSessionChannel>(), context.Binding); 329this, context.BuildInnerChannelFactory<IRequestChannel>(), context.Binding); 335this, context.BuildInnerChannelFactory<IDuplexSessionChannel>(), context.Binding); 341this, context.BuildInnerChannelFactory<IDuplexChannel>(), context.Binding); 350this, context.BuildInnerChannelFactory<IDuplexSessionChannel>(), context.Binding); 356this, context.BuildInnerChannelFactory<IDuplexChannel>(), context.Binding); 365this, context.BuildInnerChannelFactory<IRequestSessionChannel>(), context.Binding); 371this, context.BuildInnerChannelFactory<IRequestChannel>(), context.Binding);
System\ServiceModel\Channels\ReplyAdapterChannelListener.cs (1)
22: base(context.Binding, context.BuildInnerChannelListener<TInnerChannel>())
System\ServiceModel\Channels\SecurityBindingElement.cs (4)
421binding.OpenTimeout = issuerBindingContext.Binding.OpenTimeout; 422binding.CloseTimeout = issuerBindingContext.Binding.CloseTimeout; 423binding.SendTimeout = issuerBindingContext.Binding.SendTimeout; 424binding.ReceiveTimeout = issuerBindingContext.Binding.ReceiveTimeout;
System\ServiceModel\Channels\SecurityChannelFactory.cs (2)
51: base(context.Binding, innerChannelFactory) 54this.messageVersion = context.Binding.MessageVersion;
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
34: base(true, context.Binding)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (6)
71return new SslStreamSecurityUpgradeProvider(context.Binding, tokenManager, bindingElement.RequireClientCertificate, context.Binding.Scheme, bindingElement.IdentityVerifier, bindingElement.SslProtocols); 92serverCertRequirement.TransportScheme = context.Binding.Scheme; 102TransportSecurityHelpers.GetCertificateTokenAuthenticator(tokenManager, context.Binding.Scheme, listenUri); 104return new SslStreamSecurityUpgradeProvider(context.Binding, tokenProvider, bindingElement.RequireClientCertificate, 105certificateAuthenticator, context.Binding.Scheme, bindingElement.IdentityVerifier, bindingElement.SslProtocols);
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (11)
177protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 178base.ConfigureProtocolFactory(protocolFactory, credentialsManager, isForService, issuerBindingContext, context.Binding); 231sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, false)); 232base.ConfigureProtocolFactory(sessionFactory, credentialsManager, false, issuerBindingContext, context.Binding); 259protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, false)); 260base.ConfigureProtocolFactory(protocolFactory, credentialsManager, false, issuerBindingContext, context.Binding); 321sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, true)); 322base.ConfigureProtocolFactory(sessionFactory, credentialsManager, true, issuerBindingContext, context.Binding); 358protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, true)); 360base.ConfigureProtocolFactory(protocolFactory, credentialsManager, true, issuerBindingContext, context.Binding); 386MessageEncodingBindingElement encoding = context.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\TransactionChannelFactory.cs (1)
26: base(context.Binding, context.BuildInnerChannelFactory<TChannel>())
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
260TransactionChannelListener<TChannel> listener = new TransactionChannelListener<TChannel>(this.transactionProtocol, context.Binding, dictionary, innerListener);
System\ServiceModel\Channels\TransportBindingElement.cs (1)
158MessageEncodingBindingElement messageEncoderBindingElement = context.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\TransportChannelFactory.cs (1)
32: base(context.Binding)
System\ServiceModel\Channels\TransportChannelListener.cs (1)
64: base(context.Binding)
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (6)
74base.ConfigureProtocolFactory(protocolFactory, credentialsManager, isForService, issuerBindingContext, context.Binding); 121base.ConfigureProtocolFactory(sessionFactory, credentialsManager, false, issuerBindingContext, context.Binding); 146base.ConfigureProtocolFactory(protocolFactory, credentialsManager, false, issuerBindingContext, context.Binding); 208base.ConfigureProtocolFactory(sessionFactory, credentialsManager, true, issuerBindingContext, context.Binding); 242base.ConfigureProtocolFactory(protocolFactory, credentialsManager, true, issuerBindingContext, context.Binding); 276MessageEncodingBindingElement encoding = context.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
36: base(context.Binding) 40this.scheme = context.Binding.Scheme;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1062SecurityBindingElement securityBindingElement = this.IssuerBindingContext.Binding.Elements.Find<SecurityBindingElement>();
System\ServiceModel\Security\SecurityUtils.cs (2)
1394return ((context.Binding.Elements.Find<CompositeDuplexBindingElement>() != null) 1395|| (context.Binding.Elements.Find<InternalDuplexBindingElement>() != null));
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
20: base(context.Binding)
System\ServiceModel\Channels\UdpChannelListener.cs (1)
36: base(context.Binding)
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryClientBindingElement.cs (1)
112if (context.Binding.Elements.IndexOf(this) != 0)
System.ServiceModel.Routing (1)
System\ServiceModel\Channels\SynchronousSendBindingElement.cs (1)
68return new SynchronousChannelFactory<TChannel>(context.Binding, innerFactory);