Code:
/ DotNET / DotNET / 8.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
- ListBindingHelper.cs
- FeatureSupport.cs
- cryptoapiTransform.cs
- Collection.cs
- versioninfo.cs
- TextAutomationPeer.cs
- ResourceContainer.cs
- ArrayExtension.cs
- DataGridViewRowsRemovedEventArgs.cs
- DataControlButton.cs
- PropertyHelper.cs
- SystemIcons.cs
- PlatformCulture.cs
- OptimalTextSource.cs
- HMACMD5.cs
- ContractTypeNameCollection.cs
- WebBrowserUriTypeConverter.cs
- SmiEventSink_DeferedProcessing.cs
- RegexGroup.cs
- VisualStyleInformation.cs
- DataColumnCollection.cs
- RuntimeVariablesExpression.cs
- PlainXmlWriter.cs
- BamlTreeUpdater.cs
- WebPartHelpVerb.cs
- OdbcConnectionHandle.cs
- ContainerParagraph.cs
- LogSwitch.cs
- TextEditorThreadLocalStore.cs
- PlainXmlWriter.cs
- ConnectionStringsExpressionBuilder.cs
- DurationConverter.cs
- SmtpFailedRecipientException.cs
- SchemaObjectWriter.cs
- SafeLocalAllocation.cs
- SchemaSetCompiler.cs
- Identifier.cs
- GACMembershipCondition.cs
- HelpEvent.cs
- ClientBuildManagerCallback.cs
- VBIdentifierNameEditor.cs
- HighlightVisual.cs
- WorkflowView.cs
- Rotation3DKeyFrameCollection.cs
- ImageConverter.cs
- DataStreams.cs
- LogLogRecordHeader.cs
- MustUnderstandSoapException.cs
- SubstitutionDesigner.cs
- StaticFileHandler.cs
- TrustManagerPromptUI.cs
- ValueProviderWrapper.cs
- MdbDataFileEditor.cs
- CreateUserErrorEventArgs.cs
- SrgsDocument.cs
- PropertyDescriptorComparer.cs
- EventWaitHandleSecurity.cs
- UnionCqlBlock.cs
- XPathNodePointer.cs
- SuppressMessageAttribute.cs
- ColorBlend.cs
- _SpnDictionary.cs
- ServiceDocument.cs
- SystemEvents.cs
- ListBox.cs
- CompositeFontParser.cs
- RelationshipDetailsRow.cs
- XmlNodeChangedEventManager.cs
- SendMailErrorEventArgs.cs
- ExpandSegmentCollection.cs
- ReadOnlyHierarchicalDataSourceView.cs
- WindowsNonControl.cs
- OutputCacheProfile.cs
- Point.cs
- CellTreeSimplifier.cs
- XmlSerializableReader.cs
- MissingManifestResourceException.cs
- ProgressBar.cs
- HtmlElementCollection.cs
- VerticalAlignConverter.cs
- UrlMappingCollection.cs
- WCFServiceClientProxyGenerator.cs
- EditorPart.cs
- FunctionCommandText.cs
- ToolStripKeyboardHandlingService.cs
- ContextMenuStrip.cs
- _DynamicWinsockMethods.cs
- DocumentPageView.cs
- XmlReaderDelegator.cs
- ByteRangeDownloader.cs
- ProjectionCamera.cs
- AppearanceEditorPart.cs
- XmlArrayItemAttribute.cs
- Canvas.cs
- StaticTextPointer.cs
- TimeStampChecker.cs
- DataChangedEventManager.cs
- ColorContextHelper.cs
- DataGridViewTopRowAccessibleObject.cs
- SByte.cs