Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ExeContext.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MissingSatelliteAssemblyException.cs
- TableLayoutRowStyleCollection.cs
- GridPattern.cs
- GregorianCalendarHelper.cs
- HttpGetProtocolReflector.cs
- NotifyParentPropertyAttribute.cs
- TableCell.cs
- PathFigure.cs
- TypeSystem.cs
- DocumentPaginator.cs
- EventLogQuery.cs
- EntityDataSourceMemberPath.cs
- MSG.cs
- SourceSwitch.cs
- WindowsAuthenticationModule.cs
- WorkflowServiceHostFactory.cs
- ModuleBuilderData.cs
- PropertyItem.cs
- IsolatedStoragePermission.cs
- _HeaderInfoTable.cs
- ParameterElement.cs
- WmlTextViewAdapter.cs
- MessageBox.cs
- EnumValidator.cs
- HandoffBehavior.cs
- CollectionChangedEventManager.cs
- NetNamedPipeBindingElement.cs
- Command.cs
- SecurityRuntime.cs
- compensatingcollection.cs
- ListViewContainer.cs
- ContextStack.cs
- SequenceDesignerAccessibleObject.cs
- AssemblyAssociatedContentFileAttribute.cs
- WmiEventSink.cs
- Point3DAnimationBase.cs
- SqlAliaser.cs
- SelectionHighlightInfo.cs
- OutputCacheProviderCollection.cs
- Boolean.cs
- BaseProcessor.cs
- MethodExpr.cs
- DefaultHttpHandler.cs
- HexParser.cs
- CssClassPropertyAttribute.cs
- HostingPreferredMapPath.cs
- VersionedStream.cs
- DiagnosticEventProvider.cs
- KerberosTokenFactoryCredential.cs
- _emptywebproxy.cs
- ReachVisualSerializer.cs
- prefixendpointaddressmessagefilter.cs
- MessageBox.cs
- ModuleBuilder.cs
- ContentPresenter.cs
- CustomTypeDescriptor.cs
- ContractAdapter.cs
- HttpEncoderUtility.cs
- TextSerializer.cs
- OleDbTransaction.cs
- AutomationEventArgs.cs
- CompiledQuery.cs
- GZipDecoder.cs
- DbDataReader.cs
- AuthenticationService.cs
- ExtensionSimplifierMarkupObject.cs
- Point.cs
- DropShadowEffect.cs
- NameNode.cs
- CopyEncoder.cs
- XmlNamespaceManager.cs
- WebPartConnectionsCancelVerb.cs
- UInt16.cs
- WpfMemberInvoker.cs
- GroupBoxRenderer.cs
- ScalarType.cs
- TreeViewItem.cs
- CodeDirectiveCollection.cs
- MarginsConverter.cs
- COAUTHINFO.cs
- GeneralTransform3D.cs
- Root.cs
- EntityException.cs
- PenThread.cs
- InfoCard.cs
- AttachedAnnotation.cs
- DateTimeConverter.cs
- Matrix3DConverter.cs
- BitmapEffectInput.cs
- InkCanvasSelectionAdorner.cs
- ProjectionPlan.cs
- HeaderedContentControl.cs
- DataTableCollection.cs
- MultiBinding.cs
- CannotUnloadAppDomainException.cs
- PropertyChange.cs
- CalendarAutoFormat.cs
- WebPartAddingEventArgs.cs
- RowCache.cs
- SchemaImporter.cs