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
- XmlIgnoreAttribute.cs
- PeerNameRegistration.cs
- KeyValueConfigurationElement.cs
- GetKeyedHashRequest.cs
- JsonByteArrayDataContract.cs
- StructuralType.cs
- LinqDataSourceSelectEventArgs.cs
- PasswordTextContainer.cs
- HandlerFactoryWrapper.cs
- RegexMatch.cs
- FtpWebResponse.cs
- SqlRowUpdatingEvent.cs
- RemoteArgument.cs
- WindowsTab.cs
- XmlImplementation.cs
- DefaultShape.cs
- DocumentCollection.cs
- StylusTouchDevice.cs
- SystemWebSectionGroup.cs
- CellParagraph.cs
- MemoryStream.cs
- mediaclock.cs
- SQLMembershipProvider.cs
- EntityDataReader.cs
- AnnotationDocumentPaginator.cs
- NGCSerializerAsync.cs
- XmlSerializationWriter.cs
- WindowsTitleBar.cs
- Rect3D.cs
- StringReader.cs
- WindowsPrincipal.cs
- EntityClientCacheEntry.cs
- DependencySource.cs
- RichTextBox.cs
- TypefaceMetricsCache.cs
- MetabaseSettings.cs
- XmlSchemaAttributeGroupRef.cs
- ProfilePropertyMetadata.cs
- TreeNodeSelectionProcessor.cs
- CompositeControlDesigner.cs
- Timer.cs
- SuppressMergeCheckAttribute.cs
- SHA512.cs
- ControlAdapter.cs
- _NTAuthentication.cs
- StatusBarAutomationPeer.cs
- DataRecordInternal.cs
- RegisteredHiddenField.cs
- DefaultBinder.cs
- DownloadProgressEventArgs.cs
- GacUtil.cs
- RawUIStateInputReport.cs
- ScrollBar.cs
- Queue.cs
- KeyBinding.cs
- CopyAction.cs
- MouseWheelEventArgs.cs
- SqlCacheDependencySection.cs
- DataControlCommands.cs
- TextAutomationPeer.cs
- StylusPointPropertyInfoDefaults.cs
- MasterPageBuildProvider.cs
- PrintPreviewDialog.cs
- XmlNamedNodeMap.cs
- OdbcReferenceCollection.cs
- SQLDecimal.cs
- ManagementObject.cs
- ExeContext.cs
- ImageAttributes.cs
- SynthesizerStateChangedEventArgs.cs
- SqlUserDefinedAggregateAttribute.cs
- Dictionary.cs
- Memoizer.cs
- QueryableDataSourceEditData.cs
- Int32Converter.cs
- FileUtil.cs
- Decimal.cs
- CheckBoxAutomationPeer.cs
- WizardForm.cs
- LassoSelectionBehavior.cs
- TypeElement.cs
- sqlser.cs
- ResourceDescriptionAttribute.cs
- WindowsSecurityTokenAuthenticator.cs
- HwndProxyElementProvider.cs
- DesignDataSource.cs
- OdbcConnectionFactory.cs
- CodeConstructor.cs
- ServiceModelExtensionElement.cs
- SecurityHeaderElementInferenceEngine.cs
- Enum.cs
- DocumentScope.cs
- StateMachineWorkflowInstance.cs
- FormViewDeletedEventArgs.cs
- DataServiceHost.cs
- FontFamily.cs
- SemaphoreSecurity.cs
- InvalidOperationException.cs
- SymbolTable.cs
- CellIdBoolean.cs