Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- Latin1Encoding.cs
- Type.cs
- NativeRecognizer.cs
- SelectionProcessor.cs
- BindingExpressionUncommonField.cs
- CommandLibraryHelper.cs
- ToolCreatedEventArgs.cs
- SerialReceived.cs
- ListControlConvertEventArgs.cs
- InProcStateClientManager.cs
- PrintDialogException.cs
- EdmToObjectNamespaceMap.cs
- HtmlControl.cs
- MinMaxParagraphWidth.cs
- QilNode.cs
- TransportContext.cs
- StylusPlugin.cs
- ListBoxAutomationPeer.cs
- DataPagerField.cs
- DomNameTable.cs
- Subset.cs
- IISMapPath.cs
- NetTcpSectionData.cs
- ApplyImportsAction.cs
- LocalizationComments.cs
- DateTimeConverter2.cs
- FixedPageAutomationPeer.cs
- BamlRecords.cs
- DeferredReference.cs
- GridLengthConverter.cs
- RegexTree.cs
- ValidatingReaderNodeData.cs
- TypeConverterAttribute.cs
- OciHandle.cs
- StateChangeEvent.cs
- UpdateCompiler.cs
- HttpCookieCollection.cs
- GACIdentityPermission.cs
- CompensationExtension.cs
- MatchingStyle.cs
- XmlResolver.cs
- AuthenticatingEventArgs.cs
- SoapUnknownHeader.cs
- GridViewColumnHeader.cs
- SystemBrushes.cs
- ReservationNotFoundException.cs
- SqlServer2KCompatibilityCheck.cs
- XmlImplementation.cs
- Msec.cs
- WebPartConnectVerb.cs
- Int32CollectionConverter.cs
- input.cs
- cookiecollection.cs
- TextProperties.cs
- MetaType.cs
- MenuItemAutomationPeer.cs
- WFItemsToSpacerVisibility.cs
- CLRBindingWorker.cs
- TreeViewItem.cs
- AssemblyBuilder.cs
- DebugView.cs
- KeyPressEvent.cs
- BaseComponentEditor.cs
- ArithmeticException.cs
- LoginCancelEventArgs.cs
- CompleteWizardStep.cs
- HtmlTitle.cs
- XmlSerializerFormatAttribute.cs
- RegisteredHiddenField.cs
- ValidatorUtils.cs
- MarkupObject.cs
- SqlUserDefinedAggregateAttribute.cs
- EncryptedPackage.cs
- Deflater.cs
- PaginationProgressEventArgs.cs
- StrongNameUtility.cs
- TryCatch.cs
- WriteStateInfoBase.cs
- RootBrowserWindowProxy.cs
- EllipseGeometry.cs
- BorderSidesEditor.cs
- MethodBuilder.cs
- CommandEventArgs.cs
- XmlHierarchicalEnumerable.cs
- HelpOperationInvoker.cs
- SmtpNegotiateAuthenticationModule.cs
- ExpandSegment.cs
- DataGridViewCheckBoxColumn.cs
- SmtpMail.cs
- _PooledStream.cs
- MediaPlayerState.cs
- FontClient.cs
- UserPrincipalNameElement.cs
- EncoderReplacementFallback.cs
- _ProxyRegBlob.cs
- SQLInt64.cs
- MiniConstructorInfo.cs
- StickyNoteHelper.cs
- Visitors.cs
- WindowsNonControl.cs