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
- DataGridViewMethods.cs
- XmlQueryType.cs
- Dynamic.cs
- Activity.cs
- AttributeInfo.cs
- SliderAutomationPeer.cs
- Main.cs
- HandleCollector.cs
- PersonalizationState.cs
- InplaceBitmapMetadataWriter.cs
- StringWriter.cs
- ExpressionNormalizer.cs
- FlowLayoutSettings.cs
- XmlnsPrefixAttribute.cs
- SoapUnknownHeader.cs
- RadioButtonPopupAdapter.cs
- UnsafeNativeMethodsTablet.cs
- DefaultShape.cs
- LockCookie.cs
- RequestNavigateEventArgs.cs
- MessageBodyMemberAttribute.cs
- BuiltInExpr.cs
- PointAnimationUsingKeyFrames.cs
- ParameterCollectionEditorForm.cs
- PageSetupDialog.cs
- DataGridViewComboBoxEditingControl.cs
- Int32Converter.cs
- Serializer.cs
- TraceInternal.cs
- RepeaterItem.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- HttpTransportElement.cs
- HtmlProps.cs
- AspCompat.cs
- ContextStack.cs
- WinFormsSpinner.cs
- EventLogInformation.cs
- SymbolType.cs
- RangeBaseAutomationPeer.cs
- RegularExpressionValidator.cs
- ExternalFile.cs
- CodeCommentStatementCollection.cs
- OdbcConnectionFactory.cs
- Documentation.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- JoinGraph.cs
- SHA512.cs
- ConstantSlot.cs
- KeysConverter.cs
- XmlHierarchicalDataSourceView.cs
- PermissionAttributes.cs
- QueryRewriter.cs
- HtmlTableRowCollection.cs
- TdsValueSetter.cs
- ForeignKeyFactory.cs
- PropertyState.cs
- AutoSizeComboBox.cs
- Transform3D.cs
- PluralizationService.cs
- BamlRecordHelper.cs
- Cursors.cs
- SessionSwitchEventArgs.cs
- GrowingArray.cs
- ByteFacetDescriptionElement.cs
- BitmapInitialize.cs
- RuntimeConfigLKG.cs
- CounterCreationData.cs
- DefaultMemberAttribute.cs
- SqlException.cs
- ImageAutomationPeer.cs
- WindowsScroll.cs
- OleDbFactory.cs
- LoadedEvent.cs
- DbProviderConfigurationHandler.cs
- ClassGenerator.cs
- DebugInfoExpression.cs
- DateTimeParse.cs
- StructuredType.cs
- DataGridViewToolTip.cs
- InProcStateClientManager.cs
- AsymmetricSignatureDeformatter.cs
- QueryReaderSettings.cs
- XmlWellformedWriter.cs
- ControlBuilderAttribute.cs
- ThreadSafeList.cs
- Splitter.cs
- WindowsSysHeader.cs
- AssemblyNameEqualityComparer.cs
- DynamicRenderer.cs
- SafeEventLogWriteHandle.cs
- NamespaceMapping.cs
- DataGridViewBindingCompleteEventArgs.cs
- PolyBezierSegment.cs
- DllNotFoundException.cs
- String.cs
- PropertyGroupDescription.cs
- ScrollPatternIdentifiers.cs
- PageParserFilter.cs
- RadioButtonList.cs
- CodeBlockBuilder.cs