Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- NumericPagerField.cs
- ErrorHandler.cs
- Splitter.cs
- AnnotationService.cs
- SinglePhaseEnlistment.cs
- FontStretchConverter.cs
- EntityDataSourceWizardForm.cs
- WebPartCancelEventArgs.cs
- SystemWebCachingSectionGroup.cs
- LZCodec.cs
- ResourceManager.cs
- ButtonBase.cs
- ClientApiGenerator.cs
- CustomSignedXml.cs
- ApplicationDirectoryMembershipCondition.cs
- OleDbPermission.cs
- IdentityModelDictionary.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- CurrentTimeZone.cs
- infer.cs
- MessageDesigner.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- StreamReader.cs
- ResolvedKeyFrameEntry.cs
- ClockController.cs
- ValueTypeFixupInfo.cs
- ResolveNameEventArgs.cs
- DataGridCommandEventArgs.cs
- ParagraphVisual.cs
- StaticResourceExtension.cs
- SemanticValue.cs
- FixedPageStructure.cs
- SortKey.cs
- SoapTransportImporter.cs
- XmlSchemaObjectTable.cs
- BaseDataBoundControl.cs
- NCryptSafeHandles.cs
- CompoundFileIOPermission.cs
- mongolianshape.cs
- ReadingWritingEntityEventArgs.cs
- ParallelActivityDesigner.cs
- FastEncoderWindow.cs
- StyleCollection.cs
- NetworkStream.cs
- ImageSourceConverter.cs
- XmlException.cs
- WinCategoryAttribute.cs
- WasEndpointConfigContainer.cs
- Win32MouseDevice.cs
- CustomError.cs
- LineProperties.cs
- HttpModulesSection.cs
- ComponentCache.cs
- GregorianCalendarHelper.cs
- ResourceManagerWrapper.cs
- MexHttpsBindingElement.cs
- QilXmlWriter.cs
- METAHEADER.cs
- StrongNameUtility.cs
- ToolStripRenderer.cs
- EncoderReplacementFallback.cs
- TypeValidationEventArgs.cs
- PersianCalendar.cs
- DesignOnlyAttribute.cs
- WebResourceUtil.cs
- ArgumentValueSerializer.cs
- QilName.cs
- XmlIlVisitor.cs
- Command.cs
- dataprotectionpermission.cs
- WebPartsPersonalizationAuthorization.cs
- Thread.cs
- arc.cs
- VectorCollectionValueSerializer.cs
- SystemResourceHost.cs
- RuntimeConfigLKG.cs
- TextBoxBase.cs
- AutomationPeer.cs
- WebServiceHandler.cs
- TextEditorMouse.cs
- Message.cs
- PropertyStore.cs
- Queue.cs
- HttpClientCertificate.cs
- IntSecurity.cs
- QilXmlWriter.cs
- Compiler.cs
- StringCollection.cs
- CuspData.cs
- SQLBinary.cs
- Convert.cs
- documentsequencetextview.cs
- ProcessRequestArgs.cs
- DataGridViewCheckBoxCell.cs
- EventLogEntry.cs
- EncoderBestFitFallback.cs
- TypeInfo.cs
- Helpers.cs
- ModuleConfigurationInfo.cs
- TrustSection.cs