41 references to ActivityType
System.ServiceModel.Primitives (41)
System\ServiceModel\ChannelFactory.cs (3)
373ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 398ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 417ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
System\ServiceModel\Channels\ServiceChannel.cs (2)
698ServiceModelActivity.Start(serviceModelActivity, SRP.Format(SRP.ActivityProcessAction, action), ActivityType.ProcessAction); 734ServiceModelActivity.Start(rpc.Activity, SRP.Format(SRP.ActivityProcessAction, action), ActivityType.ProcessAction);
System\ServiceModel\Channels\ServiceChannelProxy.cs (4)
336ActivityType activityType = ActivityType.Unknown; 340ServiceModelActivity.Current.ActivityType != ActivityType.Close) 347activityType = ActivityType.Close;
System\ServiceModel\ClientBase.cs (3)
162ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityOpenClientBase, typeof(TChannel).FullName), ActivityType.OpenClient); 353ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityCloseClientBase, typeof(TChannel).FullName), ActivityType.Close); 494ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityCloseClientBase, typeof(TChannel).FullName), ActivityType.Close);
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (19)
16private static string[] s_activityTypeNames = new string[(int)ActivityType.NumItems]; 27s_activityTypeNames[(int)ActivityType.Unknown] = "Unknown"; 28s_activityTypeNames[(int)ActivityType.Close] = "Close"; 29s_activityTypeNames[(int)ActivityType.Construct] = "Construct"; 30s_activityTypeNames[(int)ActivityType.ExecuteUserCode] = "ExecuteUserCode"; 31s_activityTypeNames[(int)ActivityType.ListenAt] = "ListenAt"; 32s_activityTypeNames[(int)ActivityType.Open] = "Open"; 33s_activityTypeNames[(int)ActivityType.OpenClient] = "Open"; 34s_activityTypeNames[(int)ActivityType.ProcessMessage] = "ProcessMessage"; 35s_activityTypeNames[(int)ActivityType.ProcessAction] = "ProcessAction"; 36s_activityTypeNames[(int)ActivityType.ReceiveBytes] = "ReceiveBytes"; 37s_activityTypeNames[(int)ActivityType.SecuritySetup] = "SecuritySetup"; 38s_activityTypeNames[(int)ActivityType.TransferToComPlus] = "TransferToComPlus"; 39s_activityTypeNames[(int)ActivityType.WmiGetObject] = "WmiGetObject"; 40s_activityTypeNames[(int)ActivityType.WmiPutInstance] = "WmiPutInstance"; 50internal ActivityType ActivityType { get; private set; } = ActivityType.Unknown; 110internal static ServiceModelActivity CreateActivity(bool autoStop, string activityName, ActivityType activityType) 291static internal void Start(ServiceModelActivity activity, string activityName, ActivityType activityType)
System\ServiceModel\Diagnostics\TraceUtility.cs (3)
381ServiceModelActivity.Start(activity, SRP.ActivityCallback, ActivityType.ExecuteUserCode); 551(ServiceModelActivity.Current.ActivityType == ActivityType.ProcessAction)) 576ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityProcessAction, message.Headers.Action), ActivityType.ProcessAction);
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
473ServiceModelActivity.Current.ActivityType == ActivityType.ProcessAction)
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
138ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityExecuteMethod, Method.DeclaringType.FullName, Method.Name), ActivityType.ExecuteUserCode);
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
202ActivityType.ExecuteUserCode);
System\ServiceModel\DuplexChannelFactory.cs (3)
56ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct); 87ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct); 112ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
1159ServiceModelActivity.Start(activity, SRP.ActivitySecurityClose, ActivityType.SecuritySetup);