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
- FixUp.cs
- PagerSettings.cs
- PropertyGroupDescription.cs
- CharacterMetricsDictionary.cs
- LeaseManager.cs
- _ListenerResponseStream.cs
- PeerContact.cs
- SplayTreeNode.cs
- XmlSiteMapProvider.cs
- LoadGrammarCompletedEventArgs.cs
- XmlBinaryReader.cs
- streamingZipPartStream.cs
- Environment.cs
- DataSet.cs
- XmlSchemaImporter.cs
- GridViewUpdatedEventArgs.cs
- Odbc32.cs
- ResourceLoader.cs
- util.cs
- Debugger.cs
- ExtentCqlBlock.cs
- SurrogateSelector.cs
- WebCategoryAttribute.cs
- BaseDataBoundControl.cs
- TargetControlTypeCache.cs
- TrustManagerPromptUI.cs
- WindowsGraphics2.cs
- SmiEventStream.cs
- Keywords.cs
- SymbolTable.cs
- WebPartsPersonalizationAuthorization.cs
- XmlSchemaDocumentation.cs
- MenuItemCollectionEditorDialog.cs
- EncoderExceptionFallback.cs
- ExpanderAutomationPeer.cs
- ConfigXmlDocument.cs
- ReferencedCategoriesDocument.cs
- PlatformNotSupportedException.cs
- MessageHeaderAttribute.cs
- XmlUTF8TextWriter.cs
- XmlAttributeCollection.cs
- StrongNameKeyPair.cs
- ModuleBuilder.cs
- RuntimeHelpers.cs
- CompilerGeneratedAttribute.cs
- XPathQilFactory.cs
- WindowsHyperlink.cs
- ProfileGroupSettingsCollection.cs
- ObjectStateEntry.cs
- ThreadStaticAttribute.cs
- MsmqIntegrationBindingCollectionElement.cs
- _LocalDataStore.cs
- ProviderSettings.cs
- TextEndOfParagraph.cs
- FlowPanelDesigner.cs
- Drawing.cs
- InputEventArgs.cs
- PenLineCapValidation.cs
- SqlColumnizer.cs
- Odbc32.cs
- BuildManager.cs
- WinFormsSpinner.cs
- CfgParser.cs
- RSACryptoServiceProvider.cs
- Int64AnimationBase.cs
- OutOfProcStateClientManager.cs
- ObjectListGeneralPage.cs
- EnumUnknown.cs
- PreviewKeyDownEventArgs.cs
- ArgumentException.cs
- CookieParameter.cs
- TextProperties.cs
- TrustManagerPromptUI.cs
- WebDescriptionAttribute.cs
- ContractComponent.cs
- AttributeTableBuilder.cs
- AxHost.cs
- MetricEntry.cs
- EncodingTable.cs
- LateBoundBitmapDecoder.cs
- AutoResetEvent.cs
- SqlDelegatedTransaction.cs
- COAUTHIDENTITY.cs
- CuspData.cs
- CounterSet.cs
- PLINQETWProvider.cs
- TextInfo.cs
- OperatorExpressions.cs
- TypedRowHandler.cs
- ProtectedConfigurationProviderCollection.cs
- XmlNodeReader.cs
- InstanceDescriptor.cs
- ManipulationDevice.cs
- Metafile.cs
- DataBindingCollection.cs
- TimeSpan.cs
- BindingsCollection.cs
- DataGridDesigner.cs
- ScriptReferenceBase.cs
- SerializationInfo.cs