System\Web\Services\Protocols\ClientProtocol.cs (13)
256if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, typeof(WebClientProtocol), method, e);
442TraceMethod caller = Tracing.On ? new TraceMethod(this, "GetWebResponse") : null;
445if (Tracing.On) Tracing.Enter("WebRequest.GetResponse", caller, new TraceMethod(request, "GetResponse"));
447if (Tracing.On) Tracing.Exit("WebRequest.GetResponse", caller);
453if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "GetWebResponse", e);
619if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "Complete", e);
634if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "Complete", e);
System\Web\Services\Protocols\RemoteDebugger.cs (56)
58if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "IsClientCallOutEnabled", e);
80if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "IsServerCallInEnabled", e);
94TraceMethod method = Tracing.On ? new TraceMethod(typeof(RemoteDebugger), "get_Connection") : null;
95if (Tracing.On) Tracing.Enter("RemoteDebugger", method);
104if (Tracing.On) Tracing.Exit("RemoteDebugger", method);
122TraceMethod method = Tracing.On ? new TraceMethod(this, "get_NotifySink") : null;
123if (Tracing.On) Tracing.Enter("RemoteDebugger", method);
127if (Tracing.On) Tracing.Exit("RemoteDebugger", method);
137TraceMethod method = Tracing.On ? new TraceMethod(typeof(RemoteDebugger), "CloseSharedResources") : null;
138if (Tracing.On) Tracing.Enter("RemoteDebugger", method);
147if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "CloseSharedResources", e);
149if (Tracing.On) Tracing.Exit("RemoteDebugger", method);
160TraceMethod method = Tracing.On ? new TraceMethod(this, "Close") : null;
161if (Tracing.On) Tracing.Enter("RemoteDebugger", method);
170if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, method, e);
172if (Tracing.On) Tracing.Exit("RemoteDebugger", method);
189TraceMethod method = Tracing.On ? new TraceMethod(this, "NotifyClientCallOut") : null;
190if (Tracing.On) Tracing.Enter("RemoteDebugger", method);
194if (Tracing.On) Tracing.Exit("RemoteDebugger", method);
212if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "NotifyClientCallOut", e);
230TraceMethod method = Tracing.On ? new TraceMethod(this, "NotifyClientCallReturn") : null;
231if (Tracing.On) Tracing.Enter("RemoteDebugger", method);
235if (Tracing.On) Tracing.Exit("RemoteDebugger", method);
241if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "NotifyClientCallReturn", e);
269TraceMethod method = Tracing.On ? new TraceMethod(this, "NotifyServerCallEnter") : null;
270if (Tracing.On) Tracing.Enter("RemoteDebugger", method);
274if (Tracing.On) Tracing.Exit("RemoteDebugger", method);
280if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "NotifyServerCallEnter", e);
294TraceMethod method = Tracing.On ? new TraceMethod(this, "NotifyServerCallExit") : null;
295if (Tracing.On) Tracing.Enter("RemoteDebugger", method);
299if (Tracing.On) Tracing.Exit("RemoteDebugger", method);
317if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "NotifyServerCallExit", e);
System\Web\Services\Protocols\RequestResponse.cs (8)
56if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RequestResponseUtils), "GetEncoding", ex);
81if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RequestResponseUtils), "GetEncoding2", ex);
235if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(HttpUtility), "HtmlDecode", e);
240if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(HttpUtility), "HtmlDecode", e);
System\Web\Services\Protocols\Soap12ServerProtocol.cs (11)
50TraceMethod caller = Tracing.On ? new TraceMethod(this, "RouteRequest") : null;
54if (Tracing.On) Tracing.Enter("RouteRequest", caller, new TraceMethod(ServerType, "GetMethod", action), Tracing.Details(ServerProtocol.Request));
56if (Tracing.On) Tracing.Exit("RouteRequest", caller);
69if (Tracing.On) Tracing.Enter("RouteRequest", caller, new TraceMethod(ServerType, "GetMethod", requestElement), Tracing.Details(ServerProtocol.Request));
71if (Tracing.On) Tracing.Exit("RouteRequest", caller);
System\Web\Services\Protocols\SoapClientProtocol.cs (32)
51TraceMethod caller = Tracing.On ? new TraceMethod(this, ".ctor", type) : null;
52if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceCreateSerializer), caller, new TraceMethod(typeof(XmlSerializer), "FromMappings", xmlMappings, type));
54if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceCreateSerializer), caller);
403if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "InvokeAsyncCallback", e);
409if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "InvokeAsyncCallback", e);
446if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "InvokeAsync", e);
458if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "InvokeAsync", e);
574TraceMethod caller = Tracing.On ? new TraceMethod(this, "Serialize") : null;
576if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceWriteRequest), caller, new TraceMethod(method.parameterSerializer, "Serialize", writer, parameters, null, isEncoded ? encodingNs : null));
578if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceWriteRequest), caller);
674TraceMethod caller = Tracing.On ? new TraceMethod(this, "ReadResponse") : null;
676if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceReadResponse), caller, new TraceMethod(method.returnSerializer, "Deserialize", reader, isEncodedSoap ? encodingNs : null));
678bool useDeserializationEvents = !isEncodedSoap && (WebServicesSection.Current.SoapEnvelopeProcessing.IsStrict || Tracing.On);
680XmlDeserializationEvents events = Tracing.On ? Tracing.GetDeserializationEvents() : RuntimeUtils.GetDeserializationEvents();
687if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceReadResponse), caller);
System\Web\Services\Protocols\SoapHeader.cs (20)
250TraceMethod caller = Tracing.On ? new TraceMethod(this, "ReadHeaders") : null;
251if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceReadHeaders), caller, new TraceMethod(serializer, "Deserialize", reader, encodingStyle));
253if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceReadHeaders), caller);
341TraceMethod caller = Tracing.On ? new TraceMethod(typeof(SoapHeaderHandling), "WriteHeaders") : null;
342if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceWriteHeaders), caller, new TraceMethod(serializer, "Serialize", writer, headerArray, null, isEncoded ? encodingStyle : null, "h_"));
344if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceWriteHeaders), caller);
356if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceWriteHeaders), caller, new TraceMethod(headerSerializer, "Serialize", writer, header));
358if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceWriteHeaders), caller);
System\Web\Services\Protocols\SoapMessage.cs (13)
246TraceMethod caller = Tracing.On ? new TraceMethod(this, "RunExtensions", extensions, throwOnException) : null;
252if (Tracing.On) Tracing.Enter("SoapExtension", caller, new TraceMethod(extensions[i], "ProcessMessage", stage));
254if (Tracing.On) Tracing.Exit("SoapExtension", caller);
258if (Tracing.On) Tracing.ExceptionIgnore(TraceEventType.Warning, caller, Exception);
264if (Tracing.On) Tracing.Enter("SoapExtension", caller, new TraceMethod(extensions[i], "ProcessMessage", stage));
266if (Tracing.On) Tracing.Exit("SoapExtension", caller);
270if (Tracing.On) Tracing.ExceptionIgnore(TraceEventType.Warning, caller, Exception);
System\Web\Services\Protocols\SoapServerProtocol.cs (34)
113TraceMethod caller = Tracing.On ? new TraceMethod(this, ".ctor", type, protocolsSupported) : null;
114if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceCreateSerializer), caller, new TraceMethod(typeof(XmlSerializer), "FromMappings", xmlMappings, this.Evidence));
124if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceCreateSerializer), caller);
354if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Initialize", e);
398if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Initialize", e);
626TraceMethod caller = Tracing.On ? new TraceMethod(this, "ReadParameters") : null;
627if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceReadRequest), caller, new TraceMethod(serverMethod.parameterSerializer, "Deserialize", reader, serverMethod.use == SoapBindingUse.Encoded ? helper.EncodingNs : null));
629bool useDeserializationEvents = !isEncodedSoap && (WebServicesSection.Current.SoapEnvelopeProcessing.IsStrict || Tracing.On);
631XmlDeserializationEvents events = Tracing.On ? Tracing.GetDeserializationEvents() : RuntimeUtils.GetDeserializationEvents();
637if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceReadRequest), caller);
707TraceMethod caller = Tracing.On ? new TraceMethod(this, "WriteReturns") : null;
708if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceWriteResponse), caller, new TraceMethod(serverMethod.returnSerializer, "Serialize", writer, returnValues, null, isEncoded ? helper.EncodingNs : null));
710if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceWriteResponse), caller);
760if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "WriteException", ex);
776if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "WriteException", ex);
806if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "WriteException", ex);
System\Web\Services\Protocols\WebServiceHandler.cs (50)
105TraceMethod caller = Tracing.On ? new TraceMethod(this, "Invoke") : null;
106TraceMethod userMethod = Tracing.On ? new TraceMethod(protocol.Target, protocol.MethodInfo.Name, this.parameters) : null;
107if (Tracing.On) Tracing.Enter(protocol.MethodInfo.ToString(), caller, userMethod);
109if (Tracing.On) Tracing.Exit(protocol.MethodInfo.ToString(), caller);
116if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "Invoke", e);
141if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, string.IsNullOrEmpty(method) ? "HandleOneWayException" : method, e);
153callbackMethod = Tracing.On ? new TraceMethod(this, "ThrowInitException") : null;
158callbackMethod = Tracing.On ? transacted ? new TraceMethod(this, "OneWayInvokeTransacted") : new TraceMethod(this, "OneWayInvoke") : null;
161if (Tracing.On) Tracing.Information(Res.TracePostWorkItemIn, callbackMethod);
163if (Tracing.On) Tracing.Information(Res.TracePostWorkItemOut, callbackMethod);
180if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "CoreProcessRequest", e);
251TraceMethod callbackMethod = Tracing.On ? new TraceMethod(this, "OneWayAsyncInvoke") : null;
252if (Tracing.On) Tracing.Information(Res.TracePostWorkItemIn, callbackMethod);
254if (Tracing.On) Tracing.Information(Res.TracePostWorkItemOut, callbackMethod);
292TraceMethod caller = Tracing.On ? new TraceMethod(this, "BeginInvoke") : null;
293TraceMethod userMethod = Tracing.On ? new TraceMethod(protocol.Target, protocol.MethodInfo.Name, this.parameters) : null;
294if (Tracing.On) Tracing.Enter(protocol.MethodInfo.ToString(), caller, userMethod);
298if (Tracing.On) Tracing.Enter(protocol.MethodInfo.ToString(), caller);
306if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "BeginInvoke", e);
342if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "EndInvoke", e);
389TraceMethod method = Tracing.On ? new TraceMethod(this, "ProcessRequest") : null;
390if (Tracing.On) Tracing.Enter("IHttpHandler.ProcessRequest", method, Tracing.Details(context.Request));
394if (Tracing.On) Tracing.Exit("IHttpHandler.ProcessRequest", method);
407TraceMethod method = Tracing.On ? new TraceMethod(this, "BeginProcessRequest") : null;
408if (Tracing.On) Tracing.Enter("IHttpAsyncHandler.BeginProcessRequest", method, Tracing.Details(context.Request));
412if (Tracing.On) Tracing.Exit("IHttpAsyncHandler.BeginProcessRequest", method);
418TraceMethod method = Tracing.On ? new TraceMethod(this, "EndProcessRequest") : null;
419if (Tracing.On) Tracing.Enter("IHttpAsyncHandler.EndProcessRequest", method);
423if (Tracing.On) Tracing.Exit("IHttpAsyncHandler.EndProcessRequest", method);
System\Web\Services\Protocols\WebServiceHandlerFactory.cs (11)
63TraceMethod method = Tracing.On ? new TraceMethod(this, "GetHandler") : null;
64if (Tracing.On) Tracing.Enter("IHttpHandlerFactory.GetHandler", method, Tracing.Details(context.Request));
76if (Tracing.On) Tracing.Exit("IHttpHandlerFactory.GetHandler", method);
91TraceMethod caller = Tracing.On ? new TraceMethod(this, "CoreGetHandler") : null;
105throw Tracing.ExceptionThrow(caller, new InvalidOperationException(Res.GetString(Res.FailedToHandleRequest0), e));
114throw Tracing.ExceptionThrow(caller, new InvalidOperationException(Res.GetString(Res.WebUnrecognizedRequestFormatUrl,
118throw Tracing.ExceptionThrow(caller, new InvalidOperationException(Res.GetString(Res.WebUnrecognizedRequestFormat)));
122throw Tracing.ExceptionThrow(caller, new HttpException(((UnsupportedRequestProtocol)protocol).HttpCode, Res.GetString(Res.WebUnrecognizedRequestFormat)));
System\Web\Services\Protocols\XmlReturnReader.cs (14)
48TraceMethod caller = Tracing.On ? new TraceMethod(typeof(XmlReturn), "GetInitializers", methodInfos) : null;
49if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceCreateSerializer), caller, new TraceMethod(typeof(XmlSerializer), "FromMappings", xmlMappings, evidence));
62if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceCreateSerializer), caller);
120TraceMethod caller = Tracing.On ? new TraceMethod(this, "Read") : null;
121if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceReadResponse), caller, new TraceMethod(xmlSerializer, "Deserialize", reader));
123if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceReadResponse), caller);