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
- SocketCache.cs
- TypeHelpers.cs
- ComIntegrationManifestGenerator.cs
- AnnotationResource.cs
- Win32SafeHandles.cs
- ConfigurationStrings.cs
- LoginView.cs
- ReliabilityContractAttribute.cs
- TextSelectionHighlightLayer.cs
- _TransmitFileOverlappedAsyncResult.cs
- DescendentsWalkerBase.cs
- Binding.cs
- Wizard.cs
- HandlerFactoryWrapper.cs
- HttpListenerException.cs
- SurrogateDataContract.cs
- BitmapVisualManager.cs
- DES.cs
- PathSegmentCollection.cs
- PropertyValueUIItem.cs
- XmlKeywords.cs
- EmptyStringExpandableObjectConverter.cs
- PersonalizationEntry.cs
- InternalResources.cs
- XmlSchemaInclude.cs
- WebServiceData.cs
- BitmapCodecInfo.cs
- Identifier.cs
- TypeSource.cs
- EntityDataSourceMemberPath.cs
- PrincipalPermission.cs
- ToolStripDropDownItem.cs
- Profiler.cs
- TextModifierScope.cs
- UserNamePasswordValidator.cs
- PersianCalendar.cs
- SafePipeHandle.cs
- SessionParameter.cs
- isolationinterop.cs
- ComplexTypeEmitter.cs
- DotExpr.cs
- ModulesEntry.cs
- ModelPropertyImpl.cs
- SwitchLevelAttribute.cs
- PointValueSerializer.cs
- PointConverter.cs
- SurrogateDataContract.cs
- GridViewCancelEditEventArgs.cs
- NativeMethods.cs
- BuildResult.cs
- Brush.cs
- PageBuildProvider.cs
- DBCommand.cs
- ComplusTypeValidator.cs
- Misc.cs
- DateTimeEditor.cs
- HMACSHA256.cs
- ProxyElement.cs
- NavigationWindow.cs
- ContainerParagraph.cs
- ResourceAssociationSetEnd.cs
- HttpServerChannel.cs
- WebPartCollection.cs
- FormViewPagerRow.cs
- AsmxEndpointPickerExtension.cs
- EvidenceBase.cs
- IntegrationExceptionEventArgs.cs
- SmtpAuthenticationManager.cs
- UnsafeNativeMethods.cs
- ColumnResizeAdorner.cs
- TypeEnumerableViewSchema.cs
- HttpWebRequestElement.cs
- FrugalMap.cs
- Matrix3DConverter.cs
- View.cs
- EntityReference.cs
- HtmlElementEventArgs.cs
- RadioButtonPopupAdapter.cs
- XmlEventCache.cs
- ApplicationException.cs
- ComponentTray.cs
- IOThreadTimer.cs
- TableLayoutPanel.cs
- ListenerAdapter.cs
- MemoryRecordBuffer.cs
- KnownColorTable.cs
- RenderTargetBitmap.cs
- Graphics.cs
- XmlEnumAttribute.cs
- RegexCode.cs
- DataGridViewRowHeaderCell.cs
- RequiredFieldValidator.cs
- TextTreeUndo.cs
- DesignerTransactionCloseEvent.cs
- VisualBrush.cs
- XmlTypeMapping.cs
- HashJoinQueryOperatorEnumerator.cs
- HostingEnvironmentWrapper.cs
- SemanticTag.cs
- UserPreferenceChangingEventArgs.cs