Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / tx / System / Transactions / Configuration / ConfigurationStrings.cs / 1305376 / ConfigurationStrings.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Transactions.Configuration { using System.Configuration; using System.Globalization; internal static class ConfigurationStrings { internal const string DefaultDistributedTransactionManagerName = ""; internal const string DefaultMaxTimeout = "00:10:00"; internal const string DefaultTimeout = "00:01:00"; internal const string TimeSpanZero = "00:00:00"; static internal string DefaultSettingsSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.DefaultSettingsSectionName); } } static internal string GetSectionPath(string sectionName) { return string.Format(CultureInfo.InvariantCulture, "{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName); } static internal bool IsValidTimeSpan(TimeSpan span) { return (span >= TimeSpan.Zero); } static internal string MachineSettingsSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.MachineSettingsSectionName); } } internal const string DefaultSettingsSectionName = "defaultSettings"; internal const string DistributedTransactionManagerName = "distributedTransactionManagerName"; internal const string MaxTimeout = "maxTimeout"; internal const string MachineSettingsSectionName = "machineSettings"; internal const string SectionGroupName = "system.transactions"; internal const string Timeout = "timeout"; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Transactions.Configuration { using System.Configuration; using System.Globalization; internal static class ConfigurationStrings { internal const string DefaultDistributedTransactionManagerName = ""; internal const string DefaultMaxTimeout = "00:10:00"; internal const string DefaultTimeout = "00:01:00"; internal const string TimeSpanZero = "00:00:00"; static internal string DefaultSettingsSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.DefaultSettingsSectionName); } } static internal string GetSectionPath(string sectionName) { return string.Format(CultureInfo.InvariantCulture, "{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName); } static internal bool IsValidTimeSpan(TimeSpan span) { return (span >= TimeSpan.Zero); } static internal string MachineSettingsSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.MachineSettingsSectionName); } } internal const string DefaultSettingsSectionName = "defaultSettings"; internal const string DistributedTransactionManagerName = "distributedTransactionManagerName"; internal const string MaxTimeout = "maxTimeout"; internal const string MachineSettingsSectionName = "machineSettings"; internal const string SectionGroupName = "system.transactions"; internal const string Timeout = "timeout"; } } // 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
- BrushMappingModeValidation.cs
- DataControlFieldCollection.cs
- TypeEnumerableViewSchema.cs
- COAUTHIDENTITY.cs
- CodeTypeReferenceExpression.cs
- CryptoStream.cs
- HttpContextBase.cs
- Vector.cs
- OneOf.cs
- TreeSet.cs
- PropertyManager.cs
- sqlmetadatafactory.cs
- PropertyNames.cs
- InputLanguage.cs
- ListSortDescriptionCollection.cs
- ImplicitInputBrush.cs
- SqlConnectionHelper.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- XmlElement.cs
- WebPartDisplayModeCancelEventArgs.cs
- SourceInterpreter.cs
- pingexception.cs
- ServiceDescription.cs
- CodeVariableReferenceExpression.cs
- RenderOptions.cs
- OutputCacheProfile.cs
- PipeSecurity.cs
- GridToolTip.cs
- TableLayoutPanelResizeGlyph.cs
- Mapping.cs
- CompilerCollection.cs
- SqlClientFactory.cs
- BinaryReader.cs
- HttpDebugHandler.cs
- NonSerializedAttribute.cs
- SystemResourceKey.cs
- Misc.cs
- ArrayListCollectionBase.cs
- SqlConnection.cs
- SimplePropertyEntry.cs
- ImageIndexEditor.cs
- SpAudioStreamWrapper.cs
- GridViewRowPresenterBase.cs
- ToolStripPanelRow.cs
- SqlLiftWhereClauses.cs
- UnaryExpressionHelper.cs
- SystemIPv4InterfaceProperties.cs
- DataRowCollection.cs
- QueryStringConverter.cs
- GatewayIPAddressInformationCollection.cs
- MessageContractImporter.cs
- RefreshPropertiesAttribute.cs
- TypeUsage.cs
- EntityDataSourceEntitySetNameItem.cs
- Int64AnimationBase.cs
- PartitionedStream.cs
- VBIdentifierName.cs
- AnimationLayer.cs
- PropertyGrid.cs
- Compilation.cs
- ContentControl.cs
- OdbcFactory.cs
- WpfXamlMember.cs
- FontFamilyConverter.cs
- CorrelationManager.cs
- NumericExpr.cs
- FontFaceLayoutInfo.cs
- TerminatorSinks.cs
- DataMember.cs
- AccessedThroughPropertyAttribute.cs
- SocketPermission.cs
- CatalogPartCollection.cs
- BinaryObjectReader.cs
- PropertyConverter.cs
- ExtensionWindowResizeGrip.cs
- DrawToolTipEventArgs.cs
- FixedSOMPageElement.cs
- ContextDataSourceView.cs
- SqlConnectionHelper.cs
- DrawTreeNodeEventArgs.cs
- ControlIdConverter.cs
- ImageMapEventArgs.cs
- ListControlConvertEventArgs.cs
- PersonalizationEntry.cs
- ComponentEvent.cs
- DefaultEventAttribute.cs
- MouseGesture.cs
- DeferredElementTreeState.cs
- PasswordRecovery.cs
- XpsPackagingException.cs
- ScrollItemPattern.cs
- GenericPrincipal.cs
- RangeBase.cs
- SqlFunctionAttribute.cs
- SystemMulticastIPAddressInformation.cs
- LambdaCompiler.cs
- KeyboardNavigation.cs
- UnsafeNativeMethods.cs
- MonitoringDescriptionAttribute.cs
- ListBoxDesigner.cs