4 writes to Activity
System.ServiceModel (4)
System\ServiceModel\Channels\ServiceChannel.cs (3)
767
result.Rpc.
Activity
= serviceModelActivity;
793
using (rpc.
Activity
= DiagnosticUtility.ShouldUseActivity ? ServiceModelActivity.CreateBoundedActivity() : null)
872
sendResult.Rpc.
Activity
= null;
System\ServiceModel\Dispatcher\ProxyRpc.cs (1)
33
this.
Activity
= null;
8 references to Activity
System.ServiceModel (8)
System\ServiceModel\Channels\ServiceChannel.cs (8)
672
if (rpc.
Activity
!= null)
674
TraceUtility.SetActivity(rpc.Request, rpc.
Activity
);
797
ServiceModelActivity.Start(rpc.
Activity
, SR.GetString(SR.ActivityProcessAction, action), ActivityType.ProcessAction);
851
using (ServiceModelActivity rpcActivity = sendResult.Rpc.
Activity
)
855
if (sendResult.Rpc.
Activity
!= null && DiagnosticUtility.ShouldUseActivity)
857
sendResult.Rpc.
Activity
.Resume();
870
if (sendResult.Rpc.
Activity
!= null)
2009
using (ServiceModelActivity.BoundOperation(this.Rpc.
Activity
))