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
- FolderBrowserDialog.cs
- OleDbTransaction.cs
- TraceSection.cs
- SqlAliasesReferenced.cs
- WindowManager.cs
- ApplicationDirectory.cs
- WebPartRestoreVerb.cs
- ClientRoleProvider.cs
- NonVisualControlAttribute.cs
- GatewayDefinition.cs
- QilXmlReader.cs
- StyleTypedPropertyAttribute.cs
- SqlParameterCollection.cs
- XsltContext.cs
- QueryableDataSourceView.cs
- BindingNavigator.cs
- WindowsAuthenticationEventArgs.cs
- DbMetaDataColumnNames.cs
- ListSourceHelper.cs
- CustomSignedXml.cs
- StandardOleMarshalObject.cs
- FilteredAttributeCollection.cs
- X509KeyIdentifierClauseType.cs
- CopyOnWriteList.cs
- Panel.cs
- PropertyEntry.cs
- StringArrayConverter.cs
- EncodingInfo.cs
- ViewgenContext.cs
- ErrorFormatter.cs
- ReachDocumentSequenceSerializer.cs
- Viewport3DAutomationPeer.cs
- CoreChannel.cs
- DocumentReference.cs
- WarningException.cs
- TreeWalkHelper.cs
- EncryptedPackage.cs
- ReversePositionQuery.cs
- DocumentViewerHelper.cs
- RuntimeResourceSet.cs
- StylusEventArgs.cs
- ExtendedPropertyDescriptor.cs
- SwitchAttribute.cs
- WorkflowDefinitionDispenser.cs
- QueryCoreOp.cs
- FormViewAutoFormat.cs
- SubstitutionList.cs
- DispatcherOperation.cs
- AutomationFocusChangedEventArgs.cs
- CompareValidator.cs
- ScriptControlDescriptor.cs
- XmlAtomicValue.cs
- DataBoundControlParameterTarget.cs
- NativeMethods.cs
- MonthCalendar.cs
- IsolatedStorage.cs
- AssemblyBuilderData.cs
- DllNotFoundException.cs
- AccessDataSourceView.cs
- UnsafeNetInfoNativeMethods.cs
- DbgUtil.cs
- XmlSerializationReader.cs
- ErrorFormatterPage.cs
- XmlNodeChangedEventManager.cs
- SystemEvents.cs
- AutomationPropertyInfo.cs
- StreamResourceInfo.cs
- CompModSwitches.cs
- DrawingVisualDrawingContext.cs
- OutputCacheProfile.cs
- ReferentialConstraint.cs
- KnownTypeAttribute.cs
- PointAnimation.cs
- ObjectHelper.cs
- WindowsListViewSubItem.cs
- TreeView.cs
- ConnectionsZone.cs
- XPathNode.cs
- IndependentlyAnimatedPropertyMetadata.cs
- SByteStorage.cs
- TouchEventArgs.cs
- BitmapCache.cs
- Accessible.cs
- TextCompositionManager.cs
- BufferedStream.cs
- NextPreviousPagerField.cs
- StylusPointPropertyInfoDefaults.cs
- RelationshipConverter.cs
- DesignerTransaction.cs
- ListViewTableCell.cs
- ConfigurationValidatorBase.cs
- Cursors.cs
- ZipIOFileItemStream.cs
- IndicCharClassifier.cs
- SqlIdentifier.cs
- BindingsCollection.cs
- ExceptionUtil.cs
- FixedDSBuilder.cs
- HtmlMobileTextWriter.cs
- WindowsListBox.cs