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
- TextEndOfLine.cs
- ZipPackagePart.cs
- WebServiceBindingAttribute.cs
- WebPartEventArgs.cs
- MimePart.cs
- WindowsAuthenticationEventArgs.cs
- DataGridViewSelectedRowCollection.cs
- ListBoxItem.cs
- DbQueryCommandTree.cs
- FaultImportOptions.cs
- QilChoice.cs
- mansign.cs
- TraceSection.cs
- TextSearch.cs
- DataGridCellAutomationPeer.cs
- KeyValueInternalCollection.cs
- MailWriter.cs
- Axis.cs
- DragEventArgs.cs
- ExpressionBuilderCollection.cs
- _SpnDictionary.cs
- RelationshipSet.cs
- ImmutableObjectAttribute.cs
- ContextActivityUtils.cs
- DbParameterCollectionHelper.cs
- StrokeDescriptor.cs
- BitmapDownload.cs
- ButtonAutomationPeer.cs
- WmlValidationSummaryAdapter.cs
- MemoryMappedFile.cs
- StringResourceManager.cs
- CollectionView.cs
- IItemProperties.cs
- PseudoWebRequest.cs
- XmlCustomFormatter.cs
- VideoDrawing.cs
- InlineUIContainer.cs
- SqlPersonalizationProvider.cs
- HttpWebRequest.cs
- DrawingContextDrawingContextWalker.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TextRangeEdit.cs
- StrongNameMembershipCondition.cs
- CheckBox.cs
- DataGridViewCellValidatingEventArgs.cs
- ClientApiGenerator.cs
- SymbolEqualComparer.cs
- SynchronizedInputPattern.cs
- DetailsViewPagerRow.cs
- Stack.cs
- BinaryNode.cs
- exports.cs
- WebServiceData.cs
- Baml2006ReaderFrame.cs
- InternalDuplexChannelListener.cs
- XmlEncApr2001.cs
- Adorner.cs
- AddInAttribute.cs
- Encoder.cs
- XmlCharCheckingReader.cs
- AppLevelCompilationSectionCache.cs
- ImageAnimator.cs
- ECDiffieHellmanPublicKey.cs
- DateTimeOffsetAdapter.cs
- FixedSOMPageElement.cs
- ActivationServices.cs
- XmlAtomErrorReader.cs
- ToolStripRendererSwitcher.cs
- ControlBuilderAttribute.cs
- ModifierKeysConverter.cs
- ConfigurationValue.cs
- AlphaSortedEnumConverter.cs
- SqlCachedBuffer.cs
- ClientTarget.cs
- PeerEndPoint.cs
- SamlAuthorizationDecisionStatement.cs
- WSSecurityPolicy11.cs
- MobileUITypeEditor.cs
- ApplicationManager.cs
- InternalControlCollection.cs
- ByteRangeDownloader.cs
- SqlDataSourceCommandEventArgs.cs
- DataBindingHandlerAttribute.cs
- HtmlUtf8RawTextWriter.cs
- FlowDocumentReaderAutomationPeer.cs
- GridViewRowEventArgs.cs
- PolygonHotSpot.cs
- SerialStream.cs
- AdPostCacheSubstitution.cs
- ComponentDesigner.cs
- ElementUtil.cs
- HtmlWindow.cs
- ArrayItemReference.cs
- HtmlInputFile.cs
- PieceDirectory.cs
- ComplexPropertyEntry.cs
- HtmlImageAdapter.cs
- AppDomainAttributes.cs
- ComponentChangedEvent.cs
- RenderDataDrawingContext.cs