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
- NamespaceInfo.cs
- InternalBase.cs
- AccessDataSourceView.cs
- CheckoutException.cs
- OleDbCommand.cs
- StackBuilderSink.cs
- InitializationEventAttribute.cs
- TransactionScope.cs
- ProvideValueServiceProvider.cs
- SpAudioStreamWrapper.cs
- Context.cs
- HtmlInputImage.cs
- WindowsEditBox.cs
- NavigationPropertyEmitter.cs
- TraceListener.cs
- unsafenativemethodstextservices.cs
- WorkflowServiceInstance.cs
- CategoryAttribute.cs
- WebConvert.cs
- Model3DCollection.cs
- XmlILCommand.cs
- MouseEvent.cs
- login.cs
- PopupEventArgs.cs
- ContentPlaceHolder.cs
- ActivityTypeCodeDomSerializer.cs
- GZipDecoder.cs
- InputProcessorProfiles.cs
- Compiler.cs
- M3DUtil.cs
- PartialCachingControl.cs
- IsolatedStorageFileStream.cs
- FragmentNavigationEventArgs.cs
- CommandID.cs
- DataServiceQuery.cs
- RewritingPass.cs
- ConfigXmlElement.cs
- httpapplicationstate.cs
- WinFormsSecurity.cs
- DocumentCollection.cs
- FixedSOMGroup.cs
- SharedPerformanceCounter.cs
- ScrollBarAutomationPeer.cs
- TdsParserSessionPool.cs
- SourceFilter.cs
- SynchronizationLockException.cs
- CheckBoxField.cs
- MultiPartWriter.cs
- GeometryModel3D.cs
- ExpressionLink.cs
- SpellerStatusTable.cs
- DictationGrammar.cs
- ZipIOModeEnforcingStream.cs
- ApplicationServiceManager.cs
- PropertyPathWorker.cs
- InstalledFontCollection.cs
- EdmValidator.cs
- TextProperties.cs
- ConnectionManagementElement.cs
- TabletCollection.cs
- CheckBoxRenderer.cs
- SingleAnimationUsingKeyFrames.cs
- XPathNavigatorKeyComparer.cs
- KeyboardDevice.cs
- BooleanExpr.cs
- UrlMappingsModule.cs
- QilFactory.cs
- OpacityConverter.cs
- CharacterBufferReference.cs
- PageClientProxyGenerator.cs
- SmtpLoginAuthenticationModule.cs
- SafeSystemMetrics.cs
- URLAttribute.cs
- Logging.cs
- MenuTracker.cs
- WindowsStartMenu.cs
- XmlSchemaObjectTable.cs
- GenericArgumentsUpdater.cs
- XmlSchemaAny.cs
- WebCategoryAttribute.cs
- DocumentGridPage.cs
- SessionState.cs
- XmlElementCollection.cs
- GeometryHitTestParameters.cs
- ConfigurationValue.cs
- PassportAuthenticationModule.cs
- CounterSampleCalculator.cs
- WebCategoryAttribute.cs
- CompositeTypefaceMetrics.cs
- PageStatePersister.cs
- PointCollection.cs
- NameTable.cs
- oledbmetadatacollectionnames.cs
- SQLUtility.cs
- LinqDataView.cs
- DeclarativeCatalogPart.cs
- ValueConversionAttribute.cs
- WindowsPen.cs
- WebServiceData.cs
- AnnotationResource.cs