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