Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Metadata / EdmError.cs / 1 / 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
- RandomDelaySendsAsyncResult.cs
- AuthenticationConfig.cs
- DatatypeImplementation.cs
- XPathQueryGenerator.cs
- SqlDuplicator.cs
- VBCodeProvider.cs
- DeviceContext2.cs
- StreamWithDictionary.cs
- ListView.cs
- InstanceNameConverter.cs
- DesignerDataSchemaClass.cs
- AppLevelCompilationSectionCache.cs
- Bold.cs
- DefaultDialogButtons.cs
- DESCryptoServiceProvider.cs
- DelegateSerializationHolder.cs
- UnsafeNativeMethods.cs
- RootBrowserWindowAutomationPeer.cs
- ContentTextAutomationPeer.cs
- MultiView.cs
- DataBindingCollectionConverter.cs
- ObjectQuery_EntitySqlExtensions.cs
- DataGridTableStyleMappingNameEditor.cs
- SourceFileInfo.cs
- MethodCallTranslator.cs
- HttpDictionary.cs
- SettingsProviderCollection.cs
- RegexParser.cs
- ReflectionUtil.cs
- ComponentConverter.cs
- MenuItem.cs
- TrackPointCollection.cs
- BinaryFormatterWriter.cs
- ComponentEvent.cs
- OdbcDataAdapter.cs
- Registry.cs
- ConditionalWeakTable.cs
- XmlElementAttributes.cs
- FilteredAttributeCollection.cs
- ColumnTypeConverter.cs
- TreeNodeStyleCollection.cs
- FileStream.cs
- Tracer.cs
- PropertyIdentifier.cs
- MultiTrigger.cs
- Parser.cs
- FullTextState.cs
- ScrollChrome.cs
- FontStyleConverter.cs
- ServiceHttpHandlerFactory.cs
- PrinterSettings.cs
- EventManager.cs
- WindowsListView.cs
- BaseTemplateParser.cs
- dataSvcMapFileLoader.cs
- ToolboxItemFilterAttribute.cs
- BitmapFrameEncode.cs
- VSWCFServiceContractGenerator.cs
- CodeMethodReturnStatement.cs
- PassportAuthentication.cs
- NavigationCommands.cs
- VScrollProperties.cs
- ServiceProviders.cs
- Geometry3D.cs
- ValidateNames.cs
- InplaceBitmapMetadataWriter.cs
- OdbcConnectionHandle.cs
- FileSecurity.cs
- Command.cs
- SinglePageViewer.cs
- SqlConnectionHelper.cs
- MessageUtil.cs
- SqlDependency.cs
- SQLMoney.cs
- x509store.cs
- GradientStop.cs
- NamedObject.cs
- SignedPkcs7.cs
- Site.cs
- ViewStateModeByIdAttribute.cs
- Soap.cs
- GenericsInstances.cs
- ScriptServiceAttribute.cs
- SqlFlattener.cs
- FixedSOMImage.cs
- Ref.cs
- RootBrowserWindowAutomationPeer.cs
- NamedPermissionSet.cs
- Configuration.cs
- DelimitedListTraceListener.cs
- CellParaClient.cs
- XmlNamespaceMapping.cs
- EditingMode.cs
- CalendarButtonAutomationPeer.cs
- SkewTransform.cs
- SecurityTimestamp.cs
- HttpListenerException.cs
- CompareInfo.cs
- AssemblyBuilder.cs
- QilVisitor.cs