163 references to On
System.Web.Services (163)
System\Web\Services\Discovery\ContractReference.cs (3)
117
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "LoadExternals", e);
241
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Resolve", e);
256
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Resolve", e);
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (3)
403
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "ResolveAll", e);
416
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "ResolveAll", e);
444
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "ResolveOneLevel", e);
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (1)
276
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "ResolveAll", e);
System\Web\Services\Discovery\DiscoveryReference.cs (1)
161
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "AttemptResolve", e);
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (4)
40
TraceMethod method = Tracing.
On
? new TraceMethod(this, "ProcessRequest") : null;
41
if (Tracing.
On
) Tracing.Enter("IHttpHandler.ProcessRequest", method, Tracing.Details(context.Request));
116
if (Tracing.
On
) Tracing.Exit("IHttpHandler.ProcessRequest", method);
119
if (Tracing.
On
) Tracing.Exit("IHttpHandler.ProcessRequest", method);
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
135
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "GetPhysicalDir", e);
System\Web\Services\Discovery\SchemaReference.cs (1)
98
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "GetSchema", e);
System\Web\Services\Protocols\ClientProtocol.cs (7)
256
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, typeof(WebClientProtocol), method, e);
442
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "GetWebResponse") : null;
445
if (Tracing.
On
) Tracing.Enter("WebRequest.GetResponse", caller, new TraceMethod(request, "GetResponse"));
447
if (Tracing.
On
) Tracing.Exit("WebRequest.GetResponse", caller);
453
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "GetWebResponse", e);
619
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "Complete", e);
634
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "Complete", e);
System\Web\Services\Protocols\DocumentationServerProtocol.cs (3)
132
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "Initialize") : null;
133
if (Tracing.
On
) Tracing.Enter("ASP.NET", caller, new TraceMethod(typeof(PageParser), "GetCompiledPageInstance", config.WsdlHelpGenerator.HelpGeneratorVirtualPath, config.WsdlHelpGenerator.HelpGeneratorPath, Context));
138
if (Tracing.
On
) Tracing.Exit("ASP.NET", caller);
System\Web\Services\Protocols\HttpClientProtocol.cs (3)
260
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "InvokeAsyncCallback", e);
290
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "InvokeAsync", e);
311
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "InvokeAsync", e);
System\Web\Services\Protocols\RemoteDebugger.cs (32)
58
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "IsClientCallOutEnabled", e);
80
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "IsServerCallInEnabled", e);
94
TraceMethod method = Tracing.
On
? new TraceMethod(typeof(RemoteDebugger), "get_Connection") : null;
95
if (Tracing.
On
) Tracing.Enter("RemoteDebugger", method);
104
if (Tracing.
On
) Tracing.Exit("RemoteDebugger", method);
122
TraceMethod method = Tracing.
On
? new TraceMethod(this, "get_NotifySink") : null;
123
if (Tracing.
On
) Tracing.Enter("RemoteDebugger", method);
127
if (Tracing.
On
) Tracing.Exit("RemoteDebugger", method);
137
TraceMethod method = Tracing.
On
? new TraceMethod(typeof(RemoteDebugger), "CloseSharedResources") : null;
138
if (Tracing.
On
) Tracing.Enter("RemoteDebugger", method);
147
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "CloseSharedResources", e);
149
if (Tracing.
On
) Tracing.Exit("RemoteDebugger", method);
160
TraceMethod method = Tracing.
On
? new TraceMethod(this, "Close") : null;
161
if (Tracing.
On
) Tracing.Enter("RemoteDebugger", method);
170
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, method, e);
172
if (Tracing.
On
) Tracing.Exit("RemoteDebugger", method);
189
TraceMethod method = Tracing.
On
? new TraceMethod(this, "NotifyClientCallOut") : null;
190
if (Tracing.
On
) Tracing.Enter("RemoteDebugger", method);
194
if (Tracing.
On
) Tracing.Exit("RemoteDebugger", method);
212
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "NotifyClientCallOut", e);
230
TraceMethod method = Tracing.
On
? new TraceMethod(this, "NotifyClientCallReturn") : null;
231
if (Tracing.
On
) Tracing.Enter("RemoteDebugger", method);
235
if (Tracing.
On
) Tracing.Exit("RemoteDebugger", method);
241
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "NotifyClientCallReturn", e);
269
TraceMethod method = Tracing.
On
? new TraceMethod(this, "NotifyServerCallEnter") : null;
270
if (Tracing.
On
) Tracing.Enter("RemoteDebugger", method);
274
if (Tracing.
On
) Tracing.Exit("RemoteDebugger", method);
280
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "NotifyServerCallEnter", e);
294
TraceMethod method = Tracing.
On
? new TraceMethod(this, "NotifyServerCallExit") : null;
295
if (Tracing.
On
) Tracing.Enter("RemoteDebugger", method);
299
if (Tracing.
On
) Tracing.Exit("RemoteDebugger", method);
317
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RemoteDebugger), "NotifyServerCallExit", e);
System\Web\Services\Protocols\RequestResponse.cs (4)
56
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RequestResponseUtils), "GetEncoding", ex);
81
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(RequestResponseUtils), "GetEncoding2", ex);
235
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(HttpUtility), "HtmlDecode", e);
240
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(HttpUtility), "HtmlDecode", e);
System\Web\Services\Protocols\ServerProtocol.cs (1)
318
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Create", e);
System\Web\Services\Protocols\Soap11ServerProtocol.cs (3)
73
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "RouteRequest") : null;
74
if (Tracing.
On
) Tracing.Enter("RouteRequest", caller, new TraceMethod(ServerType, "GetMethod", methodKey), Tracing.Details(ServerProtocol.Request));
76
if (Tracing.
On
) Tracing.Exit("RouteRequest", caller);
System\Web\Services\Protocols\Soap12ServerProtocol.cs (5)
50
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "RouteRequest") : null;
54
if (Tracing.
On
) Tracing.Enter("RouteRequest", caller, new TraceMethod(ServerType, "GetMethod", action), Tracing.Details(ServerProtocol.Request));
56
if (Tracing.
On
) Tracing.Exit("RouteRequest", caller);
69
if (Tracing.
On
) Tracing.Enter("RouteRequest", caller, new TraceMethod(ServerType, "GetMethod", requestElement), Tracing.Details(ServerProtocol.Request));
71
if (Tracing.
On
) Tracing.Exit("RouteRequest", caller);
System\Web\Services\Protocols\SoapClientProtocol.cs (15)
51
TraceMethod caller = Tracing.
On
? new TraceMethod(this, ".ctor", type) : null;
52
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceCreateSerializer), caller, new TraceMethod(typeof(XmlSerializer), "FromMappings", xmlMappings, type));
54
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceCreateSerializer), caller);
403
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "InvokeAsyncCallback", e);
409
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "InvokeAsyncCallback", e);
446
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "InvokeAsync", e);
458
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "InvokeAsync", e);
574
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "Serialize") : null;
576
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceWriteRequest), caller, new TraceMethod(method.parameterSerializer, "Serialize", writer, parameters, null, isEncoded ? encodingNs : null));
578
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceWriteRequest), caller);
674
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "ReadResponse") : null;
676
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceReadResponse), caller, new TraceMethod(method.returnSerializer, "Deserialize", reader, isEncodedSoap ? encodingNs : null));
678
bool useDeserializationEvents = !isEncodedSoap && (WebServicesSection.Current.SoapEnvelopeProcessing.IsStrict || Tracing.
On
);
680
XmlDeserializationEvents events = Tracing.
On
? Tracing.GetDeserializationEvents() : RuntimeUtils.GetDeserializationEvents();
687
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceReadResponse), caller);
System\Web\Services\Protocols\SoapHeader.cs (8)
250
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "ReadHeaders") : null;
251
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceReadHeaders), caller, new TraceMethod(serializer, "Deserialize", reader, encodingStyle));
253
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceReadHeaders), caller);
341
TraceMethod caller = Tracing.
On
? new TraceMethod(typeof(SoapHeaderHandling), "WriteHeaders") : null;
342
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceWriteHeaders), caller, new TraceMethod(serializer, "Serialize", writer, headerArray, null, isEncoded ? encodingStyle : null, "h_"));
344
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceWriteHeaders), caller);
356
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceWriteHeaders), caller, new TraceMethod(headerSerializer, "Serialize", writer, header));
358
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceWriteHeaders), caller);
System\Web\Services\Protocols\SoapMessage.cs (7)
246
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "RunExtensions", extensions, throwOnException) : null;
252
if (Tracing.
On
) Tracing.Enter("SoapExtension", caller, new TraceMethod(extensions[i], "ProcessMessage", stage));
254
if (Tracing.
On
) Tracing.Exit("SoapExtension", caller);
258
if (Tracing.
On
) Tracing.ExceptionIgnore(TraceEventType.Warning, caller, Exception);
264
if (Tracing.
On
) Tracing.Enter("SoapExtension", caller, new TraceMethod(extensions[i], "ProcessMessage", stage));
266
if (Tracing.
On
) Tracing.Exit("SoapExtension", caller);
270
if (Tracing.
On
) Tracing.ExceptionIgnore(TraceEventType.Warning, caller, Exception);
System\Web\Services\Protocols\SoapServerMethod.cs (3)
252
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "ImportSerializers") : null;
253
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceCreateSerializer), caller, new TraceMethod(typeof(XmlSerializer), "FromMappings", xmlMappings, serverEvidence));
263
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceCreateSerializer), caller);
System\Web\Services\Protocols\SoapServerProtocol.cs (16)
113
TraceMethod caller = Tracing.
On
? new TraceMethod(this, ".ctor", type, protocolsSupported) : null;
114
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceCreateSerializer), caller, new TraceMethod(typeof(XmlSerializer), "FromMappings", xmlMappings, this.Evidence));
124
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceCreateSerializer), caller);
354
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Initialize", e);
398
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Initialize", e);
626
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "ReadParameters") : null;
627
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceReadRequest), caller, new TraceMethod(serverMethod.parameterSerializer, "Deserialize", reader, serverMethod.use == SoapBindingUse.Encoded ? helper.EncodingNs : null));
629
bool useDeserializationEvents = !isEncodedSoap && (WebServicesSection.Current.SoapEnvelopeProcessing.IsStrict || Tracing.
On
);
631
XmlDeserializationEvents events = Tracing.
On
? Tracing.GetDeserializationEvents() : RuntimeUtils.GetDeserializationEvents();
637
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceReadRequest), caller);
707
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "WriteReturns") : null;
708
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceWriteResponse), caller, new TraceMethod(serverMethod.returnSerializer, "Serialize", writer, returnValues, null, isEncoded ? helper.EncodingNs : null));
710
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceWriteResponse), caller);
760
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "WriteException", ex);
776
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "WriteException", ex);
806
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Warning, this, "WriteException", ex);
System\Web\Services\Protocols\WebServiceHandler.cs (29)
105
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "Invoke") : null;
106
TraceMethod userMethod = Tracing.
On
? new TraceMethod(protocol.Target, protocol.MethodInfo.Name, this.parameters) : null;
107
if (Tracing.
On
) Tracing.Enter(protocol.MethodInfo.ToString(), caller, userMethod);
109
if (Tracing.
On
) Tracing.Exit(protocol.MethodInfo.ToString(), caller);
116
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "Invoke", e);
141
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, string.IsNullOrEmpty(method) ? "HandleOneWayException" : method, e);
153
callbackMethod = Tracing.
On
? new TraceMethod(this, "ThrowInitException") : null;
158
callbackMethod = Tracing.
On
? transacted ? new TraceMethod(this, "OneWayInvokeTransacted") : new TraceMethod(this, "OneWayInvoke") : null;
161
if (Tracing.
On
) Tracing.Information(Res.TracePostWorkItemIn, callbackMethod);
163
if (Tracing.
On
) Tracing.Information(Res.TracePostWorkItemOut, callbackMethod);
180
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "CoreProcessRequest", e);
251
TraceMethod callbackMethod = Tracing.
On
? new TraceMethod(this, "OneWayAsyncInvoke") : null;
252
if (Tracing.
On
) Tracing.Information(Res.TracePostWorkItemIn, callbackMethod);
254
if (Tracing.
On
) Tracing.Information(Res.TracePostWorkItemOut, callbackMethod);
292
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "BeginInvoke") : null;
293
TraceMethod userMethod = Tracing.
On
? new TraceMethod(protocol.Target, protocol.MethodInfo.Name, this.parameters) : null;
294
if (Tracing.
On
) Tracing.Enter(protocol.MethodInfo.ToString(), caller, userMethod);
298
if (Tracing.
On
) Tracing.Enter(protocol.MethodInfo.ToString(), caller);
306
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "BeginInvoke", e);
342
if (Tracing.
On
) Tracing.ExceptionCatch(TraceEventType.Error, this, "EndInvoke", e);
389
TraceMethod method = Tracing.
On
? new TraceMethod(this, "ProcessRequest") : null;
390
if (Tracing.
On
) Tracing.Enter("IHttpHandler.ProcessRequest", method, Tracing.Details(context.Request));
394
if (Tracing.
On
) Tracing.Exit("IHttpHandler.ProcessRequest", method);
407
TraceMethod method = Tracing.
On
? new TraceMethod(this, "BeginProcessRequest") : null;
408
if (Tracing.
On
) Tracing.Enter("IHttpAsyncHandler.BeginProcessRequest", method, Tracing.Details(context.Request));
412
if (Tracing.
On
) Tracing.Exit("IHttpAsyncHandler.BeginProcessRequest", method);
418
TraceMethod method = Tracing.
On
? new TraceMethod(this, "EndProcessRequest") : null;
419
if (Tracing.
On
) Tracing.Enter("IHttpAsyncHandler.EndProcessRequest", method);
423
if (Tracing.
On
) Tracing.Exit("IHttpAsyncHandler.EndProcessRequest", method);
System\Web\Services\Protocols\WebServiceHandlerFactory.cs (4)
63
TraceMethod method = Tracing.
On
? new TraceMethod(this, "GetHandler") : null;
64
if (Tracing.
On
) Tracing.Enter("IHttpHandlerFactory.GetHandler", method, Tracing.Details(context.Request));
76
if (Tracing.
On
) Tracing.Exit("IHttpHandlerFactory.GetHandler", method);
91
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "CoreGetHandler") : null;
System\Web\Services\Protocols\XmlReturnReader.cs (6)
48
TraceMethod caller = Tracing.
On
? new TraceMethod(typeof(XmlReturn), "GetInitializers", methodInfos) : null;
49
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceCreateSerializer), caller, new TraceMethod(typeof(XmlSerializer), "FromMappings", xmlMappings, evidence));
62
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceCreateSerializer), caller);
120
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "Read") : null;
121
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceReadResponse), caller, new TraceMethod(xmlSerializer, "Deserialize", reader));
123
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceReadResponse), caller);
System\Web\Services\Protocols\XmlReturnWriter.cs (3)
37
TraceMethod caller = Tracing.
On
? new TraceMethod(this, "Write") : null;
38
if (Tracing.
On
) Tracing.Enter(Tracing.TraceId(Res.TraceWriteResponse), caller, new TraceMethod(xmlSerializer, "Serialize", writer, returnValue));
40
if (Tracing.
On
) Tracing.Exit(Tracing.TraceId(Res.TraceWriteResponse), caller);