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
- Menu.cs
- NodeFunctions.cs
- Light.cs
- SingleResultAttribute.cs
- ReplacementText.cs
- BufferedOutputStream.cs
- StringCollection.cs
- columnmapfactory.cs
- ReadOnlyDictionary.cs
- MimeTypeMapper.cs
- EventToken.cs
- EmptyEnumerator.cs
- OrderPreservingPipeliningMergeHelper.cs
- UntypedNullExpression.cs
- LookupNode.cs
- SafeCertificateStore.cs
- NavigationProgressEventArgs.cs
- FieldDescriptor.cs
- WindowsEditBox.cs
- ParseChildrenAsPropertiesAttribute.cs
- Classification.cs
- CreateUserWizard.cs
- SyndicationSerializer.cs
- GeneralTransform3DTo2D.cs
- ParameterExpression.cs
- Substitution.cs
- SecurityBindingElementImporter.cs
- TextRangeSerialization.cs
- WebEventTraceProvider.cs
- GreenMethods.cs
- PeerValidationBehavior.cs
- InternalsVisibleToAttribute.cs
- OletxVolatileEnlistment.cs
- WorkflowEnvironment.cs
- DoubleAnimation.cs
- BaseHashHelper.cs
- DataBindEngine.cs
- RegisteredHiddenField.cs
- HScrollProperties.cs
- HttpModuleActionCollection.cs
- IChannel.cs
- RoleService.cs
- ProjectionPlanCompiler.cs
- EnumerableCollectionView.cs
- OracleCommand.cs
- AutomationEventArgs.cs
- UIAgentAsyncBeginRequest.cs
- ConnectionManagementElementCollection.cs
- GuidTagList.cs
- Rect3DValueSerializer.cs
- ServerValidateEventArgs.cs
- SchemaMapping.cs
- PermissionListSet.cs
- TraceLog.cs
- PathParser.cs
- WrapperEqualityComparer.cs
- RelationshipConstraintValidator.cs
- GridItem.cs
- GregorianCalendarHelper.cs
- WindowsListViewGroupSubsetLink.cs
- SerializableAuthorizationContext.cs
- EventListener.cs
- TableCellAutomationPeer.cs
- VerificationException.cs
- ByteStreamGeometryContext.cs
- GeneralTransform3DGroup.cs
- Point4D.cs
- SecurityKeyEntropyMode.cs
- CodeDirectoryCompiler.cs
- CallContext.cs
- ExcludePathInfo.cs
- PointCollectionConverter.cs
- NullableFloatSumAggregationOperator.cs
- BindableAttribute.cs
- ConfigViewGenerator.cs
- ApplicationServiceHelper.cs
- AggregateException.cs
- SystemInformation.cs
- Pair.cs
- VirtualDirectoryMapping.cs
- HttpServerVarsCollection.cs
- CounterSample.cs
- KeyPressEvent.cs
- CustomAttributeFormatException.cs
- ParallelTimeline.cs
- XmlLinkedNode.cs
- ChunkedMemoryStream.cs
- ControlAdapter.cs
- TextEvent.cs
- BuiltInExpr.cs
- ElapsedEventArgs.cs
- ValidationRuleCollection.cs
- BinaryCommonClasses.cs
- EmbeddedMailObjectsCollection.cs
- OleDbReferenceCollection.cs
- UserControlCodeDomTreeGenerator.cs
- GeneralTransform3DTo2DTo3D.cs
- System.Data.OracleClient_BID.cs
- CacheRequest.cs
- FormDesigner.cs