163 references to On
System.Web.Services (163)
System\Web\Services\Discovery\ContractReference.cs (3)
117if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "LoadExternals", e); 241if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Resolve", e); 256if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Resolve", e);
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (3)
403if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "ResolveAll", e); 416if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "ResolveAll", e); 444if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "ResolveOneLevel", e);
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (1)
276if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "ResolveAll", e);
System\Web\Services\Discovery\DiscoveryReference.cs (1)
161if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "AttemptResolve", e);
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (4)
40TraceMethod method = Tracing.On ? new TraceMethod(this, "ProcessRequest") : null; 41if (Tracing.On) Tracing.Enter("IHttpHandler.ProcessRequest", method, Tracing.Details(context.Request)); 116if (Tracing.On) Tracing.Exit("IHttpHandler.ProcessRequest", method); 119if (Tracing.On) Tracing.Exit("IHttpHandler.ProcessRequest", method);
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
135if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "GetPhysicalDir", e);
System\Web\Services\Discovery\SchemaReference.cs (1)
98if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "GetSchema", e);
System\Web\Services\Protocols\ClientProtocol.cs (7)
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\DocumentationServerProtocol.cs (3)
132TraceMethod caller = Tracing.On ? new TraceMethod(this, "Initialize") : null; 133if (Tracing.On) Tracing.Enter("ASP.NET", caller, new TraceMethod(typeof(PageParser), "GetCompiledPageInstance", config.WsdlHelpGenerator.HelpGeneratorVirtualPath, config.WsdlHelpGenerator.HelpGeneratorPath, Context)); 138if (Tracing.On) Tracing.Exit("ASP.NET", caller);
System\Web\Services\Protocols\HttpClientProtocol.cs (3)
260if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "InvokeAsyncCallback", e); 290if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "InvokeAsync", e); 311if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, "InvokeAsync", e);
System\Web\Services\Protocols\RemoteDebugger.cs (32)
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 (4)
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\ServerProtocol.cs (1)
318if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, this, "Create", e);
System\Web\Services\Protocols\Soap11ServerProtocol.cs (3)
73TraceMethod caller = Tracing.On ? new TraceMethod(this, "RouteRequest") : null; 74if (Tracing.On) Tracing.Enter("RouteRequest", caller, new TraceMethod(ServerType, "GetMethod", methodKey), Tracing.Details(ServerProtocol.Request)); 76if (Tracing.On) Tracing.Exit("RouteRequest", caller);
System\Web\Services\Protocols\Soap12ServerProtocol.cs (5)
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 (15)
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 (8)
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 (7)
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\SoapServerMethod.cs (3)
252TraceMethod caller = Tracing.On ? new TraceMethod(this, "ImportSerializers") : null; 253if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceCreateSerializer), caller, new TraceMethod(typeof(XmlSerializer), "FromMappings", xmlMappings, serverEvidence)); 263if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceCreateSerializer), caller);
System\Web\Services\Protocols\SoapServerProtocol.cs (16)
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 (29)
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 (4)
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;
System\Web\Services\Protocols\XmlReturnReader.cs (6)
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);
System\Web\Services\Protocols\XmlReturnWriter.cs (3)
37TraceMethod caller = Tracing.On ? new TraceMethod(this, "Write") : null; 38if (Tracing.On) Tracing.Enter(Tracing.TraceId(Res.TraceWriteResponse), caller, new TraceMethod(xmlSerializer, "Serialize", writer, returnValue)); 40if (Tracing.On) Tracing.Exit(Tracing.TraceId(Res.TraceWriteResponse), caller);