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
- OleAutBinder.cs
- FlowDocumentPageViewerAutomationPeer.cs
- HtmlTableCell.cs
- ProvidersHelper.cs
- SerializationAttributes.cs
- DebugView.cs
- StringDictionary.cs
- DataListGeneralPage.cs
- ContentDisposition.cs
- HuffCodec.cs
- HttpStreamXmlDictionaryReader.cs
- Visual3D.cs
- DbDataAdapter.cs
- CultureSpecificCharacterBufferRange.cs
- StrokeCollectionConverter.cs
- DashStyle.cs
- _IPv4Address.cs
- PropertySet.cs
- TreeNodeClickEventArgs.cs
- XmlSchemaException.cs
- BindableAttribute.cs
- HostSecurityManager.cs
- TraceRecord.cs
- InlineObject.cs
- PageHandlerFactory.cs
- CodeExpressionCollection.cs
- DefaultValueTypeConverter.cs
- Util.cs
- CmsUtils.cs
- StandardCommands.cs
- DataGridCellInfo.cs
- WebPartManager.cs
- CheckableControlBaseAdapter.cs
- SafeArrayRankMismatchException.cs
- SortQuery.cs
- DbgUtil.cs
- ListViewItemSelectionChangedEvent.cs
- TypeInfo.cs
- RadioButtonList.cs
- ButtonChrome.cs
- EventDriven.cs
- TableLayoutStyle.cs
- XmlArrayAttribute.cs
- VariantWrapper.cs
- DefaultSection.cs
- DisplayNameAttribute.cs
- CacheDependency.cs
- WebConfigurationHostFileChange.cs
- HitTestParameters.cs
- Descriptor.cs
- MdiWindowListStrip.cs
- LinqDataSourceInsertEventArgs.cs
- ProcessStartInfo.cs
- GridPattern.cs
- SqlConnectionManager.cs
- AuthenticationException.cs
- IIS7UserPrincipal.cs
- CodeTryCatchFinallyStatement.cs
- HierarchicalDataBoundControl.cs
- ObjectDataSourceFilteringEventArgs.cs
- XmlSchemaFacet.cs
- CheckPair.cs
- AggregatePushdown.cs
- StreamGeometry.cs
- MenuRendererStandards.cs
- WebInvokeAttribute.cs
- WindowsListViewItemCheckBox.cs
- WebPartZone.cs
- InterleavedZipPartStream.cs
- CannotUnloadAppDomainException.cs
- ServiceBusyException.cs
- HyperlinkAutomationPeer.cs
- ParameterBuilder.cs
- SymDocumentType.cs
- TableItemPattern.cs
- ConfigViewGenerator.cs
- ResourceDescriptionAttribute.cs
- SourceFileBuildProvider.cs
- ByValueEqualityComparer.cs
- EventRoute.cs
- DbCommandTree.cs
- MdiWindowListStrip.cs
- TdsParserHelperClasses.cs
- SmiGettersStream.cs
- QueryResult.cs
- CopyAction.cs
- SecurityResources.cs
- NullableDecimalAverageAggregationOperator.cs
- XPathException.cs
- DuplexChannelBinder.cs
- EventProviderWriter.cs
- LocatorPartList.cs
- ComponentChangedEvent.cs
- JsonReaderDelegator.cs
- DataGridCell.cs
- FastEncoderWindow.cs
- WSFederationHttpBinding.cs
- DoubleIndependentAnimationStorage.cs
- SymLanguageVendor.cs
- ReflectPropertyDescriptor.cs