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
- ImageListStreamer.cs
- TreeNodeBinding.cs
- OutputCacheProfileCollection.cs
- LinqDataSourceDisposeEventArgs.cs
- WindowsRichEditRange.cs
- RangeContentEnumerator.cs
- TypeEnumerableViewSchema.cs
- baseshape.cs
- SHA1CryptoServiceProvider.cs
- WindowsPrincipal.cs
- DialogWindow.cs
- ContourSegment.cs
- ImmutableObjectAttribute.cs
- BooleanToVisibilityConverter.cs
- UIElementCollection.cs
- OdbcEnvironmentHandle.cs
- RbTree.cs
- HttpRequestMessageProperty.cs
- ObjectDataSource.cs
- Rotation3DAnimationBase.cs
- Pipe.cs
- ClockController.cs
- ListBindingConverter.cs
- ObjectDataSourceDisposingEventArgs.cs
- DataExpression.cs
- GridViewDeletedEventArgs.cs
- SelfIssuedAuthProofToken.cs
- NotifyParentPropertyAttribute.cs
- FastPropertyAccessor.cs
- SendKeys.cs
- TypeUtil.cs
- SizeValueSerializer.cs
- KeyTimeConverter.cs
- SmtpNtlmAuthenticationModule.cs
- HelpEvent.cs
- WinFormsSpinner.cs
- HtmlInputSubmit.cs
- DataServiceResponse.cs
- RemoteHelper.cs
- InputBinding.cs
- ValidationSummary.cs
- EmptyEnumerator.cs
- InvalidChannelBindingException.cs
- securestring.cs
- BindingExpressionUncommonField.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- WebServiceAttribute.cs
- X509SecurityTokenProvider.cs
- SerializableAttribute.cs
- XPathDocumentIterator.cs
- SharedPerformanceCounter.cs
- RegistryConfigurationProvider.cs
- OwnerDrawPropertyBag.cs
- StorageMappingFragment.cs
- DisableDpiAwarenessAttribute.cs
- CategoryNameCollection.cs
- TextFormatter.cs
- Application.cs
- EventBuilder.cs
- MethodBody.cs
- DesignerProperties.cs
- BaseTreeIterator.cs
- SqlBinder.cs
- XmlSerializationGeneratedCode.cs
- MailAddress.cs
- ImportCatalogPart.cs
- MemoryMappedFile.cs
- XmlReflectionImporter.cs
- ManifestBasedResourceGroveler.cs
- PenContexts.cs
- MouseEvent.cs
- ValidatingPropertiesEventArgs.cs
- DeflateStream.cs
- BaseHashHelper.cs
- LOSFormatter.cs
- ResponseStream.cs
- ScriptingScriptResourceHandlerSection.cs
- DesignTimeVisibleAttribute.cs
- TransformerTypeCollection.cs
- ToolStripItemClickedEventArgs.cs
- SiteMembershipCondition.cs
- ProxyWebPartManagerDesigner.cs
- ScopelessEnumAttribute.cs
- GregorianCalendarHelper.cs
- XmlAggregates.cs
- Input.cs
- XdrBuilder.cs
- StaticContext.cs
- DataGridViewCheckBoxCell.cs
- returneventsaver.cs
- Model3DGroup.cs
- FloaterBaseParaClient.cs
- ProfileBuildProvider.cs
- PixelShader.cs
- DragEventArgs.cs
- RegistryDataKey.cs
- Documentation.cs
- WorkflowOperationInvoker.cs
- Deflater.cs
- TheQuery.cs