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
- embossbitmapeffect.cs
- ConfigurationLocationCollection.cs
- CurrentChangingEventManager.cs
- Vector3DCollectionValueSerializer.cs
- FormConverter.cs
- AdornedElementPlaceholder.cs
- LoadWorkflowAsyncResult.cs
- WindowsBrush.cs
- EnumValAlphaComparer.cs
- WmlImageAdapter.cs
- ToolStripSplitStackLayout.cs
- PolicyManager.cs
- QilXmlWriter.cs
- GPPOINTF.cs
- SystemMulticastIPAddressInformation.cs
- SQlBooleanStorage.cs
- OrderedDictionary.cs
- Property.cs
- Activator.cs
- PriorityQueue.cs
- ToolStripOverflowButton.cs
- ToolZoneDesigner.cs
- WebPartCloseVerb.cs
- CompositeScriptReferenceEventArgs.cs
- CFStream.cs
- ClientCultureInfo.cs
- StringFreezingAttribute.cs
- MachineKeySection.cs
- QueryContinueDragEventArgs.cs
- PersonalizationStateInfoCollection.cs
- Filter.cs
- IteratorDescriptor.cs
- SimpleLine.cs
- ControlBuilder.cs
- MemoryRecordBuffer.cs
- TimeIntervalCollection.cs
- EditCommandColumn.cs
- VirtualPath.cs
- EnumerableCollectionView.cs
- UpdateProgress.cs
- ValueUnavailableException.cs
- PageDeviceFont.cs
- CodeDirectionExpression.cs
- activationcontext.cs
- MethodImplAttribute.cs
- DrawingImage.cs
- ValueTypeFieldReference.cs
- Helpers.cs
- ViewLoader.cs
- FormViewUpdateEventArgs.cs
- ServiceOperationParameter.cs
- ResXFileRef.cs
- OleDbFactory.cs
- FormViewInsertedEventArgs.cs
- OracleDataAdapter.cs
- FormViewRow.cs
- XslAstAnalyzer.cs
- TileModeValidation.cs
- GridViewUpdateEventArgs.cs
- Pen.cs
- DataGridViewCellStyle.cs
- FontWeightConverter.cs
- WebPartVerbCollection.cs
- XmlWriterTraceListener.cs
- ThicknessConverter.cs
- TextRangeProviderWrapper.cs
- ValidationResults.cs
- ProcessingInstructionAction.cs
- AsyncContentLoadedEventArgs.cs
- ThemeDirectoryCompiler.cs
- Calendar.cs
- AttachedPropertyMethodSelector.cs
- PermissionSet.cs
- CodeChecksumPragma.cs
- DataGridViewComponentPropertyGridSite.cs
- Tile.cs
- View.cs
- WindowsPen.cs
- InitializationEventAttribute.cs
- GestureRecognitionResult.cs
- ProxyManager.cs
- BasicHttpBindingCollectionElement.cs
- CompModSwitches.cs
- DoubleCollection.cs
- EventItfInfo.cs
- OutOfMemoryException.cs
- CharacterString.cs
- HttpRequest.cs
- XmlAttributes.cs
- DataListItem.cs
- InputProviderSite.cs
- WebPartCollection.cs
- XamlTypeWithExplicitNamespace.cs
- CalendarAutoFormat.cs
- NetMsmqSecurityElement.cs
- CachedPathData.cs
- EditorZone.cs
- BevelBitmapEffect.cs
- GeometryCombineModeValidation.cs
- DataRowExtensions.cs