Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / ExeContext.cs / 1 / ExeContext.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; namespace System.Configuration { // ExeContext // // Represents the ExeContext that we are running within // public sealed class ExeContext { private ConfigurationUserLevel _userContext; private string _exePath; // Constructor // // Constructor // internal ExeContext( ConfigurationUserLevel userContext, string exePath ) { _userContext = userContext; _exePath = exePath; } // UserLevel // // The ConfigurationUserLevel that we are running within. // // Note: ConfigurationUserLevel.None will be set for machine.config // and the applicationconfig file. Use IsMachineConfig in // ConfigurationContext, to determine the difference. // public ConfigurationUserLevel UserLevel { get { return _userContext; } } // ExePath // // What is the full path to the exe that we are running for? // public string ExePath { get { return _exePath; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; namespace System.Configuration { // ExeContext // // Represents the ExeContext that we are running within // public sealed class ExeContext { private ConfigurationUserLevel _userContext; private string _exePath; // Constructor // // Constructor // internal ExeContext( ConfigurationUserLevel userContext, string exePath ) { _userContext = userContext; _exePath = exePath; } // UserLevel // // The ConfigurationUserLevel that we are running within. // // Note: ConfigurationUserLevel.None will be set for machine.config // and the applicationconfig file. Use IsMachineConfig in // ConfigurationContext, to determine the difference. // public ConfigurationUserLevel UserLevel { get { return _userContext; } } // ExePath // // What is the full path to the exe that we are running for? // public string ExePath { get { return _exePath; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NativeConfigurationLoader.cs
- URIFormatException.cs
- FrameworkTextComposition.cs
- ServicePointManagerElement.cs
- SpoolingTask.cs
- SelectionPatternIdentifiers.cs
- XmlTextAttribute.cs
- XmlSchemaAttributeGroupRef.cs
- StructuredTypeEmitter.cs
- OdbcRowUpdatingEvent.cs
- SecurityContextSecurityTokenResolver.cs
- DecodeHelper.cs
- IList.cs
- WindowHideOrCloseTracker.cs
- LoginDesignerUtil.cs
- Choices.cs
- CacheChildrenQuery.cs
- RadioButtonAutomationPeer.cs
- EntityClientCacheKey.cs
- Triplet.cs
- NamespaceDecl.cs
- WindowsTitleBar.cs
- ElementMarkupObject.cs
- SchemaInfo.cs
- ListItem.cs
- SecurityResources.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- Size3D.cs
- OverrideMode.cs
- MatrixConverter.cs
- TextRange.cs
- OptimizerPatterns.cs
- DeferredElementTreeState.cs
- CleanUpVirtualizedItemEventArgs.cs
- DataGridHeaderBorder.cs
- WmlValidationSummaryAdapter.cs
- NopReturnReader.cs
- ButtonField.cs
- InlinedLocationReference.cs
- XmlBinaryWriter.cs
- DPCustomTypeDescriptor.cs
- ProvideValueServiceProvider.cs
- AccessedThroughPropertyAttribute.cs
- TemplateBindingExpressionConverter.cs
- SchemaNotation.cs
- SecurityKeyUsage.cs
- ConstrainedDataObject.cs
- ReadOnlyDataSource.cs
- TableParagraph.cs
- ParserContext.cs
- EllipseGeometry.cs
- ContainerVisual.cs
- HtmlInputText.cs
- UnescapedXmlDiagnosticData.cs
- FunctionMappingTranslator.cs
- WhitespaceSignificantCollectionAttribute.cs
- PackagePart.cs
- XsltInput.cs
- RegexTypeEditor.cs
- PageClientProxyGenerator.cs
- DataGridTemplateColumn.cs
- SmiEventSink_Default.cs
- StorageTypeMapping.cs
- Executor.cs
- GeometryGroup.cs
- _CookieModule.cs
- ParameterSubsegment.cs
- DCSafeHandle.cs
- HttpStreamMessage.cs
- ToolStripDropDown.cs
- ProxyHwnd.cs
- ApplicationFileParser.cs
- Selection.cs
- OrderPreservingPipeliningMergeHelper.cs
- StorageEntityTypeMapping.cs
- EditingCommands.cs
- ToolboxDataAttribute.cs
- SqlServer2KCompatibilityCheck.cs
- OdbcConnectionString.cs
- ItemCollection.cs
- ManipulationStartingEventArgs.cs
- StringAnimationUsingKeyFrames.cs
- VectorCollectionConverter.cs
- RelAssertionDirectKeyIdentifierClause.cs
- FormDesigner.cs
- WorkflowRuntimeEndpoint.cs
- codemethodreferenceexpression.cs
- PersistenceProviderFactory.cs
- ImmutableAssemblyCacheEntry.cs
- XmlTypeAttribute.cs
- RelatedView.cs
- EdmEntityTypeAttribute.cs
- AutoGeneratedField.cs
- TableSectionStyle.cs
- LinkButton.cs
- DetailsViewRowCollection.cs
- TypeBrowser.xaml.cs
- AuthenticatingEventArgs.cs
- DbConnectionStringBuilder.cs
- ToolStripDropDownMenu.cs