Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ModelVisual3D.cs
- Inflater.cs
- WrapPanel.cs
- SerialErrors.cs
- Rotation3DAnimation.cs
- KeyEventArgs.cs
- PageThemeCodeDomTreeGenerator.cs
- PageCatalogPart.cs
- ObjectDataSourceStatusEventArgs.cs
- DataControlFieldTypeEditor.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- DbModificationClause.cs
- SchemaConstraints.cs
- ReliableSessionBindingElement.cs
- MgmtConfigurationRecord.cs
- DiscoveryClientChannelFactory.cs
- ConfigurationManagerInternalFactory.cs
- HexParser.cs
- ControllableStoryboardAction.cs
- RightsManagementEncryptedStream.cs
- XmlSchemaGroupRef.cs
- FileLoadException.cs
- FrameworkTemplate.cs
- uribuilder.cs
- CodeExpressionRuleDeclaration.cs
- XmlElementList.cs
- IncrementalCompileAnalyzer.cs
- XPathNodeHelper.cs
- InvalidAsynchronousStateException.cs
- RsaKeyGen.cs
- XslNumber.cs
- DrawingContextWalker.cs
- Formatter.cs
- AuthorizationRuleCollection.cs
- IconBitmapDecoder.cs
- ErrorHandler.cs
- SoapCodeExporter.cs
- HebrewCalendar.cs
- UnaryQueryOperator.cs
- LambdaCompiler.Address.cs
- Point3D.cs
- DomainUpDown.cs
- PageClientProxyGenerator.cs
- LocationSectionRecord.cs
- smtpconnection.cs
- TemplatedEditableDesignerRegion.cs
- DispatcherObject.cs
- SqlWebEventProvider.cs
- XsdBuilder.cs
- DataServiceRequestOfT.cs
- AttachmentCollection.cs
- XmlSchemaValidator.cs
- XmlExtensionFunction.cs
- MissingMemberException.cs
- HttpMethodConstraint.cs
- ObjectTag.cs
- localization.cs
- TextEditorTables.cs
- TokenBasedSet.cs
- TextSelection.cs
- KernelTypeValidation.cs
- OperationCanceledException.cs
- SystemException.cs
- HttpCookieCollection.cs
- CodeDomLoader.cs
- TransformationRules.cs
- X509Certificate.cs
- GridViewDeletedEventArgs.cs
- DirectionalLight.cs
- FixedSOMTable.cs
- CoTaskMemSafeHandle.cs
- TraceSection.cs
- RelationshipType.cs
- SystemIcmpV6Statistics.cs
- Mapping.cs
- RuntimeWrappedException.cs
- RenderContext.cs
- MimeFormatter.cs
- BufferedGraphicsContext.cs
- HttpHandlerAction.cs
- ObjectDisposedException.cs
- RemoveStoryboard.cs
- ConnectionsZone.cs
- CompiledQuery.cs
- filewebrequest.cs
- SymLanguageType.cs
- WebPartEditVerb.cs
- EntityParameterCollection.cs
- StylusOverProperty.cs
- XslCompiledTransform.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- FieldBuilder.cs
- RemoteDebugger.cs
- TdsRecordBufferSetter.cs
- ConfigDefinitionUpdates.cs
- DrawListViewItemEventArgs.cs
- WebMethodAttribute.cs
- JournalEntry.cs
- SecurityProtocolCorrelationState.cs
- TypedServiceOperationListItem.cs