Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / tx / System / Transactions / Configuration / TransactionsSectionGroup.cs / 1305376 / TransactionsSectionGroup.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Transactions.Configuration { using System; using System.Configuration; public sealed class TransactionsSectionGroup : ConfigurationSectionGroup { public TransactionsSectionGroup() { } [ConfigurationProperty(ConfigurationStrings.DefaultSettingsSectionName)] public DefaultSettingsSection DefaultSettings { get { return (DefaultSettingsSection)this.Sections[ConfigurationStrings.DefaultSettingsSectionName]; } } static public TransactionsSectionGroup GetSectionGroup(Configuration config) { if (config == null) { throw new ArgumentNullException("config"); } return (TransactionsSectionGroup)config.GetSectionGroup(ConfigurationStrings.SectionGroupName); } [ConfigurationProperty(ConfigurationStrings.MachineSettingsSectionName)] public MachineSettingsSection MachineSettings { get { return (MachineSettingsSection)this.Sections[ConfigurationStrings.MachineSettingsSectionName]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Transactions.Configuration { using System; using System.Configuration; public sealed class TransactionsSectionGroup : ConfigurationSectionGroup { public TransactionsSectionGroup() { } [ConfigurationProperty(ConfigurationStrings.DefaultSettingsSectionName)] public DefaultSettingsSection DefaultSettings { get { return (DefaultSettingsSection)this.Sections[ConfigurationStrings.DefaultSettingsSectionName]; } } static public TransactionsSectionGroup GetSectionGroup(Configuration config) { if (config == null) { throw new ArgumentNullException("config"); } return (TransactionsSectionGroup)config.GetSectionGroup(ConfigurationStrings.SectionGroupName); } [ConfigurationProperty(ConfigurationStrings.MachineSettingsSectionName)] public MachineSettingsSection MachineSettings { get { return (MachineSettingsSection)this.Sections[ConfigurationStrings.MachineSettingsSectionName]; } } } } // 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
- WinInetCache.cs
- ConnectionPoolRegistry.cs
- IListConverters.cs
- EpmCustomContentSerializer.cs
- SqlErrorCollection.cs
- TypedAsyncResult.cs
- DrawTreeNodeEventArgs.cs
- TableParaClient.cs
- Style.cs
- NameTable.cs
- ListBox.cs
- ScriptControlDescriptor.cs
- Drawing.cs
- ChannelCacheDefaults.cs
- XmlSerializerAssemblyAttribute.cs
- AdornedElementPlaceholder.cs
- ResourceType.cs
- CmsUtils.cs
- Stylesheet.cs
- ColorAnimationBase.cs
- MailDefinitionBodyFileNameEditor.cs
- SingleObjectCollection.cs
- pingexception.cs
- HMACSHA384.cs
- DataObjectCopyingEventArgs.cs
- SettingsPropertyValue.cs
- CachedRequestParams.cs
- TypeGeneratedEventArgs.cs
- CollectionContainer.cs
- ViewStateAttachedPropertyFeature.cs
- Part.cs
- Converter.cs
- objectquery_tresulttype.cs
- SqlConnectionString.cs
- OleAutBinder.cs
- FormsAuthenticationCredentials.cs
- IdentityReference.cs
- TypeElementCollection.cs
- ColumnMapProcessor.cs
- WrappingXamlSchemaContext.cs
- SoapIgnoreAttribute.cs
- EditorZone.cs
- DesignerHost.cs
- ButtonField.cs
- Point3DCollection.cs
- CapabilitiesPattern.cs
- DataRecordObjectView.cs
- SvcFileManager.cs
- SingleAnimation.cs
- PropertyEmitterBase.cs
- CombinedGeometry.cs
- PostBackTrigger.cs
- ComponentConverter.cs
- XmlILOptimizerVisitor.cs
- Point4DValueSerializer.cs
- InstanceNormalEvent.cs
- typedescriptorpermissionattribute.cs
- EditorAttribute.cs
- HttpInputStream.cs
- ColumnHeaderConverter.cs
- ThemeDirectoryCompiler.cs
- RtType.cs
- DoubleAnimationBase.cs
- ObjectTag.cs
- SQLMembershipProvider.cs
- CompensatableTransactionScopeActivity.cs
- StorageModelBuildProvider.cs
- ToolStripLabel.cs
- ManagedFilter.cs
- ActiveXContainer.cs
- GridViewAutomationPeer.cs
- VectorConverter.cs
- RectAnimationClockResource.cs
- UriWriter.cs
- UseLicense.cs
- InvariantComparer.cs
- KeysConverter.cs
- DataGridViewImageCell.cs
- MessageDispatch.cs
- DuplexChannelFactory.cs
- SafeRegistryHandle.cs
- XmlCharCheckingWriter.cs
- ObjectListFieldsPage.cs
- SchemaLookupTable.cs
- IncrementalReadDecoders.cs
- DataGridViewRowsAddedEventArgs.cs
- FrameDimension.cs
- XmlILStorageConverter.cs
- DateTimeConstantAttribute.cs
- XmlSchemaAnnotation.cs
- SafeEventLogWriteHandle.cs
- TouchEventArgs.cs
- UnsafePeerToPeerMethods.cs
- PathParser.cs
- CustomSignedXml.cs
- ConnectionPoint.cs
- tibetanshape.cs
- SystemPens.cs
- TemplateComponentConnector.cs
- XmlWrappingReader.cs