113 references to Find
SMSvcHost (1)
System\ServiceModel\Activation\SharingService.cs (1)
46NamedPipeTransportBindingElement namedPipeBindingElement = customBinding.Elements.Find<NamedPipeTransportBindingElement>();
System.ServiceModel (95)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
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 (3)
43if (this.binding.Elements.Find<ChannelDemuxerBindingElement>() == null) 63if (elements.Find<ChannelDemuxerBindingElement>() == null) 66TransportBindingElement transport = elements.Find<TransportBindingElement>();
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (1)
418MessageEncodingBindingElement encodingBindingElement = bindingElements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\ContextBindingElementImporter.cs (1)
55unrecognized = customBinding.Elements.Find<UnrecognizedAssertionsBindingElement>();
System\ServiceModel\Channels\CustomBinding.cs (1)
159TransportBindingElement transport = bindingElements.Find<TransportBindingElement>();
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
968MessageEncodingBindingElement encodingBindingElement = bindingElements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (3)
156if (context.RemainingBindingElements.Find<CompositeDuplexBindingElement>() == null) 181if (context.RemainingBindingElements.Find<CompositeDuplexBindingElement>() == null) 206if (binding.Elements.Find<CompositeDuplexBindingElement>() == null)
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (2)
35MessageEncodingBindingElement messageEncodingBindingElement = bindingElements.Find<MessageEncodingBindingElement>(); 142ConvertToCustomBinding(context).Elements.Find<MessageEncodingBindingElement>().MessageVersion
System\ServiceModel\Channels\MsmqBindingElementBase.cs (1)
423MessageEncodingBindingElement encodingBindingElement = bindingElements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\OneWayBindingElement.cs (1)
315OneWayBindingElement oneWay = context.BindingElements.Find<OneWayBindingElement>();
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)
200MessageEncodingBindingElement encodingBindingElement = bindingElements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (1)
84context.BindingElements.Find<PrivacyNoticeBindingElement>();
System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (1)
30policyContext.BindingElements.Find<PrivacyNoticeBindingElement>();
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (3)
555SecurityBindingElement element = context.RemainingBindingElements.Find<SecurityBindingElement>(); 565TransportBindingElement transportElement = context.RemainingBindingElements.Find<TransportBindingElement>(); 613ReliableSessionBindingElement settings = bindingElements.Find<ReliableSessionBindingElement>();
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
82ReliableSessionBindingElement settings = context.BindingElements.Find<ReliableSessionBindingElement>();
System\ServiceModel\Channels\SecurityBindingElement.cs (6)
399TransportBindingElement transport = issuerBindingContext.RemainingBindingElements.Find<TransportBindingElement>(); 564PrivacyNoticeBindingElement privacyElement = binding.CreateBindingElements().Find<PrivacyNoticeBindingElement>(); 644transportBindingElement = context.RemainingBindingElements.Find<TransportBindingElement>(); 732transportBindingElement = context.RemainingBindingElements.Find<TransportBindingElement>(); 2259MessageEncodingBindingElement messageEncoderBindingElement = policyContext.BindingElements.Find<MessageEncodingBindingElement>(); 2333bindingParameters.Add(ChannelProtectionRequirements.CreateFromContract(policyContext.Contract, policyContext.BindingElements.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false));
System\ServiceModel\Channels\ServiceChannelFactory.cs (2)
151binding.CreateBindingElements().Find<TransportBindingElement>().ManualAddressing) 173binding.CreateBindingElements().Find<TransportBindingElement>().ManualAddressing)
System\ServiceModel\Channels\StandardBindingImporter.cs (1)
33TransportBindingElement transport = elements.Find<TransportBindingElement>();
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
386MessageEncodingBindingElement encoding = context.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
413TransactionFlowBindingElement bindingElement = context.BindingElements.Find<TransactionFlowBindingElement>();
System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (1)
198TransactionFlowBindingElement settings = context.BindingElements.Find<TransactionFlowBindingElement>();
System\ServiceModel\Channels\TransportBindingElement.cs (1)
158MessageEncodingBindingElement messageEncoderBindingElement = context.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
46TransportBindingElement transportBindingElement = GetBindingElements(context).Find<TransportBindingElement>();
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (2)
276MessageEncodingBindingElement encoding = context.Binding.Elements.Find<MessageEncodingBindingElement>(); 304if (policyContext.BindingElements.Find<ITransportTokenAssertionProvider>() == null)
System\ServiceModel\Channels\UseManagedPresentationBindingElement.cs (1)
40context.BindingElements.Find<UseManagedPresentationBindingElement>();
System\ServiceModel\Channels\UseManagedPresentationBindingElementImporter.cs (1)
30policyContext.BindingElements.Find<UseManagedPresentationBindingElement>();
System\ServiceModel\Description\ClientCredentials.cs (1)
317if (serviceEndpoint.Binding.CreateBindingElements().Find<SecurityBindingElement>() == null)
System\ServiceModel\Description\DispatcherBuilder.cs (4)
36MsmqIntegrationBindingElement element = customBinding.Elements.Find<MsmqIntegrationBindingElement>(); 1233TransportBindingElement transport = binding.CreateBindingElements().Find<TransportBindingElement>(); 1278TransactionFlowBindingElement txBE = bindingElementCollection.Find<TransactionFlowBindingElement>(); 1348MessageEncodingBindingElement encoding = elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Description\MetadataExchangeClient.cs (2)
179MessageEncodingBindingElement bindingElement = bindingElementCollection.Find<MessageEncodingBindingElement>(); 435TransportBindingElement bindingElement = bindingElementCollection.Find<TransportBindingElement>();
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (2)
194SecurityBindingElement securityBindingElement = binding.CreateBindingElements().Find<SecurityBindingElement>(); 216SecurityBindingElement securityBindingElement = binding.CreateBindingElements().Find<SecurityBindingElement>();
System\ServiceModel\Description\ServiceDebugBehavior.cs (4)
89TextMessageEncodingBindingElement textMessageEncodingBindingElement = customBinding.Elements.Find<TextMessageEncodingBindingElement>(); 95HttpTransportBindingElement httpTransportBindingElement = customBinding.Elements.Find<HttpTransportBindingElement>(); 118TextMessageEncodingBindingElement textMessageEncodingBindingElement = customBinding.Elements.Find<TextMessageEncodingBindingElement>(); 124HttpsTransportBindingElement httpsTransportBindingElement = customBinding.Elements.Find<HttpsTransportBindingElement>();
System\ServiceModel\Description\ServiceMetadataBehavior.cs (4)
94TextMessageEncodingBindingElement textMessageEncodingBindingElement = customBinding.Elements.Find<TextMessageEncodingBindingElement>(); 100HttpTransportBindingElement httpTransportBindingElement = customBinding.Elements.Find<HttpTransportBindingElement>(); 123TextMessageEncodingBindingElement textMessageEncodingBindingElement = customBinding.Elements.Find<TextMessageEncodingBindingElement>(); 129HttpsTransportBindingElement httpsTransportBindingElement = customBinding.Elements.Find<HttpsTransportBindingElement>();
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (4)
253TransportBindingElement element = elements.Find<TransportBindingElement>(); 892TransportBindingElement transport = binding.CreateBindingElements().Find<TransportBindingElement>(); 935SecurityBindingElement security = elements.Find<SecurityBindingElement>(); 936CompositeDuplexBindingElement duplex = elements.Find<CompositeDuplexBindingElement>();
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (4)
48binding.Elements.Find<TransactionFlowBindingElement>(); 255TransactionFlowBindingElement txFlowBindingElement = binding.Elements.Find<TransactionFlowBindingElement>(); 362if (bindingElements.Find<TransactionFlowBindingElement>() != null && 363bindingElements.Find<MsmqTransportBindingElement>() != null)
System\ServiceModel\MsmqIntegration\MsmqIntegrationValidationBehavior.cs (1)
86return (customBinding.Elements.Find<MsmqIntegrationBindingElement>() != null);
System\ServiceModel\NetTcpContextBinding.cs (1)
108ContextBindingElement contextBindingElement = bindingElements.Find<ContextBindingElement>();
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
132TransportBindingElement transportBindingElement = context.RemainingBindingElements.Find<TransportBindingElement>();
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
179TransportBindingElement transportBindingElement = this.IssuerBindingContext.RemainingBindingElements.Find<TransportBindingElement>();
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
388SecurityBindingElement securityBindingElement = bindingElements.Find<SecurityBindingElement>(); 412SecurityBindingElement securityBindingElement = bindingElements.Find<SecurityBindingElement>();
System\ServiceModel\Security\InfoCardHelper.cs (5)
388SecurityBindingElement sbe = binding.CreateBindingElements().Find<SecurityBindingElement>(); 413issuerBinding.CreateBindingElements().Find<UseManagedPresentationBindingElement>(); 436issuerBinding.CreateBindingElements().Find<PrivacyNoticeBindingElement>(); 464SecurityBindingElement secBindingElement = bindingElements.Find<SecurityBindingElement>(); 532SecurityBindingElement innerSecurityBindingElement = bindingElements.Find<SecurityBindingElement>();
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
364MessageEncodingBindingElement encoding = this.channelBuilder.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
1062SecurityBindingElement securityBindingElement = this.IssuerBindingContext.Binding.Elements.Find<SecurityBindingElement>(); 1095TransportBindingElement transportBindingElement = context.RemainingBindingElements.Find<TransportBindingElement>();
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
377TransportBindingElement transportBindingElement = context.RemainingBindingElements.Find<TransportBindingElement>();
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
614MessageEncodingBindingElement encoding = this.channelBuilder.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Security\SecurityUtils.cs (5)
1394return ((context.Binding.Elements.Find<CompositeDuplexBindingElement>() != null) 1395|| (context.Binding.Elements.Find<InternalDuplexBindingElement>() != null)); 2045SecurityBindingElement sbe = (binding == null) ? null : binding.CreateBindingElements().Find<SecurityBindingElement>(); 2231return bindingElements.Find<SecurityBindingElement>(); 2236TransportBindingElement transport = bindingContext.RemainingBindingElements.Find<TransportBindingElement>();
System\ServiceModel\Security\WSSecurityPolicy.cs (3)
1352bindingParameters.Add(ChannelProtectionRequirements.CreateFromContract(policyContext.Contract, policyContext.BindingElements.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false)); 2758parameters.BootstrapSecurityBindingElement = bindingElements.Find<SecurityBindingElement>(); 3050SecurityBindingElement sbe = endpoint.Binding.CreateBindingElements().Find<SecurityBindingElement>();
System\ServiceModel\Security\WSTrustChannelFactory.cs (1)
451SecurityBindingElement sbe = elements.Find<SecurityBindingElement>();
System\ServiceModel\ServiceHost.cs (1)
1006HttpTransportBindingElement httpTransportBindingElement = serviceEndpoint.Binding.CreateBindingElements().Find<HttpTransportBindingElement>();
System\ServiceModel\WSHttpContextBinding.cs (1)
131ContextBindingElement contextBindingElement = bindingElements.Find<ContextBindingElement>();
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\InternalSendMessage.cs (1)
397TransactionFlowBindingElement bindingElement = elementCollection.Find<TransactionFlowBindingElement>();
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
272MessageEncodingBindingElement encodingBindingElement = context.BindingElements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\UdpTransportImporter.cs (1)
75TransportBindingElement transportBindingElement = bindingElements.Find<TransportBindingElement>();
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DynamicEndpoint.cs (1)
86if (customBinding.Elements.Find<DiscoveryClientBindingElement>() == null)
System.ServiceModel.Routing (2)
System\ServiceModel\Routing\ClientFactory.cs (2)
83SynchronousSendBindingElement syncSend = binding.Elements.Find<SynchronousSendBindingElement>(); 99TransactionFlowBindingElement transactionFlow = binding.Elements.Find<TransactionFlowBindingElement>();
System.ServiceModel.Web (11)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
71WebMessageEncodingBindingElement webEncodingBindingElement = this.serviceEndpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>();
System\ServiceModel\Description\WebHttpBehavior.cs (4)
114WebMessageEncodingBindingElement webEncodingBindingElement = endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>(); 149WebMessageEncodingBindingElement webEncodingBindingElement = endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>(); 466TransportBindingElement transportBindingElement = binding.CreateBindingElements().Find<TransportBindingElement>(); 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\Web\OutgoingWebResponseContext.cs (1)
166WebMessageEncodingBindingElement encodingElement = endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>() as WebMessageEncodingBindingElement;
System\ServiceModel\Web\WebServiceHost.cs (2)
179WebMessageEncodingBindingElement encodingElement = bec.Find<WebMessageEncodingBindingElement>(); 228if (serviceEndpoint.Binding != null && serviceEndpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>() != null)
System\ServiceModel\WebScriptServiceHost.cs (1)
33if (endpoint.Binding != null && endpoint.Binding.CreateBindingElements().Find<WebMessageEncodingBindingElement>() != null)