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
- MeasurementDCInfo.cs
- ManagementInstaller.cs
- DecoderBestFitFallback.cs
- ImmComposition.cs
- BitmapEffectDrawingContextWalker.cs
- DateTimeOffsetConverter.cs
- DataTableReaderListener.cs
- ControlBuilder.cs
- SqlBuilder.cs
- SimpleBitVector32.cs
- XmlChildNodes.cs
- HttpDebugHandler.cs
- TrustLevel.cs
- ApplyHostConfigurationBehavior.cs
- FontDialog.cs
- SharedConnectionInfo.cs
- TargetInvocationException.cs
- Oid.cs
- ChtmlTextBoxAdapter.cs
- EnumUnknown.cs
- CompositeCollection.cs
- ToolStripProgressBar.cs
- RegexGroupCollection.cs
- Base64Encoder.cs
- MailMessage.cs
- MessageDescription.cs
- PartDesigner.cs
- CustomErrorCollection.cs
- TypeInitializationException.cs
- RegisteredScript.cs
- Roles.cs
- KoreanLunisolarCalendar.cs
- CompilerTypeWithParams.cs
- MemberInfoSerializationHolder.cs
- PointHitTestResult.cs
- ObjectDataSourceSelectingEventArgs.cs
- CharStorage.cs
- RegexCode.cs
- SecurityUniqueId.cs
- FormView.cs
- Rectangle.cs
- FlowLayout.cs
- ForceCopyBuildProvider.cs
- InkCanvas.cs
- TextUtf8RawTextWriter.cs
- Utils.cs
- DBSchemaTable.cs
- InstanceCreationEditor.cs
- AdornerHitTestResult.cs
- RegexRunnerFactory.cs
- TextTreeRootNode.cs
- AutomationAttributeInfo.cs
- BamlRecordWriter.cs
- BinaryCommonClasses.cs
- _SslSessionsCache.cs
- HtmlInputButton.cs
- CommentEmitter.cs
- DetailsViewRow.cs
- PathStreamGeometryContext.cs
- DataServiceQueryException.cs
- DetailsViewPagerRow.cs
- DataGridViewRowCancelEventArgs.cs
- WindowsListViewSubItem.cs
- KoreanCalendar.cs
- DotExpr.cs
- cookiecontainer.cs
- FolderBrowserDialogDesigner.cs
- CmsInterop.cs
- precedingsibling.cs
- DelegateHelpers.Generated.cs
- CodeGen.cs
- TypeConverterHelper.cs
- StyleXamlTreeBuilder.cs
- TextSelectionProcessor.cs
- ColorDialog.cs
- EncoderNLS.cs
- AccessDataSourceView.cs
- TextElementEnumerator.cs
- NaturalLanguageHyphenator.cs
- Int32KeyFrameCollection.cs
- Parser.cs
- PackUriHelper.cs
- RootProfilePropertySettingsCollection.cs
- Common.cs
- ResolveCompletedEventArgs.cs
- DataPagerFieldCommandEventArgs.cs
- HuffModule.cs
- SqlProcedureAttribute.cs
- RegexGroupCollection.cs
- DriveInfo.cs
- FontInfo.cs
- SimpleWebHandlerParser.cs
- RegexReplacement.cs
- GridViewCommandEventArgs.cs
- DirectionalLight.cs
- ReservationNotFoundException.cs
- SecUtil.cs
- Dictionary.cs
- AttributeUsageAttribute.cs
- Environment.cs