Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / ComponentModel / CompModSwitches.cs / 1305376 / CompModSwitches.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Diagnostics; ///internal sealed class CompModSwitches { private static BooleanSwitch dynamicDiscoVirtualSearch; private static TraceSwitch dynamicDiscoSearcher; private static BooleanSwitch disableRemoteDebugging; private static TraceSwitch remote; public static BooleanSwitch DisableRemoteDebugging { get { if (disableRemoteDebugging == null) { disableRemoteDebugging = new BooleanSwitch("Remote.Disable", "Disable remote debugging for web methods."); } return disableRemoteDebugging; } } public static TraceSwitch DynamicDiscoverySearcher { get { if (dynamicDiscoSearcher == null) { dynamicDiscoSearcher = new TraceSwitch("DynamicDiscoverySearcher", "Enable tracing for the DynamicDiscoverySearcher class."); } return dynamicDiscoSearcher; } } public static BooleanSwitch DynamicDiscoveryVirtualSearch { get { if (dynamicDiscoVirtualSearch == null) { dynamicDiscoVirtualSearch = new BooleanSwitch("DynamicDiscoveryVirtualSearch", "Force virtual search for DiscoveryRequestHandler class."); } return dynamicDiscoVirtualSearch; } } public static TraceSwitch Remote { get { if (remote == null) { remote = new TraceSwitch("Microsoft.WFC.Remote", "Enable tracing for remote method calls."); } return remote; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Diagnostics; ///internal sealed class CompModSwitches { private static BooleanSwitch dynamicDiscoVirtualSearch; private static TraceSwitch dynamicDiscoSearcher; private static BooleanSwitch disableRemoteDebugging; private static TraceSwitch remote; public static BooleanSwitch DisableRemoteDebugging { get { if (disableRemoteDebugging == null) { disableRemoteDebugging = new BooleanSwitch("Remote.Disable", "Disable remote debugging for web methods."); } return disableRemoteDebugging; } } public static TraceSwitch DynamicDiscoverySearcher { get { if (dynamicDiscoSearcher == null) { dynamicDiscoSearcher = new TraceSwitch("DynamicDiscoverySearcher", "Enable tracing for the DynamicDiscoverySearcher class."); } return dynamicDiscoSearcher; } } public static BooleanSwitch DynamicDiscoveryVirtualSearch { get { if (dynamicDiscoVirtualSearch == null) { dynamicDiscoVirtualSearch = new BooleanSwitch("DynamicDiscoveryVirtualSearch", "Force virtual search for DiscoveryRequestHandler class."); } return dynamicDiscoVirtualSearch; } } public static TraceSwitch Remote { get { if (remote == null) { remote = new TraceSwitch("Microsoft.WFC.Remote", "Enable tracing for remote method calls."); } return remote; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LayoutTableCell.cs
- BitSet.cs
- ClientSettingsSection.cs
- CollectionsUtil.cs
- TypeConverterValueSerializer.cs
- SqlLiftIndependentRowExpressions.cs
- ErrorTableItemStyle.cs
- ListViewCommandEventArgs.cs
- GridLengthConverter.cs
- UnsafeNativeMethodsPenimc.cs
- CngProvider.cs
- DateTimeFormatInfoScanner.cs
- XmlTypeAttribute.cs
- XamlSerializerUtil.cs
- SqlConnectionFactory.cs
- BamlBinaryWriter.cs
- XmlUnspecifiedAttribute.cs
- ServiceSecurityAuditBehavior.cs
- RawStylusInputCustomDataList.cs
- FileRegion.cs
- AnnotationObservableCollection.cs
- SqlConnectionFactory.cs
- Stopwatch.cs
- MembershipUser.cs
- ConfigXmlWhitespace.cs
- FreezableCollection.cs
- Aggregates.cs
- PassportAuthentication.cs
- Connector.cs
- PolicyLevel.cs
- SerializableTypeCodeDomSerializer.cs
- ThumbAutomationPeer.cs
- WebControl.cs
- StylusPlugin.cs
- SystemNetHelpers.cs
- _NegoStream.cs
- ResourceDisplayNameAttribute.cs
- OdbcHandle.cs
- UriTemplateTrieNode.cs
- PropertyGrid.cs
- VisualStateManager.cs
- WebPartConnectionsCancelVerb.cs
- BooleanAnimationBase.cs
- DbParameterCollectionHelper.cs
- ModifiableIteratorCollection.cs
- DynamicUpdateCommand.cs
- DbConnectionOptions.cs
- StyleXamlParser.cs
- WebServiceMethodData.cs
- path.cs
- Utility.cs
- FormsAuthenticationCredentials.cs
- PropertyStore.cs
- WaitHandle.cs
- EndpointInfoCollection.cs
- SymbolEqualComparer.cs
- DllNotFoundException.cs
- NegationPusher.cs
- BitmapFrameDecode.cs
- ButtonFieldBase.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DrawingContextWalker.cs
- NegatedConstant.cs
- HttpCookieCollection.cs
- TrustManagerMoreInformation.cs
- RegexFCD.cs
- TextElementEnumerator.cs
- VirtualPathProvider.cs
- TypePropertyEditor.cs
- TimelineCollection.cs
- EmptyControlCollection.cs
- AssemblyFilter.cs
- ServiceModelSectionGroup.cs
- UInt16Storage.cs
- MessagePropertyAttribute.cs
- AutomationElement.cs
- PresentationSource.cs
- DurableInstanceProvider.cs
- SkewTransform.cs
- SrgsRule.cs
- SystemBrushes.cs
- SqlInternalConnection.cs
- Transform3DCollection.cs
- Encoding.cs
- ChannelBuilder.cs
- HtmlElementErrorEventArgs.cs
- LockedHandleGlyph.cs
- StringReader.cs
- ResourceDefaultValueAttribute.cs
- ScriptManagerProxy.cs
- TextTabProperties.cs
- SqlProfileProvider.cs
- UnsafeNativeMethods.cs
- DeclaredTypeElement.cs
- CodeMemberProperty.cs
- FileDialog_Vista_Interop.cs
- CommandBindingCollection.cs
- printdlgexmarshaler.cs
- XPathPatternBuilder.cs
- DeferrableContent.cs