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
- TraceHandlerErrorFormatter.cs
- SqlClientWrapperSmiStreamChars.cs
- ToolboxItemCollection.cs
- ItemCheckEvent.cs
- SoapHelper.cs
- SendSecurityHeader.cs
- MarkerProperties.cs
- versioninfo.cs
- SqlBulkCopy.cs
- TransactedBatchingBehavior.cs
- Classification.cs
- TreeViewImageIndexConverter.cs
- DescendantQuery.cs
- ThreadAttributes.cs
- OdbcDataAdapter.cs
- RegexTree.cs
- mansign.cs
- ExpressionBindings.cs
- EmptyElement.cs
- AutomationPattern.cs
- GridViewColumnHeaderAutomationPeer.cs
- HyperLinkField.cs
- PropertyEmitter.cs
- MarkupCompilePass1.cs
- ToolStripDropDownClosingEventArgs.cs
- QueryReaderSettings.cs
- EntityDataSourceConfigureObjectContext.cs
- StyleXamlParser.cs
- TextLine.cs
- DtdParser.cs
- BaseDataBoundControl.cs
- MouseOverProperty.cs
- FixUp.cs
- ProtocolsSection.cs
- QilIterator.cs
- SqlUserDefinedAggregateAttribute.cs
- _NegoStream.cs
- EncryptedHeader.cs
- GAC.cs
- ServiceModelEnumValidatorAttribute.cs
- LayoutEngine.cs
- CountAggregationOperator.cs
- Pointer.cs
- AssemblyCollection.cs
- HttpClientCertificate.cs
- Calendar.cs
- WindowsFormsSynchronizationContext.cs
- prompt.cs
- TrackingDataItemValue.cs
- Matrix3DStack.cs
- StylusCollection.cs
- DataGridColumnsPage.cs
- XamlTypeMapperSchemaContext.cs
- CommonDialog.cs
- LinkLabelLinkClickedEvent.cs
- TemplateBuilder.cs
- Setter.cs
- SafeRegistryHandle.cs
- WebColorConverter.cs
- SecurityUtils.cs
- ScriptMethodAttribute.cs
- ExpressionBinding.cs
- ValidatorCompatibilityHelper.cs
- Geometry.cs
- DataControlPagerLinkButton.cs
- IResourceProvider.cs
- DSASignatureDeformatter.cs
- XamlSerializerUtil.cs
- ZoneButton.cs
- BinaryReader.cs
- WorkflowServiceHost.cs
- DataGridViewTextBoxEditingControl.cs
- CachedPathData.cs
- XmlElementCollection.cs
- FormClosingEvent.cs
- LabelLiteral.cs
- _PooledStream.cs
- ButtonAutomationPeer.cs
- TransactionChannelFactory.cs
- RemoteWebConfigurationHostServer.cs
- CompressedStack.cs
- WhiteSpaceTrimStringConverter.cs
- WebPartMinimizeVerb.cs
- AssemblyBuilderData.cs
- Line.cs
- ContentControl.cs
- UserInitiatedRoutedEventPermission.cs
- MenuBase.cs
- MatrixTransform3D.cs
- SimpleMailWebEventProvider.cs
- SmiMetaData.cs
- FamilyMapCollection.cs
- GridView.cs
- ItemCheckedEvent.cs
- CellIdBoolean.cs
- precedingquery.cs
- VirtualPath.cs
- LambdaReference.cs
- HorizontalAlignConverter.cs
- ModifierKeysValueSerializer.cs