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
- TreeNodeMouseHoverEvent.cs
- BindingsCollection.cs
- HtmlElement.cs
- ConnectorRouter.cs
- AssemblyContextControlItem.cs
- LayoutEvent.cs
- SerialPort.cs
- EnumType.cs
- IBuiltInEvidence.cs
- XPathSelectionIterator.cs
- GeneratedContractType.cs
- FormatException.cs
- PointHitTestResult.cs
- FormView.cs
- RequestCacheEntry.cs
- StatusBar.cs
- TargetConverter.cs
- SpanIndex.cs
- ProcessThread.cs
- DataGridCell.cs
- TrackPoint.cs
- HandlerFactoryCache.cs
- System.Data_BID.cs
- exports.cs
- ServiceDescriptionData.cs
- RMPublishingDialog.cs
- XPathBinder.cs
- Rotation3DAnimation.cs
- CodeCatchClause.cs
- _UriTypeConverter.cs
- EntityObject.cs
- DocumentPageHost.cs
- FileDialogCustomPlace.cs
- MutableAssemblyCacheEntry.cs
- StrokeNodeOperations.cs
- BasePattern.cs
- ExpressionLexer.cs
- SHA512CryptoServiceProvider.cs
- BuildResultCache.cs
- SoapRpcServiceAttribute.cs
- ConfigurationLocationCollection.cs
- counter.cs
- ContainerTracking.cs
- WebRequestModuleElementCollection.cs
- SelectionGlyph.cs
- DataGridViewCellEventArgs.cs
- HealthMonitoringSectionHelper.cs
- ClientFormsAuthenticationCredentials.cs
- NamedPipeTransportSecurityElement.cs
- StrongTypingException.cs
- TimerTable.cs
- FunctionImportMapping.cs
- PrintPreviewControl.cs
- elementinformation.cs
- OutputCacheProfile.cs
- DeviceSpecificChoiceCollection.cs
- ServiceReference.cs
- SynchronizationContext.cs
- XmlAttributeHolder.cs
- ClosableStream.cs
- ScriptHandlerFactory.cs
- TypeForwardedFromAttribute.cs
- Matrix3D.cs
- IndentedTextWriter.cs
- bidPrivateBase.cs
- ExtendedPropertyCollection.cs
- grammarelement.cs
- Util.cs
- SolidBrush.cs
- QuaternionRotation3D.cs
- ListViewTableRow.cs
- DataBindEngine.cs
- UnsafeNetInfoNativeMethods.cs
- RichTextBoxConstants.cs
- PopupEventArgs.cs
- DbConnectionPool.cs
- DbMetaDataCollectionNames.cs
- ButtonField.cs
- PrimitiveSchema.cs
- WebEvents.cs
- Logging.cs
- XPathSelectionIterator.cs
- Calendar.cs
- BoundField.cs
- WindowsFormsHelpers.cs
- InstalledFontCollection.cs
- InvalidTimeZoneException.cs
- GradientStop.cs
- SessionStateItemCollection.cs
- AssemblyBuilder.cs
- AnnotationService.cs
- IndependentAnimationStorage.cs
- LambdaCompiler.Address.cs
- SQLGuid.cs
- BitSet.cs
- TreeNode.cs
- ListViewUpdateEventArgs.cs
- DataViewSetting.cs
- IndentedWriter.cs
- FontCacheLogic.cs