Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / EdmError.cs / 1305376 / EdmError.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Data; namespace System.Data.Metadata.Edm { ////// This class encapsulates the error information for a generic EDM error. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] [Serializable] public abstract class EdmError { #region Instance Fields private string _message = null; #endregion #region Constructors ////// Constructs a EdmSchemaError object. /// /// The explanation of the error. /// The code associated with this error. /// The severity of the error. internal EdmError(string message) { EntityUtil.CheckStringArgument(message, "message"); _message = message; } #endregion #region Properties ////// Gets the error message. /// public string Message { get { return _message; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Data; namespace System.Data.Metadata.Edm { ////// This class encapsulates the error information for a generic EDM error. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] [Serializable] public abstract class EdmError { #region Instance Fields private string _message = null; #endregion #region Constructors ////// Constructs a EdmSchemaError object. /// /// The explanation of the error. /// The code associated with this error. /// The severity of the error. internal EdmError(string message) { EntityUtil.CheckStringArgument(message, "message"); _message = message; } #endregion #region Properties ////// Gets the error message. /// public string Message { get { return _message; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemaManager.cs
- Ray3DHitTestResult.cs
- Utils.cs
- HttpRuntimeSection.cs
- RelationshipConverter.cs
- DataBindingCollection.cs
- QuaternionAnimationUsingKeyFrames.cs
- IntranetCredentialPolicy.cs
- ServiceOperation.cs
- ColumnResizeAdorner.cs
- CodeDomExtensionMethods.cs
- Renderer.cs
- TypeUtils.cs
- Variable.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Enum.cs
- ExpressionSelection.cs
- ParserExtension.cs
- TypeResolver.cs
- ArrayTypeMismatchException.cs
- DbConnectionPoolCounters.cs
- ResXResourceReader.cs
- TypedRowGenerator.cs
- TransactionChannelListener.cs
- Floater.cs
- PackWebRequestFactory.cs
- EventMappingSettingsCollection.cs
- OdbcPermission.cs
- FixedSOMTableRow.cs
- XamlSerializationHelper.cs
- DefaultPropertyAttribute.cs
- Component.cs
- StyleSelector.cs
- XPathSelectionIterator.cs
- LogWriteRestartAreaState.cs
- MsmqInputSessionChannelListener.cs
- ProviderConnectionPointCollection.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- RuntimeIdentifierPropertyAttribute.cs
- DirectoryNotFoundException.cs
- Empty.cs
- ContentPropertyAttribute.cs
- ControlBuilder.cs
- KeyNotFoundException.cs
- DataGridTextBox.cs
- DbDataReader.cs
- GeneralTransform3DCollection.cs
- WriteTimeStream.cs
- MessageEncodingBindingElementImporter.cs
- QilChoice.cs
- MyContact.cs
- CustomAttribute.cs
- DataGridCellClipboardEventArgs.cs
- CodeAccessPermission.cs
- DispatcherBuilder.cs
- TypePresenter.xaml.cs
- HashHelper.cs
- Pair.cs
- CodeMemberField.cs
- WindowsUpDown.cs
- mda.cs
- ICspAsymmetricAlgorithm.cs
- SystemIPv6InterfaceProperties.cs
- DesignTimeParseData.cs
- ComponentEditorForm.cs
- BindableTemplateBuilder.cs
- VScrollProperties.cs
- Encoding.cs
- EntityObject.cs
- Attributes.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- HandleRef.cs
- DPTypeDescriptorContext.cs
- ConnectionInterfaceCollection.cs
- ScrollChrome.cs
- Splitter.cs
- XmlWellformedWriter.cs
- PointLightBase.cs
- SqlUdtInfo.cs
- SelectionBorderGlyph.cs
- BrushValueSerializer.cs
- SafeThemeHandle.cs
- TimeSpan.cs
- SoapElementAttribute.cs
- WebPartConnectionsEventArgs.cs
- MSG.cs
- Ppl.cs
- ToolTip.cs
- ChannelBinding.cs
- InkPresenterAutomationPeer.cs
- Accessors.cs
- TrimSurroundingWhitespaceAttribute.cs
- HeaderFilter.cs
- _FtpDataStream.cs
- QueryContinueDragEventArgs.cs
- DataGrid.cs
- XmlSchemaAttributeGroupRef.cs
- RuleSet.cs
- SmtpException.cs
- serverconfig.cs