139 references to Description
SMSvcHost (1)
System\ServiceModel\Activation\SharingService.cs (1)
131
typedServiceHost.
Description
.Behaviors.Remove(typeof(ServiceMetadataBehavior));
System.ServiceModel (69)
System\ServiceModel\Administration\ServiceInfo.cs (5)
26
this.behaviors = service.
Description
.Behaviors;
27
this.serviceName = service.
Description
.Name;
28
this.endpoints = new EndpointInfoCollection(service.
Description
.Endpoints, this.ServiceName);
33
get { return this.service.
Description
.ConfigurationName; }
71
get { return this.service.
Description
.Namespace; }
System\ServiceModel\Channels\PeerService.cs (3)
88
this.serviceHost.
Description
.Behaviors.Add(throttle);
189
this.serviceHost.
Description
.Endpoints.Clear();
206
this.config.SecurityManager.ApplyServiceSecurity(this.serviceHost.
Description
);
System\ServiceModel\ComIntegration\ComPlusServiceHost.cs (2)
74
dispatcherBuilder.InitializeServiceHost(this.
Description
, this);
91
SR.TraceCodeComIntegrationServiceHostStartedServiceDetails, this.info, this.
Description
);
System\ServiceModel\Description\DispatcherBuilder.cs (2)
605
foreach (IServiceBehavior behavior in serviceHost.
Description
.Behaviors)
607
behavior.AddBindingParameters(serviceHost.
Description
, serviceHost, endpoints, parameters);
System\ServiceModel\Description\ServiceMetadataExtension.cs (3)
418
AspNetEnvironment.Current.AddMetadataBindingParameters(listenUriBaseAddress, owner.
Description
.Behaviors, parameters);
453
ServiceDebugBehavior sdb = owner.
Description
.Behaviors.Find<ServiceDebugBehavior>();
457
ServiceBehaviorAttribute sba = owner.
Description
.Behaviors.Find<ServiceBehaviorAttribute>();
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (2)
52
PerformanceCountersFactory.CreateOperationCounters(serviceHost.
Description
.Name, contractDescription.Name, opDescription.Name, endpointDispatcher.PerfCounterBaseId);
67
EndpointPerformanceCountersBase endpointCounters = PerformanceCountersFactory.CreateEndpointCounters(serviceHost.
Description
.Name, contractDescription.Name, endpointDispatcher.PerfCounterBaseId);
System\ServiceModel\Dispatcher\TransactionBehavior.cs (2)
532
SR.GetString(SR.SFxTransactionInvalidSetTransactionComplete, rpc.Operation.Name, rpc.Host.
Description
.Name)));
549
SR.GetString(SR.SFxMultiSetTransactionComplete, rpc.Operation.Name, rpc.Host.
Description
.Name)));
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (3)
551
OperationContext.Current.Host.
Description
!= null &&
552
OperationContext.Current.Host.
Description
.Behaviors != null)
554
serviceCredentials = OperationContext.Current.Host.
Description
.Behaviors.Find<ServiceCredentials>();
System\ServiceModel\Security\WSTrustServiceContract.cs (3)
154
OperationContext.Current.Host.
Description
!= null)
156
ServiceCredentials serviceCreds = OperationContext.Current.Host.
Description
.Behaviors.Find<ServiceCredentials>();
673
ServiceDebugBehavior debugBehavior = OperationContext.Current.Host.
Description
.Behaviors.Find<ServiceDebugBehavior>();
System\ServiceModel\Security\WSTrustServiceHost.cs (4)
99
ServiceMetadataBehavior metadataBehavior =
Description
.Behaviors.Find<ServiceMetadataBehavior>();
103
Description
.Behaviors.Add(metadataBehavior);
108
bool isMexEndpointAlreadyAdded = (
Description
.Endpoints.Find(typeof(IMetadataExchange)) != null);
166
if (
Description
.Endpoints.Count == 0)
System\ServiceModel\ServiceConfiguration.cs (2)
35
return this.host.
Description
;
225
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("contractType", SR.GetString(SR.SFxMethodNotSupportedByType2, this.host.
Description
.ServiceType, contractType));
System\ServiceModel\ServiceHost.cs (38)
88
if (this.
Description
== null)
94
return EnsureAuthorization(this.
Description
);
107
if (this.
Description
== null)
113
return EnsureAuthentication(this.
Description
);
188
if (this.
Description
== null)
194
return EnsureCredentials(this.
Description
);
293
foreach (ServiceEndpoint endpoint in this.
Description
.Endpoints)
364
if (this.
Description
== null)
372
ContractDescription contract = configLoader.LookupContract(implementedContract, this.
Description
.Name);
375
this.
Description
.Endpoints.Add(serviceEndpoint);
397
if (this.
Description
== null)
416
loader.LookupContract(endpoint.Contract.ConfigurationName, this.
Description
.Name);
418
this.
Description
.Endpoints.Add(endpoint);
464
if (this.
Description
== null)
472
LoadConfigurationSectionInternal(configLoader, this.
Description
, this.
Description
.ConfigurationName);
474
EnsureAuthenticationAuthorizationDebug(this.
Description
);
540
if (this.
Description
== null)
545
if (this.
Description
.Endpoints.Count == 0)
771
if (this.
Description
== null)
777
LoadConfigurationSectionInternal(configLoader, this.
Description
, serviceSection);
858
if (ManagementExtension.IsEnabled && null != this.
Description
)
999
foreach (ServiceEndpoint serviceEndpoint in this.
Description
.Endpoints)
1049
if (this.
Description
!= null)
1081
TelemetryTraceLogging.LogSeriveKPIData(this.
Description
);
1311
if (ManagementExtension.IsEnabled && null != serviceHost.
Description
)
1773
ReflectedAndBehaviorContractCollection reflectedAndBehaviorContracts = new ReflectedAndBehaviorContractCollection(this.reflectedContracts, this.
Description
.Behaviors);
1828
Type serviceType = this.
Description
.ServiceType;
1836
LoadHostConfigurationInternal(configLoader, this.
Description
, this.
Description
.ConfigurationName);
1883
if (this.
Description
== null)
1891
LoadConfigurationSectionExceptHostInternal(configLoader, this.
Description
, this.
Description
.ConfigurationName);
1892
EnsureAuthenticationAuthorizationDebug(this.
Description
);
1898
if (this.
Description
== null)
1907
ServiceElement serviceElement = configLoader.LookupService(this.
Description
.ConfigurationName, servicesSection);
1908
configLoader.LoadServiceDescription(this, this.
Description
, serviceElement, this.LoadConfigurationSectionHelper, skipHost: true);
1910
EnsureAuthenticationAuthorizationDebug(this.
Description
);
System.ServiceModel.Activation (15)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (4)
22
if (service.
Description
.Endpoints != null && ServiceHostingEnvironment.MultipleSiteBindingsEnabled)
65
foreach (ServiceEndpoint endpoint in service.
Description
.Endpoints)
84
ServiceDebugBehavior debugBehavior = service.
Description
.Behaviors.Find<ServiceDebugBehavior>();
97
ServiceMetadataBehavior metadataBehavior = service.
Description
.Behaviors.Find<ServiceMetadataBehavior>();
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (2)
191
string serviceName = (host.
Description
!= null) ? host.
Description
.Name : string.Empty;
System\ServiceModel\ServiceHostingEnvironment.cs (9)
924
if (null != host.
Description
.ServiceType)
926
serviceName = host.
Description
.ServiceType.FullName;
930
serviceName = host.
Description
.Namespace + host.
Description
.Name;
939
string hostReference = string.Format(CultureInfo.InvariantCulture, "{0}{1}|{2}", ServiceHostingEnvironment.SiteName, servicePath, host.
Description
.Name);
1388
if (service.
Description
!= null)
1390
service.
Description
.Behaviors.Add(new ApplyHostConfigurationBehavior());
1392
service.
Description
.Behaviors.Find<UseRequestHeadersForMetadataAddressBehavior>() == null)
1394
service.
Description
.Behaviors.Add(new UseRequestHeadersForMetadataAddressBehavior());
System.ServiceModel.Activities (28)
System\ServiceModel\Activities\Description\ControlOperationBehavior.cs (1)
44
foreach (ServiceEndpoint endpointToMatch in serviceHost.
Description
.Endpoints)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (1)
120
ServiceDescription description = endpointDispatcher.ChannelDispatcher.Host.
Description
;
System\ServiceModel\Activities\Description\WorkflowContractBehaviorAttribute.cs (1)
30
if (dispatchRuntime.ChannelDispatcher.Host.
Description
.Behaviors.Contains(typeof(WorkflowServiceBehavior)))
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (2)
216
ServiceDebugBehavior serviceDebugBehavior = workflowServiceHost.
Description
.Behaviors.Find<ServiceDebugBehavior>();
217
ServiceBehaviorAttribute serviceBehaviorAttribute = workflowServiceHost.
Description
.Behaviors.Find<ServiceBehaviorAttribute>();
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (3)
64
|| dispatchOperation.Parent.ChannelDispatcher.Host.
Description
== null
65
|| dispatchOperation.Parent.ChannelDispatcher.Host.
Description
.Behaviors == null)
80
foreach (ServiceEndpoint endpointToMatch in serviceHost.
Description
.Endpoints)
System\ServiceModel\Activities\Description\WorkflowServiceBehavior.cs (1)
100
foreach (ServiceEndpoint endpointToMatch in serviceHost.
Description
.Endpoints)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (5)
150
ServiceThrottlingBehavior serviceThrottlingBehavior = Host.
Description
.Behaviors.Find<ServiceThrottlingBehavior>();
259
foreach (IServiceBehavior behavior in Host.
Description
.Behaviors)
323
foreach (ServiceEndpoint endpoint in this.Host.
Description
.Endpoints)
357
string siteName = this.Host.OverrideSiteName ? this.Host.
Description
.Name : virtualPathExtension.SiteName;
418
WorkflowServiceBehavior workflowServiceBehavior = Host.
Description
.Behaviors.Find<WorkflowServiceBehavior>();
System\ServiceModel\Activities\WorkflowServiceHost.cs (14)
342
if (!this.
Description
.Behaviors.Contains(mexBehaviorType))
345
SR.ServiceMetadataBehaviorNotFoundForServiceMetadataEndpoint(this.
Description
.Name)));
362
base.
Description
.Endpoints.Add(serviceEndpoint);
489
if (base.
Description
!= null)
495
this.DurableInstancingOptions.ScopeName = XNamespace.Get(this.
Description
.Namespace).GetName(this.
Description
.Name);
503
this.ServiceName = XNamespace.Get(this.
Description
.Namespace).GetName(this.
Description
.Name);
628
Fx.Assert(this.
Description
!= null, "ServiceDescription cannot be null");
631
foreach (ServiceEndpoint serviceEndpoint in this.
Description
.Endpoints)
663
if (this.serviceDefinition.AllowBufferedReceive && !this.
Description
.Behaviors.Contains(bufferedReceiveServiceBehaviorType))
665
this.
Description
.Behaviors.Add(new BufferedReceiveServiceBehavior());
687
string.Format(CultureInfo.InvariantCulture, "/{0}{1}", this.
Description
.Name, virtualDirectoryPath));
714
bool hasBehavior = this.
Description
.Behaviors.Contains(bufferedReceiveServiceBehaviorType);
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\DiscoveryEndpointValidator.cs (1)
33
endpointDispatcher.ChannelDispatcher.Host.
Description
.Behaviors.Find<ServiceDiscoveryBehavior>() == null)
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (2)
199
AddContractTypeScopes(endpointDiscoveryMetadata, endpointDispatcher.ChannelDispatcher.Host.
Description
);
284
ServiceDescription description = endpointDispatcher.ChannelDispatcher.Host.
Description
;
System.ServiceModel.Web (15)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (2)
261
foreach (ServiceEndpoint serviceEndpoint in host.
Description
.Endpoints)
266
new InvalidOperationException(SR2.GetString(SR2.JsonNoEndpointAtMetadataAddress, this.GetType().ToString(), serviceEndpoint.Address, serviceEndpoint.Name, host.
Description
.Name)));
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (1)
53
ServiceEndpoint serviceEndpoint = configLoader.LookupEndpoint(serviceEndpointElement, null, serviceHost, serviceHost.
Description
, true);
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
162
foreach (ServiceEndpoint endpoint in this.operationContext.Host.
Description
.Endpoints)
System\ServiceModel\Web\WebServiceHost.cs (10)
49
if (host.
Description
.Endpoints != null
50
&& host.
Description
.Endpoints.Count > 0
89
foreach (ServiceEndpoint endpoint in host.
Description
.Endpoints)
135
ServiceEndpoint automaticEndpoint = configLoader.LookupEndpoint(serviceEndpointElement, null, host, host.
Description
, true /*omitSettingEndpointAddress*/);
204
if (this.
Description
== null)
210
ServiceDebugBehavior sdb = this.
Description
.Behaviors.Find<ServiceDebugBehavior>();
216
ServiceMetadataBehavior smb = this.
Description
.Behaviors.Find<ServiceMetadataBehavior>();
223
AddAutomaticWebHttpBindingEndpoints(this, this.ImplementedContracts, SR2.GetString(SR2.HttpTransferServiceHostMultipleContracts, this.
Description
.Name), SR2.GetString(SR2.HttpTransferServiceHostNoContract, this.
Description
.Name), WebHttpEndpointKind);
226
foreach (ServiceEndpoint serviceEndpoint in this.
Description
.Endpoints)
System\ServiceModel\WebScriptServiceHost.cs (1)
31
foreach (ServiceEndpoint endpoint in this.
Description
.Endpoints)
System.WorkflowServices (8)
System\ServiceModel\Description\WorkflowOperationBehavior.cs (3)
62
|| dispatch.Parent.ChannelDispatcher.Host.
Description
== null
63
|| dispatch.Parent.ChannelDispatcher.Host.
Description
.Behaviors == null)
68
WorkflowRuntimeBehavior workflowRuntimeBehavior = dispatch.Parent.ChannelDispatcher.Host.
Description
.Behaviors.Find<WorkflowRuntimeBehavior>();
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (1)
31
if (serviceHostBase.
Description
.Behaviors.Find<ServiceThrottlingBehavior>() == null)
System\ServiceModel\WorkflowServiceHost.cs (4)
124
if (!this.
Description
.Behaviors.Contains(
155
WorkflowRuntimeBehavior workflowRuntimeBehavior = this.
Description
.Behaviors.Find<WorkflowRuntimeBehavior>();
169
if (!this.
Description
.Behaviors.Contains(typeof(WorkflowRuntimeBehavior)))
171
this.
Description
.Behaviors.Add(new WorkflowRuntimeBehavior());