Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- XmlUtil.cs
- PolicyStatement.cs
- DiagnosticsConfiguration.cs
- LinkConverter.cs
- SetIndexBinder.cs
- DeclarativeCatalogPart.cs
- Convert.cs
- CorePropertiesFilter.cs
- SynchronizedDispatch.cs
- EntityCommandCompilationException.cs
- ScrollItemProviderWrapper.cs
- RangeContentEnumerator.cs
- BasicCellRelation.cs
- InputLanguageEventArgs.cs
- TypedElement.cs
- NetworkStream.cs
- ReflectionUtil.cs
- UnsafeNativeMethodsTablet.cs
- ControlPropertyNameConverter.cs
- HtmlElementCollection.cs
- HtmlString.cs
- RegistryKey.cs
- CatalogZone.cs
- VolatileEnlistmentState.cs
- NTAccount.cs
- EntityDataSourceState.cs
- StringPropertyBuilder.cs
- BackStopAuthenticationModule.cs
- MimeTextImporter.cs
- ConfigurationManagerInternalFactory.cs
- PerfCounters.cs
- DataRowChangeEvent.cs
- NativeCppClassAttribute.cs
- DataGridCellsPresenter.cs
- FloatUtil.cs
- SecUtil.cs
- ScriptControlManager.cs
- MarshalByRefObject.cs
- LineBreak.cs
- RequestReplyCorrelator.cs
- PathSegmentCollection.cs
- DeflateEmulationStream.cs
- XmlDataSourceView.cs
- DesignSurfaceManager.cs
- BuildProvidersCompiler.cs
- ProgressBarRenderer.cs
- ProcessInfo.cs
- ClientBuildManagerCallback.cs
- SpellCheck.cs
- SessionPageStateSection.cs
- PackageRelationship.cs
- RegexGroupCollection.cs
- SplashScreenNativeMethods.cs
- FacetValueContainer.cs
- DispatcherSynchronizationContext.cs
- CommandBinding.cs
- DataServiceExpressionVisitor.cs
- DataTablePropertyDescriptor.cs
- MemberProjectionIndex.cs
- OperationCanceledException.cs
- DllNotFoundException.cs
- Pkcs7Signer.cs
- GroupBox.cs
- Stack.cs
- EpmCustomContentDeSerializer.cs
- PipelineDeploymentState.cs
- RectangleConverter.cs
- EventBuilder.cs
- TitleStyle.cs
- MemberDomainMap.cs
- WindowsFormsDesignerOptionService.cs
- CodeCatchClause.cs
- FrameAutomationPeer.cs
- XmlBinaryReader.cs
- ReadOnlyTernaryTree.cs
- GC.cs
- TextBox.cs
- WindowsListViewScroll.cs
- XmlElement.cs
- WebControlToolBoxItem.cs
- Compress.cs
- SamlAuthorizationDecisionStatement.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- WindowsFormsSectionHandler.cs
- Shape.cs
- TransactionValidationBehavior.cs
- Opcode.cs
- XmlMemberMapping.cs
- CommonDialog.cs
- OleTxTransactionInfo.cs
- XmlSchemaAll.cs
- EtwTrace.cs
- BitmapFrame.cs
- ProcessModelSection.cs
- SubclassTypeValidatorAttribute.cs
- ObjectDataSource.cs
- EntityCommandCompilationException.cs
- ContextStack.cs
- MarkupWriter.cs
- ProtectedProviderSettings.cs