2 writes to activity
System.ServiceModel (2)
System\ServiceModel\Channels\TracingConnection.cs (2)
22this.activity = activity; 28this.activity = inheritCurrentActivity ?
23 references to activity
System.ServiceModel (23)
System\ServiceModel\Channels\TracingConnection.cs (23)
31Fx.Assert(this.activity != null, ""); 36FxTrace.Trace.TraceTransfer(this.activity.Id); 45using (ServiceModelActivity.BoundOperation(this.activity)) 52if (this.activity != null) 54this.activity.Dispose(); 75using (ServiceModelActivity.BoundOperation(this.activity, true)) 82if (this.activity != null) 84this.activity.Dispose(); 91using (ServiceModelActivity.BoundOperation(this.activity, true)) 99using (ServiceModelActivity.BoundOperation(this.activity)) 101ServiceModelActivity.Start(this.activity, SR.GetString(SR.ActivityReceiveBytes, name), ActivityType.ReceiveBytes); 107using (ServiceModelActivity.BoundOperation(this.activity)) 109ServiceModelActivity.Start(this.activity, SR.GetString(SR.ActivityReceiveBytes, uri.ToString()), ActivityType.ReceiveBytes); 115using (ServiceModelActivity.BoundOperation(this.activity)) 123using (ServiceModelActivity.BoundOperation(this.activity)) 131using (ServiceModelActivity.BoundOperation(this.activity)) 139using (ServiceModelActivity.BoundOperation(this.activity)) 147using (ServiceModelActivity.BoundOperation(this.activity)) 161using (ServiceModelActivity.BoundOperation(this.activity)) 163TracingConnectionState completion = new TracingConnectionState(callback, this.activity, state); 173if (this.activity != null) 175ExceptionUtility.UseActivityId(this.activity.Id); 188using (ServiceModelActivity.BoundOperation(this.activity, true))