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
- sitestring.cs
- HelpFileFileNameEditor.cs
- ObjectDataSourceView.cs
- ManualResetEvent.cs
- EditorPartCollection.cs
- Win32.cs
- CredentialCache.cs
- ActionFrame.cs
- XmlSerializer.cs
- TextServicesManager.cs
- AuthenticatedStream.cs
- PageParser.cs
- ProxyRpc.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- PropertyChangedEventArgs.cs
- TraceSource.cs
- NativeCppClassAttribute.cs
- HtmlTableRow.cs
- RemotingServices.cs
- AssociatedControlConverter.cs
- FieldReference.cs
- PeerEndPoint.cs
- DefaultSection.cs
- RoleManagerSection.cs
- QueryStringHandler.cs
- BamlMapTable.cs
- BoolExpressionVisitors.cs
- PathHelper.cs
- BindMarkupExtensionSerializer.cs
- AddressHeaderCollectionElement.cs
- SingleKeyFrameCollection.cs
- TextFragmentEngine.cs
- TextElementAutomationPeer.cs
- XslTransform.cs
- NavigationPropertyEmitter.cs
- SmtpLoginAuthenticationModule.cs
- ForAllOperator.cs
- ResourcesGenerator.cs
- Inline.cs
- DLinqAssociationProvider.cs
- XmlException.cs
- UnitySerializationHolder.cs
- OracleConnectionStringBuilder.cs
- baseshape.cs
- XPathNodeInfoAtom.cs
- NativeMethodsCLR.cs
- XmlSchemaSimpleContentExtension.cs
- MulticastIPAddressInformationCollection.cs
- Brush.cs
- CompilationSection.cs
- TextCompositionManager.cs
- MailSettingsSection.cs
- DelegatingConfigHost.cs
- ToolStripSplitStackLayout.cs
- ByeOperation11AsyncResult.cs
- Visual.cs
- cookie.cs
- ReservationNotFoundException.cs
- HttpRuntimeSection.cs
- ImageMetadata.cs
- SecurityState.cs
- Timeline.cs
- BitmapEffectInputData.cs
- SmtpCommands.cs
- FilterEventArgs.cs
- NetworkAddressChange.cs
- PathSegment.cs
- DbConnectionStringCommon.cs
- StringHelper.cs
- TextMarkerSource.cs
- MenuItemCollection.cs
- RectConverter.cs
- ModifierKeysConverter.cs
- XmlSchemaProviderAttribute.cs
- SqlNodeAnnotation.cs
- XmlTextAttribute.cs
- ToolBar.cs
- SchemaNotation.cs
- ManagementExtension.cs
- PropertyEmitter.cs
- CodeMemberEvent.cs
- SqlDataSourceCommandEventArgs.cs
- Membership.cs
- TemplateBamlRecordReader.cs
- FlowDocumentReader.cs
- UnknownWrapper.cs
- TextEditorSpelling.cs
- EraserBehavior.cs
- LogicalCallContext.cs
- Triplet.cs
- ForeignKeyConstraint.cs
- DocumentCollection.cs
- InputReportEventArgs.cs
- OrderedHashRepartitionStream.cs
- ConfigurationProperty.cs
- RolePrincipal.cs
- TextSelection.cs
- PersonalizationStateQuery.cs
- KeyBinding.cs
- Thread.cs