69 references to Endpoint
System.ServiceModel (58)
System\ServiceModel\ChannelFactory.cs (24)
37if (this.Endpoint == null) 41return EnsureCredentials(this.Endpoint); 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; 136if (this.Endpoint == null) 141if (!this.Endpoint.IsFullyConfigured) 155configLoader.LoadCommonClientBehaviors(this.Endpoint); 159configLoader.LoadChannelBehaviors(this.Endpoint, configurationName); 178if (this.Endpoint == null) 183if (this.Endpoint.Binding == null) 195return ServiceChannelFactory.BuildChannelFactory(this.Endpoint, this.UseActiveAutoClose); 238OperationDescriptionCollection operations = this.Endpoint.Contract.Operations; 269this.Endpoint.Address = address; 296this.Endpoint.Address = address; 325this.Endpoint.Binding = binding; 329this.Endpoint.Address = address; 339if (this.Endpoint != null) 341ClientCredentials credentials = this.Endpoint.Behaviors.Find<ClientCredentials>(); 707throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxCreateNonDuplexChannel1, this.Endpoint.Contract.Name))); 722return CreateChannel(this.CreateEndpointAddress(this.Endpoint), null);
System\ServiceModel\Channels\PeerNeighborManager.cs (3)
1066this.channelFactory.Endpoint.Behaviors.Add(new ClientViaBehavior(remoteAddress.Uri)); 1067this.channelFactory.Endpoint.Behaviors.Add(new PeerNeighborBehavior(this)); 1068this.channelFactory.Endpoint.Contract.Behaviors.Add(new PeerOperationSelectorBehavior(this.messageHandler));
System\ServiceModel\Channels\PeerSecurityManager.cs (2)
568factory.Endpoint.Behaviors.Remove<ClientCredentials>(); 571factory.Endpoint.Behaviors.Add(this.credManager.CloneForTransport());
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
606registerChannelFactory.Endpoint.Behaviors.Add(new SharedListenerProxyBehavior(this));
System\ServiceModel\ClientBase.cs (1)
482return GetChannelFactory().Endpoint;
System\ServiceModel\Description\MetadataExchangeClient.cs (9)
49this.maxMessageSize = GetMaxMessageSize(this.factory.Endpoint.Binding); 84this.maxMessageSize = GetMaxMessageSize(this.factory.Endpoint.Binding); 93this.maxMessageSize = GetMaxMessageSize(this.factory.Endpoint.Binding); 106this.factory.Endpoint.Behaviors.RemoveAll<ClientCredentials>(); 107this.factory.Endpoint.Behaviors.Add(value); 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\DuplexChannelFactory.cs (3)
198return CreateChannel(callbackInstance, CreateEndpointAddress(this.Endpoint), null); 239throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxCreateDuplexChannel1, this.Endpoint.Contract.Name))); 243Type callbackType = this.Endpoint.Contract.CallbackContractType;
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (2)
80channelFactory.Endpoint.Behaviors.Remove<ClientCredentials>(); 82channelFactory.Endpoint.Behaviors.Add(credentials);
System\ServiceModel\Security\WSTrustChannel.cs (4)
355if (_factory.Endpoint != null 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\Security\WSTrustDec2005.cs (4)
116SetProtectionLevelForFederation(result.Endpoint.Contract.Operations); 118result.Endpoint.Behaviors.Remove<ClientCredentials>(); 121result.Endpoint.Behaviors.Add(channelBehaviors[i]); 125result.Endpoint.Behaviors.Add(new WSTrustFeb2005.DriverFeb2005.InteractiveInitializersRemovingBehavior());
System\ServiceModel\Security\WSTrustFeb2005.cs (4)
253SetProtectionLevelForFederation(result.Endpoint.Contract.Operations); 255result.Endpoint.Behaviors.Remove<ClientCredentials>(); 258result.Endpoint.Behaviors.Add(channelBehaviors[i]); 262result.Endpoint.Behaviors.Add(new InteractiveInitializersRemovingBehavior());
System.ServiceModel.Routing (2)
System\ServiceModel\Routing\Configuration\ClientEndpointLoader.cs (2)
16base.Endpoint.Name = configurationName; 23return loader.Endpoint;
System.ServiceModel.Web (8)
System\ServiceModel\Web\WebChannelFactory.cs (8)
65if (this.Endpoint == null) 71if (this.Endpoint.Binding == null && this.Endpoint.Address != null) 73this.Endpoint.Binding = GetDefaultBinding(this.Endpoint.Address.Uri); 75WebServiceHost.SetRawContentTypeMapperIfNecessary(this.Endpoint, false); 76if (this.Endpoint.Behaviors.Find<WebHttpBehavior>() == null) 78this.Endpoint.Behaviors.Add(new WebHttpBehavior());
System.WorkflowServices (1)
System\Workflow\Runtime\Hosting\ChannelManager.cs (1)
299ISecurityCapabilities securityCapabilities = channelFactory.Endpoint.Binding.GetProperty<ISecurityCapabilities>(new BindingParameterCollection());