82 references to ActivityType
System.ServiceModel (82)
System\ServiceModel\Administration\WbemProvider.cs (2)
218ServiceModelActivity.CreateActivity(true, SR.GetString(SR.WmiGetObject, string.IsNullOrEmpty(objectPath) ? string.Empty : objectPath), ActivityType.WmiGetObject) : null) 345ServiceModelActivity.Start(activity, SR.GetString(SR.WmiPutInstance, string.IsNullOrEmpty(className) ? string.Empty : className), ActivityType.WmiPutInstance);
System\ServiceModel\ChannelFactory.cs (6)
552ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 572ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 602ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 621ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 672internal override ActivityType OpenActivityType 674get { return ActivityType.OpenClient; }
System\ServiceModel\Channels\CommunicationObject.cs (3)
410internal virtual ActivityType OpenActivityType 412get { return ActivityType.Open; } 421ServiceModelActivity.Start(retval, this.CloseActivityName, ActivityType.Close);
System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (1)
91ServiceModelActivity.Current != null && ServiceModelActivity.Current.ActivityType == ActivityType.OpenClient);
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1096ServiceModelActivity.Start(this.activity, SR.GetString(SR.ActivityReceiveBytes, this.RemoteAddress.Uri.ToString()), ActivityType.ReceiveBytes);
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
490(ServiceModelActivity.Current.ActivityType != ActivityType.ProcessAction))) 499ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 760ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage);
System\ServiceModel\Channels\HttpTransportManager.cs (1)
123ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityReceiveBytes, requestUri.ToString()), ActivityType.ReceiveBytes);
System\ServiceModel\Channels\MsmqDiagnostics.cs (4)
58ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityListenAt, receiver.ListenUri.ToString()), ActivityType.ListenAt); 78if (DiagnosticUtility.ShouldUseActivity && null != ServiceModelActivity.Current && ActivityType.ProcessAction != ServiceModelActivity.Current.ActivityType) 95ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 106ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityReceiveBytes, TraceUtility.RetrieveMessageNumber()), ActivityType.ReceiveBytes);
System\ServiceModel\Channels\ServiceChannel.cs (2)
761ServiceModelActivity.Start(serviceModelActivity, SR.GetString(SR.ActivityProcessAction, action), ActivityType.ProcessAction); 797ServiceModelActivity.Start(rpc.Activity, SR.GetString(SR.ActivityProcessAction, action), ActivityType.ProcessAction);
System\ServiceModel\Channels\ServiceChannelProxy.cs (4)
301ActivityType activityType = ActivityType.Unknown; 305ServiceModelActivity.Current.ActivityType != ActivityType.Close) 312activityType = ActivityType.Close;
System\ServiceModel\Channels\SessionConnectionReader.cs (5)
1052ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage); 1142ServiceModelActivity.Current.ActivityType == ActivityType.ProcessAction) 1540(ServiceModelActivity.Current.ActivityType == ActivityType.ProcessAction)) 1546(ServiceModelActivity.Current.PreviousActivity.ActivityType == ActivityType.ProcessAction)) 1553ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage);
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
1238ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessingMessage, TraceUtility.RetrieveMessageNumber()), ActivityType.ProcessMessage);
System\ServiceModel\Channels\TracingConnection.cs (2)
101ServiceModelActivity.Start(this.activity, SR.GetString(SR.ActivityReceiveBytes, name), ActivityType.ReceiveBytes); 109ServiceModelActivity.Start(this.activity, SR.GetString(SR.ActivityReceiveBytes, uri.ToString()), ActivityType.ReceiveBytes);
System\ServiceModel\Channels\TracingConnectionListener.cs (2)
46ServiceModelActivity.Start(this.activity, SR.GetString(SR.ActivityListenAt, traceStartInfo), ActivityType.ListenAt); 89ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityReceiveBytes, this.activity.Name), ActivityType.ReceiveBytes);
System\ServiceModel\Channels\TransportManager.cs (1)
116ServiceModelActivity.Start(this.Activity, SR.GetString(SR.ActivityListenAt, channelListener.Uri.ToString()), ActivityType.ListenAt);
System\ServiceModel\ClientBase.cs (2)
357ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityOpenClientBase, typeof(TChannel).FullName), ActivityType.OpenClient); 603ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityCloseClientBase, typeof(TChannel).FullName), ActivityType.Close);
System\ServiceModel\ComIntegration\ComPlusSynchronizationContext.cs (1)
86ServiceModelActivity.Start(activity, SR.GetString(SR.TransferringToComplus, guidLogicalThreadID.ToString()), ActivityType.TransferToComPlus);
System\ServiceModel\Configuration\ConfigurationChannelFactory.cs (1)
21ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
System\ServiceModel\Configuration\ConfigurationDuplexChannelFactory.cs (1)
21ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (20)
22static string[] ActivityTypeNames = new string[(int)ActivityType.NumItems]; 36ActivityType activityType = ActivityType.Unknown; 40ActivityTypeNames[(int)ActivityType.Unknown] = "Unknown"; 41ActivityTypeNames[(int)ActivityType.Close] = "Close"; 42ActivityTypeNames[(int)ActivityType.Construct] = "Construct"; 43ActivityTypeNames[(int)ActivityType.ExecuteUserCode] = "ExecuteUserCode"; 44ActivityTypeNames[(int)ActivityType.ListenAt] = "ListenAt"; 45ActivityTypeNames[(int)ActivityType.Open] = "Open"; 46ActivityTypeNames[(int)ActivityType.OpenClient] = "Open"; 47ActivityTypeNames[(int)ActivityType.ProcessMessage] = "ProcessMessage"; 48ActivityTypeNames[(int)ActivityType.ProcessAction] = "ProcessAction"; 49ActivityTypeNames[(int)ActivityType.ReceiveBytes] = "ReceiveBytes"; 50ActivityTypeNames[(int)ActivityType.SecuritySetup] = "SecuritySetup"; 51ActivityTypeNames[(int)ActivityType.TransferToComPlus] = "TransferToComPlus"; 52ActivityTypeNames[(int)ActivityType.WmiGetObject] = "WmiGetObject"; 53ActivityTypeNames[(int)ActivityType.WmiPutInstance] = "WmiPutInstance"; 74internal ActivityType ActivityType 140internal static ServiceModelActivity CreateActivity(bool autoStop, string activityName, ActivityType activityType) 333static internal void Start(ServiceModelActivity activity, string activityName, ActivityType activityType)
System\ServiceModel\Diagnostics\TraceUtility.cs (3)
1119(ServiceModelActivity.Current.ActivityType == ActivityType.ProcessAction)) 1144ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessAction, message.Headers.Action), ActivityType.ProcessAction); 1240ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityCallback), ActivityType.ExecuteUserCode);
System\ServiceModel\Dispatcher\AsyncMethodInvoker.cs (1)
133ServiceModelActivity.Start(activity, activityName, ActivityType.ExecuteUserCode);
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
485ServiceModelActivity.Current.ActivityType == ActivityType.ProcessAction)
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
166ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityExecuteMethod, this.method.DeclaringType.FullName, this.method.Name), ActivityType.ExecuteUserCode);
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
211ServiceModelActivity.Start(activity, activityName, ActivityType.ExecuteUserCode);
System\ServiceModel\DuplexChannelFactory.cs (4)
76ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct); 102ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct); 138ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct); 163ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (6)
641ServiceModelActivity.Start(activity, SR.GetString(SR.ActivitySecuritySetup), ActivityType.SecuritySetup); 658ServiceModelActivity.Start(activity, SR.GetString(SR.ActivitySecuritySetup), ActivityType.SecuritySetup); 857ServiceModelActivity.Start(activity, SR.GetString(SR.ActivitySecurityClose), ActivityType.SecuritySetup); 1254ServiceModelActivity.Start(activity, SR.GetString(SR.ActivitySecurityRenew), ActivityType.SecuritySetup); 1436ServiceModelActivity.Start(activity, SR.GetString(SR.ActivitySecurityClose), ActivityType.SecuritySetup); 1465ServiceModelActivity.Start(activity, SR.GetString(SR.ActivitySecurityClose), ActivityType.SecuritySetup);
System\ServiceModel\ServiceHost.cs (2)
1676ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructServiceHost, serviceType.FullName), ActivityType.Construct); 1696ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityConstructServiceHost, serviceType.FullName), ActivityType.Construct);