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
- PersonalizablePropertyEntry.cs
- SynchronizationHandlesCodeDomSerializer.cs
- PaintEvent.cs
- EmptyEnumerable.cs
- DirectionalLight.cs
- Delegate.cs
- Int64KeyFrameCollection.cs
- ScriptingJsonSerializationSection.cs
- ProxyElement.cs
- ColorAnimationBase.cs
- ProgressBar.cs
- SqlTypeSystemProvider.cs
- DesignBindingPicker.cs
- ClientUrlResolverWrapper.cs
- NameTable.cs
- ButtonRenderer.cs
- EntityDataSourceChangingEventArgs.cs
- TrackingMemoryStreamFactory.cs
- remotingproxy.cs
- ResizeGrip.cs
- IdleTimeoutMonitor.cs
- SoapSchemaExporter.cs
- ObjectQueryProvider.cs
- Transform3D.cs
- securitymgrsite.cs
- WebPageTraceListener.cs
- NavigationCommands.cs
- EmbossBitmapEffect.cs
- WindowHideOrCloseTracker.cs
- IdentifierCollection.cs
- QuaternionAnimation.cs
- TextTreePropertyUndoUnit.cs
- PersistChildrenAttribute.cs
- StateMachineWorkflowDesigner.cs
- ExceptionRoutedEventArgs.cs
- QueryBranchOp.cs
- TrailingSpaceComparer.cs
- GZipDecoder.cs
- FloaterBaseParaClient.cs
- TextEditorParagraphs.cs
- DayRenderEvent.cs
- SqlPersonalizationProvider.cs
- CatalogZoneBase.cs
- DataGridTextBoxColumn.cs
- KeyValueConfigurationCollection.cs
- XmlSchemaSequence.cs
- NameTable.cs
- GcSettings.cs
- COAUTHINFO.cs
- ImageButton.cs
- CacheForPrimitiveTypes.cs
- CqlBlock.cs
- KnownTypes.cs
- SqlUserDefinedAggregateAttribute.cs
- HandleDictionary.cs
- COAUTHIDENTITY.cs
- LabelDesigner.cs
- Message.cs
- JsonCollectionDataContract.cs
- Light.cs
- SafeArrayRankMismatchException.cs
- ConnectionPoint.cs
- WorkerRequest.cs
- ReverseInheritProperty.cs
- SessionState.cs
- TextDecorations.cs
- PenThread.cs
- HttpContext.cs
- PropertyBuilder.cs
- _SingleItemRequestCache.cs
- Pair.cs
- NativeCppClassAttribute.cs
- TextTreeFixupNode.cs
- InputReport.cs
- ProfileService.cs
- DesignerLabelAdapter.cs
- QilPatternVisitor.cs
- PreDigestedSignedInfo.cs
- XMLSchema.cs
- SHA1.cs
- XmlSchemaFacet.cs
- TextEmbeddedObject.cs
- MemberInitExpression.cs
- ProfileSection.cs
- InputScope.cs
- CapabilitiesAssignment.cs
- UrlMappingsSection.cs
- TextSchema.cs
- WrappedReader.cs
- BuildProvider.cs
- QilBinary.cs
- MachineSettingsSection.cs
- SingleTagSectionHandler.cs
- DriveInfo.cs
- FilterQueryOptionExpression.cs
- TemplateColumn.cs
- ObjectStateManager.cs
- SessionState.cs
- TagPrefixInfo.cs
- ListChangedEventArgs.cs