59 references to PerformanceCountersEnabled
System.ServiceModel (59)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (2)
123
instance.SetProperty(AdministrationStrings.CounterInstanceName, PerformanceCounters.
PerformanceCountersEnabled
? EndpointPerformanceCounters.GetFriendlyInstanceName(endpoint.ServiceName, endpoint.Contract.Name, endpoint.Address.AbsoluteUri.ToUpperInvariant()) : String.Empty);
669
if (PerformanceCounters.
PerformanceCountersEnabled
&& null != endpointInfo)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (1)
135
instance.SetProperty(AdministrationStrings.CounterInstanceName, PerformanceCounters.
PerformanceCountersEnabled
? ServicePerformanceCounters.GetFriendlyInstanceName(info.Service) : String.Empty);
System\ServiceModel\Channels\MsmqDiagnostics.cs (3)
267
if (PerformanceCounters.
PerformanceCountersEnabled
)
334
if (poisonQueue && PerformanceCounters.
PerformanceCountersEnabled
)
352
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (3)
1777
if (PerformanceCounters.
PerformanceCountersEnabled
)
1864
if (PerformanceCounters.
PerformanceCountersEnabled
)
1870
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (10)
48
if (PerformanceCounters.
PerformanceCountersEnabled
)
347
if (PerformanceCounters.
PerformanceCountersEnabled
)
647
if (PerformanceCounters.
PerformanceCountersEnabled
)
653
if (PerformanceCounters.
PerformanceCountersEnabled
)
682
if (PerformanceCounters.
PerformanceCountersEnabled
)
709
if (PerformanceCounters.
PerformanceCountersEnabled
)
1062
if (PerformanceCounters.
PerformanceCountersEnabled
)
1068
if (PerformanceCounters.
PerformanceCountersEnabled
)
1089
if (PerformanceCounters.
PerformanceCountersEnabled
)
1107
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (6)
69
if (PerformanceCounters.
PerformanceCountersEnabled
)
535
if (PerformanceCounters.
PerformanceCountersEnabled
)
1066
if (PerformanceCounters.
PerformanceCountersEnabled
)
1072
if (PerformanceCounters.
PerformanceCountersEnabled
)
1096
if (PerformanceCounters.
PerformanceCountersEnabled
)
1126
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Description\DispatcherBuilder.cs (3)
580
if (PerformanceCounters.
PerformanceCountersEnabled
)
785
if (PerformanceCounters.
PerformanceCountersEnabled
|| PerformanceCounters.MinimalPerformanceCountersEnabled)
792
if ((PerformanceCounters.
PerformanceCountersEnabled
|| PerformanceCounters.MinimalPerformanceCountersEnabled) && ServiceModelAppSettings.EnsureUniquePerformanceCounterInstanceNames)
System\ServiceModel\Diagnostics\DefaultPerformanceCounters.cs (1)
116
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Diagnostics\EndpointPerformanceCounters.cs (1)
141
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Diagnostics\EndpointPerformanceCountersV2.cs (1)
173
if (disposing && PerformanceCounters.
PerformanceCountersEnabled
&& this.endpointCounterSetInstance != null)
System\ServiceModel\Diagnostics\OperationPerformanceCounters.cs (1)
128
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Diagnostics\OperationPerformanceCountersV2.cs (1)
158
if (disposing && PerformanceCounters.
PerformanceCountersEnabled
&& this.operationCounterSetInstance != null)
System\ServiceModel\Diagnostics\PerformanceCounters.cs (6)
150
if (PerformanceCounters.
PerformanceCountersEnabled
|| PerformanceCounters.MinimalPerformanceCountersEnabled)
341
bool performanceCountersEnabled = PerformanceCounters.
PerformanceCountersEnabled
;
400
if (PerformanceCounters.
PerformanceCountersEnabled
)
471
if (PerformanceCounters.
PerformanceCountersEnabled
)
486
if (PerformanceCounters.
PerformanceCountersEnabled
)
502
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (1)
74
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Diagnostics\ServicePerformanceCounters.cs (1)
208
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Diagnostics\ServicePerformanceCountersV2.cs (1)
251
if (disposing && PerformanceCounters.
PerformanceCountersEnabled
&& this.serviceCounterSetInstance != null)
System\ServiceModel\Dispatcher\AsyncMethodInvoker.cs (2)
309
if (PerformanceCounters.
PerformanceCountersEnabled
)
317
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (1)
69
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (1)
73
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
471
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Dispatcher\EndpointDispatcher.cs (2)
83
if (PerformanceCounters.
PerformanceCountersEnabled
)
295
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (2)
102
if (PerformanceCounters.
PerformanceCountersEnabled
)
188
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (6)
242
if (PerformanceCounters.
PerformanceCountersEnabled
)
994
if (PerformanceCounters.
PerformanceCountersEnabled
)
1023
if (PerformanceCounters.
PerformanceCountersEnabled
)
1033
if (PerformanceCounters.
PerformanceCountersEnabled
)
1042
if (PerformanceCounters.
PerformanceCountersEnabled
)
1060
if (PerformanceCounters.
PerformanceCountersEnabled
)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
835
if (PerformanceCounters.
PerformanceCountersEnabled
&& null != this.ListenUri)
System\ServiceModel\Security\SecurityProtocol.cs (1)
820
if (PerformanceCounters.
PerformanceCountersEnabled
&& null != this.factory.ListenUri) //service side