315 references to Instance
System.ServiceModel.NetFramingBase (34)
System\ServiceModel\Channels\ConnectionPool.cs (10)
184
if (WcfEventSource.
Instance
.CloseTimeoutIsEnabled())
186
WcfEventSource.
Instance
.CloseTimeout(exception.Message);
467
if (WcfEventSource.
Instance
.ConnectionPoolMissIsEnabled())
471
WcfEventSource.
Instance
.ConnectionPoolMiss(Key != null ? Key.ToString() : string.Empty, _busyConnections.Count);
577
if (WcfEventSource.
Instance
.MaxOutboundConnectionsPerEndpointExceededIsEnabled())
579
WcfEventSource.
Instance
.MaxOutboundConnectionsPerEndpointExceeded(SR.Format(SR.TraceCodeConnectionPoolMaxOutboundConnectionsPerEndpointQuotaReached, _maxCount));
582
else if (WcfEventSource.
Instance
.OutboundConnectionsPerEndpointRatioIsEnabled())
584
WcfEventSource.
Instance
.OutboundConnectionsPerEndpointRatio(_idleConnections.Count, _maxCount);
594
if (WcfEventSource.
Instance
.OutboundConnectionsPerEndpointRatioIsEnabled())
596
WcfEventSource.
Instance
.OutboundConnectionsPerEndpointRatio(_idleConnections.Count, _maxCount);
System\ServiceModel\Channels\IdlingCommunicationPool.cs (4)
315
if (WcfEventSource.
Instance
.LeaseTimeoutIsEnabled())
317
WcfEventSource.
Instance
.LeaseTimeout(SR.Format(SR.TraceCodeConnectionPoolLeaseTimeoutReached, _leaseTimeout), _parent.Key.ToString());
323
if (WcfEventSource.
Instance
.IdleTimeoutIsEnabled())
325
WcfEventSource.
Instance
.IdleTimeout(SR.Format(SR.TraceCodeConnectionPoolIdleTimeoutReached, _idleTimeout), _parent.Key.ToString());
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
157
if (WcfEventSource.
Instance
.ReceiveTimeoutIsEnabled())
159
WcfEventSource.
Instance
.ReceiveTimeout(e.Message);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
351
if (WcfEventSource.
Instance
.SslOnInitiateUpgradeIsEnabled())
353
WcfEventSource.
Instance
.SslOnInitiateUpgrade();
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (14)
135
if (WcfEventSource.
Instance
.ReceiveTimeoutIsEnabled())
137
WcfEventSource.
Instance
.ReceiveTimeout(e.Message);
154
if (WcfEventSource.
Instance
.ReceiveTimeoutIsEnabled())
156
WcfEventSource.
Instance
.ReceiveTimeout(e.Message);
172
if (WcfEventSource.
Instance
.ReceiveTimeoutIsEnabled())
174
WcfEventSource.
Instance
.ReceiveTimeout(e.Message);
245
if (WcfEventSource.
Instance
.CloseTimeoutIsEnabled())
247
WcfEventSource.
Instance
.CloseTimeout(SR.Format(SR.CloseTimedOut, timeout));
372
if (WcfEventSource.
Instance
.MessageReceivedByTransportIsEnabled())
374
WcfEventSource.
Instance
.MessageReceivedByTransport(
444
if (WcfEventSource.
Instance
.MessageSentByTransportIsEnabled())
447
WcfEventSource.
Instance
.MessageSentByTransport(eventTraceActivity, RemoteAddress.Uri.AbsoluteUri);
498
if (WcfEventSource.
Instance
.MessageSentByTransportIsEnabled())
501
WcfEventSource.
Instance
.MessageSentByTransport(eventTraceActivity, RemoteAddress.Uri.AbsoluteUri);
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
171
if (WcfEventSource.
Instance
.WindowsStreamSecurityOnInitiateUpgradeIsEnabled())
173
WcfEventSource.
Instance
.WindowsStreamSecurityOnInitiateUpgrade();
System.ServiceModel.Primitives (277)
Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (3)
33
return WcfEventSource.
Instance
.IsEnabled() &&
34
(WcfEventSource.
Instance
.ActionItemScheduledIsEnabled() || WcfEventSource.
Instance
.ActionItemCallbackInvokedIsEnabled());
Internals\System\Runtime\ExceptionTrace.cs (12)
36
if (WcfEventSource.
Instance
.ThrowingEtwExceptionIsEnabled())
39
WcfEventSource.
Instance
.ThrowingEtwException(_eventSourceName, exception != null ? exception.ToString() : string.Empty, serializedException);
43
if (WcfEventSource.
Instance
.EtwUnhandledExceptionIsEnabled())
46
WcfEventSource.
Instance
.EtwUnhandledException(exception != null ? exception.ToString() : string.Empty, serializedException);
50
if (WcfEventSource.
Instance
.ThrowingEtwExceptionVerboseIsEnabled())
53
WcfEventSource.
Instance
.ThrowingEtwExceptionVerbose(_eventSourceName, exception != null ? exception.ToString() : string.Empty, serializedException);
66
if (WcfEventSource.
Instance
.ThrowingEtwExceptionIsEnabled())
69
WcfEventSource.
Instance
.ThrowingEtwException(_eventSourceName, exception != null ? exception.ToString() : string.Empty, serializedException);
73
if (WcfEventSource.
Instance
.EtwUnhandledExceptionIsEnabled())
76
WcfEventSource.
Instance
.EtwUnhandledException(exception != null ? exception.ToString() : string.Empty, serializedException);
80
if (WcfEventSource.
Instance
.ThrowingEtwExceptionVerboseIsEnabled())
83
WcfEventSource.
Instance
.ThrowingEtwExceptionVerbose(_eventSourceName, exception != null ? exception.ToString() : string.Empty, serializedException);
Internals\TraceCore.cs (39)
62
return WcfEventSource.
Instance
.HandledExceptionIsEnabled();
75
WcfEventSource.
Instance
.HandledException(param0, serializedException);
85
return WcfEventSource.
Instance
.HandledExceptionErrorIsEnabled();
98
WcfEventSource.
Instance
.HandledExceptionError(param0, serializedException);
108
return WcfEventSource.
Instance
.HandledExceptionVerboseIsEnabled();
121
WcfEventSource.
Instance
.HandledExceptionVerbose(param0, serializedException);
131
return WcfEventSource.
Instance
.HandledExceptionWarningIsEnabled();
144
WcfEventSource.
Instance
.HandledExceptionWarning(param0, serializedException);
155
WcfEventSource.
Instance
.ShipAssertExceptionMessage(param0);
165
return WcfEventSource.
Instance
.ThrowingExceptionIsEnabled();
179
WcfEventSource.
Instance
.ThrowingException(param0, param1, serializedException);
189
return WcfEventSource.
Instance
.UnhandledExceptionIsEnabled();
202
WcfEventSource.
Instance
.UnhandledException(param0, serializedException);
212
return WcfEventSource.
Instance
.TraceCodeEventLogCriticalIsEnabled();
223
WcfEventSource.
Instance
.TraceCodeEventLogCritical(traceRecord.EventId);
233
return WcfEventSource.
Instance
.TraceCodeEventLogErrorIsEnabled();
244
WcfEventSource.
Instance
.TraceCodeEventLogError(traceRecord.EventId);
254
return WcfEventSource.
Instance
.TraceCodeEventLogInfoIsEnabled();
265
WcfEventSource.
Instance
.TraceCodeEventLogInfo(traceRecord.EventId);
275
return WcfEventSource.
Instance
.TraceCodeEventLogVerboseIsEnabled();
286
WcfEventSource.
Instance
.TraceCodeEventLogVerbose(traceRecord.EventId);
296
return WcfEventSource.
Instance
.TraceCodeEventLogWarningIsEnabled();
307
WcfEventSource.
Instance
.TraceCodeEventLogWarning(traceRecord.EventId);
317
return WcfEventSource.
Instance
.BufferPoolAllocationIsEnabled();
328
WcfEventSource.
Instance
.BufferPoolAllocation(Size);
338
return WcfEventSource.
Instance
.BufferPoolChangeQuotaIsEnabled();
350
WcfEventSource.
Instance
.BufferPoolChangeQuota(PoolSize, Delta);
360
return WcfEventSource.
Instance
.ActionItemScheduledIsEnabled();
371
WcfEventSource.
Instance
.ActionItemScheduled();
381
return WcfEventSource.
Instance
.ActionItemCallbackInvokedIsEnabled();
392
WcfEventSource.
Instance
.ActionItemCallbackInvoked();
402
return WcfEventSource.
Instance
.EtwUnhandledExceptionIsEnabled();
415
WcfEventSource.
Instance
.EtwUnhandledException(param0, serializedException);
425
return WcfEventSource.
Instance
.ThrowingEtwExceptionIsEnabled();
439
WcfEventSource.
Instance
.ThrowingEtwException(param0, param1, serializedException);
449
return WcfEventSource.
Instance
.ThrowingEtwExceptionVerboseIsEnabled();
463
WcfEventSource.
Instance
.ThrowingEtwExceptionVerbose(param0, param1, serializedException);
473
return WcfEventSource.
Instance
.ThrowingExceptionVerboseIsEnabled();
487
WcfEventSource.
Instance
.ThrowingExceptionVerbose(param0, param1, serializedException);
System\IdentityModel\Selectors\SecurityTokenAuthenticator.cs (6)
42
if (WcfEventSource.
Instance
.TokenValidationStartedIsEnabled())
46
WcfEventSource.
Instance
.TokenValidationStarted(eventTraceActivity, tokenType, token.Id);
53
if (WcfEventSource.
Instance
.TokenValidationFailureIsEnabled())
57
WcfEventSource.
Instance
.TokenValidationFailure(eventTraceActivity, tokenType, token.Id, errorMsg);
63
if (WcfEventSource.
Instance
.TokenValidationSuccessIsEnabled())
67
WcfEventSource.
Instance
.TokenValidationSuccess(eventTraceActivity, tokenType, token.Id);
System\ServiceModel\ChannelFactory.cs (2)
330
if (WcfEventSource.
Instance
.ChannelFactoryCreatedIsEnabled())
332
WcfEventSource.
Instance
.ChannelFactoryCreated(this);
System\ServiceModel\ChannelFactoryRefCache.cs (4)
106
if (WcfEventSource.
Instance
.ClientBaseCachedChannelFactoryCountIsEnabled())
108
WcfEventSource.
Instance
.ClientBaseCachedChannelFactoryCount(Count, _watermark, this);
114
if (WcfEventSource.
Instance
.ClientBaseChannelFactoryAgedOutofCacheIsEnabled())
116
WcfEventSource.
Instance
.ClientBaseChannelFactoryAgedOutofCache(_watermark, this);
System\ServiceModel\Channels\BinaryMessageEncoder.cs (26)
147
if (WcfEventSource.
Instance
.WritePoolMissIsEnabled())
149
WcfEventSource.
Instance
.WritePoolMiss(messageWriter.GetType().Name);
186
if (WcfEventSource.
Instance
.ReadPoolMissIsEnabled())
188
WcfEventSource.
Instance
.ReadPoolMiss(messageData.GetType().Name);
250
if (WcfEventSource.
Instance
.ReadPoolMissIsEnabled())
252
WcfEventSource.
Instance
.ReadPoolMiss(xmlReader.GetType().Name);
390
if (WcfEventSource.
Instance
.MaxSentMessageSizeExceededIsEnabled())
392
WcfEventSource.
Instance
.MaxSentMessageSizeExceeded(excMsg);
460
if (WcfEventSource.
Instance
.MaxSessionSizeReachedIsEnabled())
462
WcfEventSource.
Instance
.MaxSessionSizeReached(message);
515
if (WcfEventSource.
Instance
.BinaryMessageDecodingStartIsEnabled())
517
WcfEventSource.
Instance
.BinaryMessageDecodingStart();
581
if (WcfEventSource.
Instance
.BinaryMessageDecodingStartIsEnabled())
583
WcfEventSource.
Instance
.BinaryMessageDecodingStart();
596
if (WcfEventSource.
Instance
.StreamedMessageReadByEncoderIsEnabled())
598
WcfEventSource.
Instance
.StreamedMessageReadByEncoder(
628
if (WcfEventSource.
Instance
.BinaryMessageEncodingStartIsEnabled())
631
WcfEventSource.
Instance
.BinaryMessageEncodingStart(eventTraceActivity);
655
if (WcfEventSource.
Instance
.MaxSentMessageSizeExceededIsEnabled())
657
WcfEventSource.
Instance
.MaxSentMessageSizeExceeded(excMsg);
706
if (WcfEventSource.
Instance
.MessageWrittenByEncoderIsEnabled() && messageData != null)
708
WcfEventSource.
Instance
.MessageWrittenByEncoder(
735
if (WcfEventSource.
Instance
.BinaryMessageEncodingStartIsEnabled())
738
WcfEventSource.
Instance
.BinaryMessageEncodingStart(eventTraceActivity);
753
if (WcfEventSource.
Instance
.StreamedMessageWrittenByEncoderIsEnabled())
755
WcfEventSource.
Instance
.StreamedMessageWrittenByEncoder(eventTraceActivity ?? EventTraceActivityHelper.TryExtractActivity(message));
System\ServiceModel\Channels\BufferManagerOutputStream.cs (2)
45
if (WcfEventSource.
Instance
.MaxSentMessageSizeExceededIsEnabled())
47
WcfEventSource.
Instance
.MaxSentMessageSizeExceeded(excMsg);
System\ServiceModel\Channels\ChannelReliableSession.cs (4)
146
if (WcfEventSource.
Instance
.ReliableSessionChannelFaultedIsEnabled())
148
WcfEventSource.
Instance
.ReliableSessionChannelFaulted(Id);
262
if (WcfEventSource.
Instance
.InactivityTimeoutIsEnabled())
264
WcfEventSource.
Instance
.InactivityTimeout(exceptionMessage);
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (4)
107
if (WcfEventSource.
Instance
.SequenceAcknowledgementSentIsEnabled())
109
WcfEventSource.
Instance
.SequenceAcknowledgementSent(ReliableSession.Id);
1134
if (WcfEventSource.
Instance
.ClientReliableSessionReconnectIsEnabled())
1136
WcfEventSource.
Instance
.ClientReliableSessionReconnect(_clientSession.Id);
System\ServiceModel\Channels\MaxMessageSizeStream.cs (4)
89
if (WcfEventSource.
Instance
.MaxReceivedMessageSizeExceededIsEnabled())
91
WcfEventSource.
Instance
.MaxReceivedMessageSizeExceeded(message);
102
if (WcfEventSource.
Instance
.MaxSentMessageSizeExceededIsEnabled())
104
WcfEventSource.
Instance
.MaxSentMessageSizeExceeded(message);
System\ServiceModel\Channels\MtomMessageEncoder.cs (30)
94
if (WcfEventSource.
Instance
.WritePoolMissIsEnabled())
96
WcfEventSource.
Instance
.WritePoolMiss(xmlWriter.GetType().Name);
129
if (WcfEventSource.
Instance
.WritePoolMissIsEnabled())
131
WcfEventSource.
Instance
.WritePoolMiss(messageWriter.GetType().Name);
158
if (WcfEventSource.
Instance
.ReadPoolMissIsEnabled())
160
WcfEventSource.
Instance
.ReadPoolMiss(messageData.GetType().Name);
195
if (WcfEventSource.
Instance
.ReadPoolMissIsEnabled())
197
WcfEventSource.
Instance
.ReadPoolMiss(xmlReader.GetType().Name);
210
if (WcfEventSource.
Instance
.ReadPoolMissIsEnabled())
212
WcfEventSource.
Instance
.ReadPoolMiss(xmlReader.GetType().Name);
370
if (WcfEventSource.
Instance
.MtomMessageDecodingStartIsEnabled())
372
WcfEventSource.
Instance
.MtomMessageDecodingStart();
386
if (WcfEventSource.
Instance
.MessageReadByEncoderIsEnabled() && buffer != null)
388
WcfEventSource.
Instance
.MessageReadByEncoder(
405
if (WcfEventSource.
Instance
.MtomMessageDecodingStartIsEnabled())
407
WcfEventSource.
Instance
.MtomMessageDecodingStart();
414
if (WcfEventSource.
Instance
.StreamedMessageReadByEncoderIsEnabled())
416
WcfEventSource.
Instance
.StreamedMessageReadByEncoder(EventTraceActivityHelper.TryExtractActivity(message, true));
470
if (WcfEventSource.
Instance
.MtomMessageEncodingStartIsEnabled())
473
WcfEventSource.
Instance
.MtomMessageEncodingStart(eventTraceActivity);
487
if (WcfEventSource.
Instance
.MessageWrittenByEncoderIsEnabled() && messageData != null)
489
WcfEventSource.
Instance
.MessageWrittenByEncoder(
554
if (WcfEventSource.
Instance
.MtomMessageEncodingStartIsEnabled())
557
WcfEventSource.
Instance
.MtomMessageEncodingStart(eventTraceActivity);
578
if (WcfEventSource.
Instance
.StreamedMessageWrittenByEncoderIsEnabled())
580
WcfEventSource.
Instance
.StreamedMessageWrittenByEncoder(eventTraceActivity ?? EventTraceActivityHelper.TryExtractActivity(message));
624
if (WcfEventSource.
Instance
.ReadPoolMissIsEnabled())
626
WcfEventSource.
Instance
.ReadPoolMiss(xmlReader.GetType().Name);
639
if (WcfEventSource.
Instance
.ReadPoolMissIsEnabled())
641
WcfEventSource.
Instance
.ReadPoolMiss(xmlReader.GetType().Name);
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (2)
283
if (WcfEventSource.
Instance
.MaxRetryCyclesExceededIsEnabled())
285
WcfEventSource.
Instance
.MaxRetryCyclesExceeded(SRP.MaximumRetryCountExceeded);
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
281
if (WcfEventSource.
Instance
.MaxRetryCyclesExceededIsEnabled())
283
WcfEventSource.
Instance
.MaxRetryCyclesExceeded(SRP.MaximumRetryCountExceeded);
System\ServiceModel\Channels\RequestContextBase.cs (2)
319
if (WcfEventSource.
Instance
.CloseTimeoutIsEnabled())
321
WcfEventSource.
Instance
.CloseTimeout(e.Message);
System\ServiceModel\Channels\ServiceChannel.cs (19)
651
if (WcfEventSource.
Instance
.ClientOperationPreparedIsEnabled())
658
WcfEventSource.
Instance
.ClientOperationPrepared(rpc.EventTraceActivity,
857
if (WcfEventSource.
Instance
.CloseTimeoutIsEnabled())
859
WcfEventSource.
Instance
.CloseTimeout(e.Message);
992
if (WcfEventSource.
Instance
.ServiceChannelCallStopIsEnabled())
999
WcfEventSource.
Instance
.ServiceChannelCallStop(rpc.EventTraceActivity, rpc.Action,
1637
if (WcfEventSource.
Instance
.ClientChannelOpenStartIsEnabled() && _endpointDispatcher == null)
1639
WcfEventSource.
Instance
.ClientChannelOpenStart(EventActivity);
1641
else if (WcfEventSource.
Instance
.ServiceChannelOpenStartIsEnabled())
1643
WcfEventSource.
Instance
.ServiceChannelOpenStart(EventActivity);
1649
if (_endpointDispatcher == null && WcfEventSource.
Instance
.ClientChannelOpenStopIsEnabled())
1651
WcfEventSource.
Instance
.ClientChannelOpenStop(EventActivity);
1653
else if (WcfEventSource.
Instance
.ServiceChannelOpenStopIsEnabled())
1655
WcfEventSource.
Instance
.ServiceChannelOpenStop(EventActivity);
1661
if (WcfEventSource.
Instance
.ServiceChannelCallStartIsEnabled())
1665
WcfEventSource.
Instance
.ServiceChannelCallStart(eventTraceActivity);
1669
WcfEventSource.
Instance
.ServiceChannelBeginCallStart(eventTraceActivity);
2486
if (WcfEventSource.
Instance
.SessionIdleTimeoutIsEnabled())
2494
WcfEventSource.
Instance
.SessionIdleTimeout(listenUri);
System\ServiceModel\Channels\TextMessageEncoder.cs (20)
408
if (WcfEventSource.
Instance
.TextMessageDecodingStartIsEnabled())
410
WcfEventSource.
Instance
.TextMessageDecodingStart();
428
if (WcfEventSource.
Instance
.MessageReadByEncoderIsEnabled())
430
WcfEventSource.
Instance
.MessageReadByEncoder(
451
if (WcfEventSource.
Instance
.TextMessageDecodingStartIsEnabled())
453
WcfEventSource.
Instance
.TextMessageDecodingStart();
460
if (WcfEventSource.
Instance
.StreamedMessageReadByEncoderIsEnabled())
462
WcfEventSource.
Instance
.StreamedMessageReadByEncoder(EventTraceActivityHelper.TryExtractActivity(message, true));
518
if (WcfEventSource.
Instance
.TextMessageEncodingStartIsEnabled())
521
WcfEventSource.
Instance
.TextMessageEncodingStart(eventTraceActivity);
530
if (WcfEventSource.
Instance
.MessageWrittenByEncoderIsEnabled())
532
WcfEventSource.
Instance
.MessageWrittenByEncoder(
568
if (WcfEventSource.
Instance
.TextMessageEncodingStartIsEnabled())
571
WcfEventSource.
Instance
.TextMessageEncodingStart(eventTraceActivity);
590
if (WcfEventSource.
Instance
.StreamedMessageWrittenByEncoderIsEnabled())
592
WcfEventSource.
Instance
.StreamedMessageWrittenByEncoder(eventTraceActivity ?? EventTraceActivityHelper.TryExtractActivity(message));
640
if (WcfEventSource.
Instance
.WritePoolMissIsEnabled())
642
WcfEventSource.
Instance
.WritePoolMiss(messageWriter.GetType().Name);
680
if (WcfEventSource.
Instance
.ReadPoolMissIsEnabled())
682
WcfEventSource.
Instance
.ReadPoolMiss(messageData.GetType().Name);
System\ServiceModel\ClientBase.cs (6)
668
if (WcfEventSource.
Instance
.ClientBaseChannelFactoryCacheHitIsEnabled())
670
WcfEventSource.
Instance
.ClientBaseChannelFactoryCacheHit(this);
738
if (WcfEventSource.
Instance
.ClientBaseUsingLocalChannelFactoryIsEnabled())
740
WcfEventSource.
Instance
.ClientBaseUsingLocalChannelFactory(this);
760
if (WcfEventSource.
Instance
.ClientBaseCachedChannelFactoryCountIsEnabled())
762
WcfEventSource.
Instance
.ClientBaseCachedChannelFactoryCount(s_factoryRefCache.Count, MaxNumChannelFactories, this);
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (4)
35
if (WcfEventSource.
Instance
.SecurityIdentityVerificationSuccessIsEnabled())
37
WcfEventSource.
Instance
.SecurityIdentityVerificationSuccess(eventTraceActivity);
55
if (WcfEventSource.
Instance
.SecurityTokenProviderOpenedIsEnabled())
57
WcfEventSource.
Instance
.SecurityTokenProviderOpened(eventTraceActivity);
System\ServiceModel\Diagnostics\TraceUtility.cs (4)
158
if (WcfEventSource.
Instance
.MessageSentToTransportIsEnabled())
160
WcfEventSource.
Instance
.MessageSentToTransport(eventTraceActivity, correlationId);
190
if (WcfEventSource.
Instance
.MessageReceivedFromTransportIsEnabled())
197
WcfEventSource.
Instance
.MessageReceivedFromTransport(eventTraceActivity, correlationId, TraceUtility.GetAnnotation(context));
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (4)
555
if (WcfEventSource.
Instance
.ListenerOpenStartIsEnabled())
558
WcfEventSource.
Instance
.ListenerOpenStart(_eventTraceActivity,
570
if (WcfEventSource.
Instance
.ListenerOpenStopIsEnabled())
572
WcfEventSource.
Instance
.ListenerOpenStop(_eventTraceActivity);
System\ServiceModel\Dispatcher\ChannelHandler.cs (8)
182
if (WcfEventSource.
Instance
.ChannelReceiveStopIsEnabled())
184
WcfEventSource.
Instance
.ChannelReceiveStop(EventTraceActivity, GetHashCode());
224
if (WcfEventSource.
Instance
.ChannelReceiveStartIsEnabled())
226
WcfEventSource.
Instance
.ChannelReceiveStart(EventTraceActivity, GetHashCode());
741
if (WcfEventSource.
Instance
.ChannelReceiveStopIsEnabled())
743
WcfEventSource.
Instance
.ChannelReceiveStop(handler.EventTraceActivity, state.GetHashCode());
1284
if (WcfEventSource.
Instance
.DispatchMessageStartIsEnabled())
1286
WcfEventSource.
Instance
.DispatchMessageStart(eventTraceActivity);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (12)
91
if (WcfEventSource.
Instance
.DispatchFormatterDeserializeRequestStartIsEnabled())
93
WcfEventSource.
Instance
.DispatchFormatterDeserializeRequestStart(rpc.EventTraceActivity);
98
if (WcfEventSource.
Instance
.DispatchFormatterDeserializeRequestStopIsEnabled())
100
WcfEventSource.
Instance
.DispatchFormatterDeserializeRequestStop(rpc.EventTraceActivity);
136
if (WcfEventSource.
Instance
.ParameterInspectorBeforeCallInvokedIsEnabled())
138
WcfEventSource.
Instance
.ParameterInspectorBeforeCallInvoked(rpc.EventTraceActivity, ParameterInspectors[i].GetType().FullName);
157
if (WcfEventSource.
Instance
.ParameterInspectorAfterCallInvokedIsEnabled())
159
WcfEventSource.
Instance
.ParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, ParameterInspectors[i].GetType().FullName);
244
if (WcfEventSource.
Instance
.DispatchFormatterSerializeReplyStartIsEnabled())
246
WcfEventSource.
Instance
.DispatchFormatterSerializeReplyStart(rpc.EventTraceActivity);
251
if (WcfEventSource.
Instance
.DispatchFormatterSerializeReplyStopIsEnabled())
253
WcfEventSource.
Instance
.DispatchFormatterSerializeReplyStop(rpc.EventTraceActivity);
System\ServiceModel\Dispatcher\ErrorBehavior.cs (6)
127
if (WcfEventSource.
Instance
.FaultProviderInvokedIsEnabled())
129
WcfEventSource.
Instance
.FaultProviderInvoked(_handlers[i].GetType().FullName, e.Message);
190
if (WcfEventSource.
Instance
.ServiceExceptionIsEnabled())
192
WcfEventSource.
Instance
.ServiceException(error.ToString(), error.GetType().FullName);
198
if (WcfEventSource.
Instance
.ErrorHandlerInvokedIsEnabled())
200
WcfEventSource.
Instance
.ErrorHandlerInvoked(_handlers[i].GetType().FullName, handledByThis, error.GetType().FullName);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (4)
80
if (WcfEventSource.
Instance
.ClientMessageInspectorAfterReceiveInvokedIsEnabled())
82
WcfEventSource.
Instance
.ClientMessageInspectorAfterReceiveInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName);
109
if (WcfEventSource.
Instance
.ClientMessageInspectorBeforeSendInvokedIsEnabled())
111
WcfEventSource.
Instance
.ClientMessageInspectorBeforeSendInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (8)
109
if (WcfEventSource.
Instance
.MessageInspectorAfterReceiveInvokedIsEnabled())
111
WcfEventSource.
Instance
.MessageInspectorAfterReceiveInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName);
148
if (WcfEventSource.
Instance
.MessageInspectorBeforeSendInvokedIsEnabled())
150
WcfEventSource.
Instance
.MessageInspectorBeforeSendInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName);
191
if (WcfEventSource.
Instance
.DispatchMessageStopIsEnabled())
193
WcfEventSource.
Instance
.DispatchMessageStop(rpc.EventTraceActivity);
283
if (WcfEventSource.
Instance
.DispatchMessageStopIsEnabled())
285
WcfEventSource.
Instance
.DispatchMessageStop(rpc.EventTraceActivity);
System\ServiceModel\Dispatcher\InstanceBehavior.cs (4)
90
if (WcfEventSource.
Instance
.GetServiceInstanceStartIsEnabled())
92
WcfEventSource.
Instance
.GetServiceInstanceStart(rpc.EventTraceActivity);
97
if (WcfEventSource.
Instance
.GetServiceInstanceStopIsEnabled())
99
WcfEventSource.
Instance
.GetServiceInstanceStop(rpc.EventTraceActivity);
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (12)
132
if (WcfEventSource.
Instance
.ClientFormatterDeserializeReplyStartIsEnabled())
134
WcfEventSource.
Instance
.ClientFormatterDeserializeReplyStart(rpc.EventTraceActivity);
139
if (WcfEventSource.
Instance
.ClientFormatterDeserializeReplyStopIsEnabled())
141
WcfEventSource.
Instance
.ClientFormatterDeserializeReplyStop(rpc.EventTraceActivity);
158
if (WcfEventSource.
Instance
.ClientParameterInspectorAfterCallInvokedIsEnabled())
160
WcfEventSource.
Instance
.ClientParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, _parameterInspectors[i].GetType().FullName);
196
if (WcfEventSource.
Instance
.ClientParameterInspectorBeforeCallInvokedIsEnabled())
198
WcfEventSource.
Instance
.ClientParameterInspectorBeforeCallInvoked(rpc.EventTraceActivity, _parameterInspectors[i].GetType().FullName);
217
if (WcfEventSource.
Instance
.ClientFormatterSerializeRequestStartIsEnabled())
219
WcfEventSource.
Instance
.ClientFormatterSerializeRequestStart(rpc.EventTraceActivity);
226
if (WcfEventSource.
Instance
.ClientFormatterSerializeRequestStopIsEnabled())
228
WcfEventSource.
Instance
.ClientFormatterSerializeRequestStop(rpc.EventTraceActivity);
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (11)
94
if (WcfEventSource.
Instance
.OperationCompletedIsEnabled() ||
95
WcfEventSource.
Instance
.OperationFaultedIsEnabled() ||
96
WcfEventSource.
Instance
.OperationFailedIsEnabled())
140
if (WcfEventSource.
Instance
.OperationInvokedIsEnabled())
142
WcfEventSource.
Instance
.OperationInvoked(eventTraceActivity, MethodName, TraceUtility.GetCallerInfo(OperationContext.Current));
159
if (WcfEventSource.
Instance
.OperationCompletedIsEnabled())
161
WcfEventSource.
Instance
.OperationCompleted(eventTraceActivity, _methodName,
167
if (WcfEventSource.
Instance
.OperationFaultedIsEnabled())
169
WcfEventSource.
Instance
.OperationFaulted(eventTraceActivity, _methodName,
175
if (WcfEventSource.
Instance
.OperationFailedIsEnabled())
177
WcfEventSource.
Instance
.OperationFailed(eventTraceActivity, _methodName,
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (11)
156
if (WcfEventSource.
Instance
.OperationCompletedIsEnabled() ||
157
WcfEventSource.
Instance
.OperationFaultedIsEnabled() ||
158
WcfEventSource.
Instance
.OperationFailedIsEnabled())
204
if (WcfEventSource.
Instance
.OperationInvokedIsEnabled())
206
WcfEventSource.
Instance
.OperationInvoked(eventTraceActivity, MethodName,
237
if (WcfEventSource.
Instance
.OperationCompletedIsEnabled())
239
WcfEventSource.
Instance
.OperationCompleted(eventTraceActivity, _methodName,
245
if (WcfEventSource.
Instance
.OperationFaultedIsEnabled())
247
WcfEventSource.
Instance
.OperationFaulted(eventTraceActivity, _methodName,
253
if (WcfEventSource.
Instance
.OperationFailedIsEnabled())
255
WcfEventSource.
Instance
.OperationFailed(eventTraceActivity, _methodName,
System\ServiceModel\Security\IdentityVerifier.cs (2)
277
if (WcfEventSource.
Instance
.SecurityIdentityVerificationFailureIsEnabled())
279
WcfEventSource.
Instance
.SecurityIdentityVerificationFailure(eventTraceActivity);
System.ServiceModel.UnixDomainSocket (4)
System\ServiceModel\Channels\SocketConnection.cs (4)
196
if (WcfEventSource.
Instance
.SocketReadStopIsEnabled())
198
WcfEventSource.
Instance
.SocketAsyncReadStop((_socket != null) ? _socket.GetHashCode() : -1, bytesRead, this.RemoteEndpointAddress);
247
if (WcfEventSource.
Instance
.SocketAsyncWriteStartIsEnabled())
249
WcfEventSource.
Instance
.SocketAsyncWriteStart(_socket.GetHashCode(), buffer.Length, RemoteEndpointAddress);