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
- ViewCellRelation.cs
- RowParagraph.cs
- SingleAnimationBase.cs
- _OverlappedAsyncResult.cs
- SafeCoTaskMem.cs
- _NestedSingleAsyncResult.cs
- BatchParser.cs
- ClientRoleProvider.cs
- FileSystemEventArgs.cs
- Rectangle.cs
- RectangleGeometry.cs
- ByeOperationAsyncResult.cs
- IDispatchConstantAttribute.cs
- WmlObjectListAdapter.cs
- QueryOperationResponseOfT.cs
- WebServiceClientProxyGenerator.cs
- DefaultValueTypeConverter.cs
- AutomationElement.cs
- AppSettingsExpressionEditor.cs
- AssemblyAssociatedContentFileAttribute.cs
- XmlElementCollection.cs
- ItemPager.cs
- OdbcUtils.cs
- ReliabilityContractAttribute.cs
- IdnElement.cs
- Control.cs
- ProcessThreadCollection.cs
- StrongNameMembershipCondition.cs
- mda.cs
- EventArgs.cs
- SqlConnectionPoolProviderInfo.cs
- ScalarConstant.cs
- DefaultTextStoreTextComposition.cs
- MetadataCache.cs
- CodeComment.cs
- FullTextState.cs
- NodeFunctions.cs
- Line.cs
- ListItemParagraph.cs
- OciHandle.cs
- LoginView.cs
- FileSystemInfo.cs
- ParentUndoUnit.cs
- FilePrompt.cs
- FilteredSchemaElementLookUpTable.cs
- DecimalConstantAttribute.cs
- UdpContractFilterBehavior.cs
- ChooseAction.cs
- JsonSerializer.cs
- NotifyInputEventArgs.cs
- KeyedHashAlgorithm.cs
- ZipIOCentralDirectoryFileHeader.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- PointCollectionConverter.cs
- SplitterPanel.cs
- PieceDirectory.cs
- UIElement3D.cs
- DesignerVerb.cs
- HtmlEmptyTagControlBuilder.cs
- Clause.cs
- AdornerLayer.cs
- CngAlgorithm.cs
- XsdValidatingReader.cs
- MsmqActivation.cs
- BindingValueChangedEventArgs.cs
- InvokePattern.cs
- EmptyElement.cs
- TransformedBitmap.cs
- RequestCacheManager.cs
- CompilerLocalReference.cs
- FileClassifier.cs
- NameHandler.cs
- QuaternionAnimation.cs
- ImageConverter.cs
- ScriptModule.cs
- RelatedPropertyManager.cs
- ObjectDataSourceEventArgs.cs
- ConsumerConnectionPointCollection.cs
- BulletDecorator.cs
- FillBehavior.cs
- TableLayoutRowStyleCollection.cs
- DynamicPropertyHolder.cs
- HwndProxyElementProvider.cs
- Executor.cs
- DataGridItem.cs
- SoapFault.cs
- InvokeGenerator.cs
- DataListCommandEventArgs.cs
- JournalNavigationScope.cs
- VisualBrush.cs
- Error.cs
- SqlUserDefinedAggregateAttribute.cs
- IDReferencePropertyAttribute.cs
- TypeUnloadedException.cs
- EndPoint.cs
- UserPreferenceChangingEventArgs.cs
- RegexStringValidator.cs
- TypeUtils.cs
- AttributeSetAction.cs
- PageRequestManager.cs