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
- PeerObject.cs
- SeverityFilter.cs
- CodeAttributeArgument.cs
- InvalidAsynchronousStateException.cs
- IdentitySection.cs
- Environment.cs
- SqlConnectionManager.cs
- XmlNodeReader.cs
- HierarchicalDataSourceControl.cs
- FlowLayoutPanel.cs
- QueryPageSettingsEventArgs.cs
- ListParaClient.cs
- CollectionBase.cs
- WsatConfiguration.cs
- ArrangedElementCollection.cs
- PresentationTraceSources.cs
- Odbc32.cs
- ControlEvent.cs
- SmiEventStream.cs
- TableRow.cs
- IntegerFacetDescriptionElement.cs
- DocumentReferenceCollection.cs
- DataGridViewCellValueEventArgs.cs
- EditorPartDesigner.cs
- StringBlob.cs
- Visual3D.cs
- TableLayoutPanel.cs
- columnmapfactory.cs
- DesignerRegion.cs
- StateItem.cs
- DataViewSettingCollection.cs
- UTF7Encoding.cs
- QueryHandler.cs
- Utils.cs
- QueryTaskGroupState.cs
- EdmFunctions.cs
- _FixedSizeReader.cs
- CommonXSendMessage.cs
- PTManager.cs
- NonClientArea.cs
- Debug.cs
- ActivityInstanceMap.cs
- AnimationStorage.cs
- SourceCollection.cs
- CallbackHandler.cs
- PageParserFilter.cs
- TheQuery.cs
- MetaType.cs
- TypeConverterHelper.cs
- GenericRootAutomationPeer.cs
- FontStyles.cs
- ShaderRenderModeValidation.cs
- CheckBoxFlatAdapter.cs
- Keyboard.cs
- PasswordBoxAutomationPeer.cs
- RequestCacheManager.cs
- StatusBarDrawItemEvent.cs
- Certificate.cs
- LocationUpdates.cs
- _TimerThread.cs
- GroupLabel.cs
- ConnectionPoolManager.cs
- QuerySetOp.cs
- QilGeneratorEnv.cs
- Stroke2.cs
- XmlValidatingReader.cs
- SchemaMapping.cs
- IsolatedStorageException.cs
- BufferModesCollection.cs
- ObjectHelper.cs
- WmfPlaceableFileHeader.cs
- BitmapPalette.cs
- VarRemapper.cs
- IApplicationTrustManager.cs
- TabControlToolboxItem.cs
- CellParagraph.cs
- ClientClassGenerator.cs
- DataGridColumn.cs
- DataTableMappingCollection.cs
- SafeNativeMethodsCLR.cs
- FileUtil.cs
- CLRBindingWorker.cs
- ApplicationGesture.cs
- Type.cs
- NavigationHelper.cs
- ScopelessEnumAttribute.cs
- RadioButtonPopupAdapter.cs
- XPathNode.cs
- PropertyItemInternal.cs
- DockAndAnchorLayout.cs
- SqlLiftWhereClauses.cs
- COM2ColorConverter.cs
- XmlWhitespace.cs
- CharacterMetricsDictionary.cs
- MinimizableAttributeTypeConverter.cs
- QilDataSource.cs
- contentDescriptor.cs
- DataGridBoundColumn.cs
- FormCollection.cs
- ParameterCollection.cs