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
- AnimationStorage.cs
- LookupNode.cs
- ReliabilityContractAttribute.cs
- TemplateBamlTreeBuilder.cs
- MergeEnumerator.cs
- MenuItemStyleCollection.cs
- DbConnectionPoolGroupProviderInfo.cs
- ToolboxDataAttribute.cs
- CheckBoxAutomationPeer.cs
- ellipse.cs
- SmtpClient.cs
- TableCellCollection.cs
- FontEmbeddingManager.cs
- Membership.cs
- ProjectedSlot.cs
- ResourceExpressionBuilder.cs
- WebBrowserEvent.cs
- ParameterReplacerVisitor.cs
- AddInDeploymentState.cs
- AbstractSvcMapFileLoader.cs
- XmlSiteMapProvider.cs
- SemaphoreSecurity.cs
- BindingElementCollection.cs
- PerformanceCountersElement.cs
- MatchingStyle.cs
- wpf-etw.cs
- UniqueIdentifierService.cs
- XPathPatternBuilder.cs
- SpecialNameAttribute.cs
- RowVisual.cs
- ContourSegment.cs
- TextServicesCompartment.cs
- AssemblyBuilder.cs
- BitmapCodecInfo.cs
- Highlights.cs
- ScriptRegistrationManager.cs
- NaturalLanguageHyphenator.cs
- StringCollection.cs
- FragmentQuery.cs
- XPathParser.cs
- BooleanExpr.cs
- DbCommandTree.cs
- FileEnumerator.cs
- Style.cs
- RecordManager.cs
- HttpModuleAction.cs
- DictionaryBase.cs
- initElementDictionary.cs
- SqlConnectionFactory.cs
- RuntimeConfigLKG.cs
- SamlAuthorizationDecisionStatement.cs
- SiteMapProvider.cs
- CharacterString.cs
- ListControlConvertEventArgs.cs
- LocalIdCollection.cs
- RC2CryptoServiceProvider.cs
- AdjustableArrowCap.cs
- PolicyException.cs
- SignatureConfirmations.cs
- NativeMethods.cs
- ReadOnlyHierarchicalDataSource.cs
- DefaultEventAttribute.cs
- DecoderBestFitFallback.cs
- ValidationPropertyAttribute.cs
- safelinkcollection.cs
- WindowsPrincipal.cs
- IteratorDescriptor.cs
- StringExpressionSet.cs
- ByteBufferPool.cs
- FixedSOMPageConstructor.cs
- SHA512.cs
- PrimitiveSchema.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- PartialCachingAttribute.cs
- LiteralSubsegment.cs
- SystemKeyConverter.cs
- WhitespaceRuleReader.cs
- Timeline.cs
- ApplicationManager.cs
- ellipse.cs
- CustomErrorCollection.cs
- BindingContext.cs
- BamlMapTable.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- Memoizer.cs
- SimpleWebHandlerParser.cs
- AlternateViewCollection.cs
- PersonalizationProvider.cs
- MouseDevice.cs
- CustomPopupPlacement.cs
- LowerCaseStringConverter.cs
- ListDictionary.cs
- TextBoxBase.cs
- SerializationObjectManager.cs
- OptionalColumn.cs
- ClientTarget.cs
- ActivityExecutionFilter.cs
- PinProtectionHelper.cs
- ThaiBuddhistCalendar.cs
- MessageFilterTable.cs