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
- ContainsSearchOperator.cs
- GroupStyle.cs
- XmlAnyElementAttribute.cs
- DataGridViewLinkCell.cs
- MimeMapping.cs
- InfoCardCryptoHelper.cs
- QilGeneratorEnv.cs
- Keyboard.cs
- TrackingQuery.cs
- Internal.cs
- ConfigurationManagerInternalFactory.cs
- HttpCacheVaryByContentEncodings.cs
- LambdaReference.cs
- InputDevice.cs
- BufferModesCollection.cs
- EffectiveValueEntry.cs
- HtmlWindowCollection.cs
- UnmanagedMemoryStream.cs
- IndexOutOfRangeException.cs
- StrokeSerializer.cs
- MULTI_QI.cs
- HttpValueCollection.cs
- httpserverutility.cs
- NegatedConstant.cs
- TableTextElementCollectionInternal.cs
- SchemaInfo.cs
- Graphics.cs
- DesignerWithHeader.cs
- Terminate.cs
- DataRowView.cs
- TextBlockAutomationPeer.cs
- ThousandthOfEmRealPoints.cs
- ValidationEventArgs.cs
- PrivateFontCollection.cs
- SaveFileDialogDesigner.cs
- CodeConstructor.cs
- LocalServiceSecuritySettingsElement.cs
- EventTrigger.cs
- ComponentSerializationService.cs
- CompilerInfo.cs
- ControlAdapter.cs
- FileNotFoundException.cs
- InkCollectionBehavior.cs
- IriParsingElement.cs
- _PooledStream.cs
- Int64Converter.cs
- Memoizer.cs
- MetaChildrenColumn.cs
- userdatakeys.cs
- FileDialog_Vista.cs
- RichTextBoxAutomationPeer.cs
- CryptoKeySecurity.cs
- Root.cs
- MinimizableAttributeTypeConverter.cs
- NonSerializedAttribute.cs
- PreloadedPackages.cs
- DataControlImageButton.cs
- PartitionResolver.cs
- XmlElementAttributes.cs
- AssemblyUtil.cs
- ProviderConnectionPointCollection.cs
- ClientCultureInfo.cs
- InvalidContentTypeException.cs
- CancelEventArgs.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- XmlSchemaDocumentation.cs
- InstallerTypeAttribute.cs
- SoapReflectionImporter.cs
- MouseOverProperty.cs
- PersistenceContextEnlistment.cs
- EntityContainerAssociationSetEnd.cs
- XmlHierarchicalEnumerable.cs
- DefaultWorkflowLoaderService.cs
- FontFamilyValueSerializer.cs
- ListBoxAutomationPeer.cs
- IndexOutOfRangeException.cs
- CodeArrayIndexerExpression.cs
- MasterPage.cs
- MultipleViewPattern.cs
- ResourceExpressionEditor.cs
- ResourceManagerWrapper.cs
- HttpException.cs
- StaticSiteMapProvider.cs
- OutputCacheProfile.cs
- SQLUtility.cs
- _OSSOCK.cs
- ContractValidationHelper.cs
- Animatable.cs
- SecureUICommand.cs
- SmiTypedGetterSetter.cs
- SecureUICommand.cs
- IdnMapping.cs
- CompModSwitches.cs
- XsltArgumentList.cs
- UITypeEditor.cs
- SettingsSection.cs
- JsonServiceDocumentSerializer.cs
- LateBoundBitmapDecoder.cs
- MembershipSection.cs
- EntityObject.cs