Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / System / data / design / DSGeneratorProblem.cs / 1 / DSGeneratorProblem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All Rights Reserved. // Information Contained Herein is Proprietary and Confidential. // //----------------------------------------------------------------------------- namespace System.Data.Design { using System; using System.Diagnostics; internal enum ProblemSeverity { Unknown = 0, Warning = 1, NonFatalError = 2, FatalError = 3 } internal sealed class DSGeneratorProblem { private string message = null; private ProblemSeverity severity = ProblemSeverity.Unknown; private DataSourceComponent problemSource; internal string Message { get { return message; } } internal ProblemSeverity Severity { get { return severity; } } internal DataSourceComponent ProblemSource { get { return problemSource; } } internal DSGeneratorProblem(string message, ProblemSeverity severity, DataSourceComponent problemSource) { Debug.Assert(!StringUtil.Empty(message), "DSGeneratorProblem Constructor: message shouldn't be null or empty."); Debug.Assert(severity != ProblemSeverity.Unknown, "DSGeneratorProblem Constructor: severity shouldn't be Unknown."); this.message = message; this.severity = severity; this.problemSource = problemSource; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourceDefaultValueAttribute.cs
- SystemWebCachingSectionGroup.cs
- JsonFormatWriterGenerator.cs
- SubclassTypeValidatorAttribute.cs
- WebHeaderCollection.cs
- StrokeCollection.cs
- MessageSecurityOverMsmq.cs
- ConditionCollection.cs
- ObjectCloneHelper.cs
- PropertyGeneratedEventArgs.cs
- SortAction.cs
- SettingsPropertyNotFoundException.cs
- ErrorFormatter.cs
- XmlWrappingWriter.cs
- BoundPropertyEntry.cs
- CommandValueSerializer.cs
- ApplicationCommands.cs
- RegistryDataKey.cs
- XmlSerializerVersionAttribute.cs
- DataGridState.cs
- CompiledRegexRunnerFactory.cs
- TypeHelpers.cs
- StrokeNodeOperations.cs
- StronglyTypedResourceBuilder.cs
- DesignerWebPartChrome.cs
- Command.cs
- CachedPathData.cs
- SystemEvents.cs
- Evidence.cs
- InfoCardMetadataExchangeClient.cs
- FutureFactory.cs
- XmlText.cs
- XdrBuilder.cs
- ProtocolsInstallComponent.cs
- RectangleGeometry.cs
- MediaScriptCommandRoutedEventArgs.cs
- ResolveMatches11.cs
- ProgressPage.cs
- OutputWindow.cs
- BufferedGraphics.cs
- FontStretch.cs
- StringResourceManager.cs
- CodePageEncoding.cs
- CustomErrorsSectionWrapper.cs
- Utils.cs
- TypeInformation.cs
- CollectionViewGroup.cs
- ExtendedProtectionPolicyTypeConverter.cs
- MULTI_QI.cs
- ImmutableObjectAttribute.cs
- Dynamic.cs
- ArcSegment.cs
- dsa.cs
- MobileTextWriter.cs
- ElementNotEnabledException.cs
- EventLogSession.cs
- PackagePart.cs
- MemoryMappedFileSecurity.cs
- RegexMatch.cs
- TablePatternIdentifiers.cs
- KnownTypesProvider.cs
- ChildTable.cs
- formatter.cs
- DateTimeOffset.cs
- Color.cs
- RemoteCryptoRsaServiceProvider.cs
- wmiprovider.cs
- SQLStringStorage.cs
- XamlToRtfWriter.cs
- GotoExpression.cs
- Root.cs
- ProtocolsConfigurationEntry.cs
- MaskedTextProvider.cs
- WindowsProgressbar.cs
- LongCountAggregationOperator.cs
- UnSafeCharBuffer.cs
- LineMetrics.cs
- AttachedPropertyBrowsableAttribute.cs
- DataColumnCollection.cs
- RoleManagerEventArgs.cs
- EnumMember.cs
- SqlInfoMessageEvent.cs
- SecurityUtils.cs
- SchemaNotation.cs
- BulletChrome.cs
- UDPClient.cs
- StatusBarPanel.cs
- CodeTypeParameter.cs
- DataServiceOperationContext.cs
- SourceInterpreter.cs
- DataGridViewTextBoxCell.cs
- InternalConfigEventArgs.cs
- LayoutEditorPart.cs
- NegotiateStream.cs
- QilLoop.cs
- Lasso.cs
- AutoResetEvent.cs
- SqlNodeAnnotations.cs
- MarginsConverter.cs
- IUnknownConstantAttribute.cs