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
- StreamGeometryContext.cs
- XmlValidatingReader.cs
- DbDeleteCommandTree.cs
- CompilerGlobalScopeAttribute.cs
- NativeMethodsOther.cs
- wgx_exports.cs
- ResXResourceReader.cs
- DataPointer.cs
- WindowsRichEditRange.cs
- TerminatorSinks.cs
- SmtpAuthenticationManager.cs
- PropertyGridEditorPart.cs
- AppDomainManager.cs
- CookieProtection.cs
- OrCondition.cs
- SQLConvert.cs
- NativeDirectoryServicesQueryAPIs.cs
- PrefixQName.cs
- CommandValueSerializer.cs
- MessageSecurityVersion.cs
- MemoryFailPoint.cs
- ToolStripItemImageRenderEventArgs.cs
- GcSettings.cs
- WebServicesInteroperability.cs
- DrawListViewSubItemEventArgs.cs
- LinqDataSourceView.cs
- BulletedList.cs
- HttpApplication.cs
- objectquery_tresulttype.cs
- StringValidatorAttribute.cs
- DockPanel.cs
- ADConnectionHelper.cs
- OleDbEnumerator.cs
- DataGridViewCellPaintingEventArgs.cs
- CssClassPropertyAttribute.cs
- Attributes.cs
- BadImageFormatException.cs
- UserNameServiceElement.cs
- codemethodreferenceexpression.cs
- AsyncSerializedWorker.cs
- CorePropertiesFilter.cs
- FlowDocumentFormatter.cs
- GridViewColumn.cs
- oledbmetadatacollectionnames.cs
- PrinterResolution.cs
- SmiXetterAccessMap.cs
- EnumMember.cs
- AutoGeneratedField.cs
- CollectionViewGroupRoot.cs
- CustomActivityDesigner.cs
- DataGridTextBoxColumn.cs
- RequiredFieldValidator.cs
- ArrangedElement.cs
- SafeRightsManagementQueryHandle.cs
- XamlHttpHandlerFactory.cs
- AssemblyBuilder.cs
- SoapMessage.cs
- HandleCollector.cs
- LogSwitch.cs
- SystemResourceKey.cs
- PropertyGeneratedEventArgs.cs
- DataControlField.cs
- PriorityBinding.cs
- ProgressBar.cs
- TypeContext.cs
- TaskHelper.cs
- DrawListViewItemEventArgs.cs
- QueryExpr.cs
- ProcessThread.cs
- SimpleColumnProvider.cs
- InputMethodStateTypeInfo.cs
- ValidationErrorCollection.cs
- AddInAdapter.cs
- ApplicationInfo.cs
- AspCompat.cs
- ExtensibleClassFactory.cs
- _BufferOffsetSize.cs
- RouteParameter.cs
- clipboard.cs
- MouseEvent.cs
- CalendarKeyboardHelper.cs
- AddInIpcChannel.cs
- EventLogEntryCollection.cs
- ConditionBrowserDialog.cs
- HttpCapabilitiesBase.cs
- CapiSafeHandles.cs
- QueryCreatedEventArgs.cs
- UTF7Encoding.cs
- ClassicBorderDecorator.cs
- XhtmlBasicControlAdapter.cs
- Speller.cs
- DynamicAttribute.cs
- OleDbDataReader.cs
- SubqueryRules.cs
- DispatchWrapper.cs
- TimeSpanHelper.cs
- NumberSubstitution.cs
- VirtualDirectoryMappingCollection.cs
- PiiTraceSource.cs
- ApplicationId.cs