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
- ApplicationCommands.cs
- ComponentDispatcherThread.cs
- IntPtr.cs
- Control.cs
- ClientRoleProvider.cs
- sqlstateclientmanager.cs
- RegistryPermission.cs
- MimeFormatter.cs
- ParallelEnumerable.cs
- WebColorConverter.cs
- IdnElement.cs
- AstTree.cs
- GridViewRowPresenterBase.cs
- FrameworkContextData.cs
- LongPath.cs
- ChildTable.cs
- EncryptedType.cs
- NamedPipeConnectionPoolSettings.cs
- XPathDocument.cs
- HandleValueEditor.cs
- XsdDateTime.cs
- BitmapEffectInput.cs
- DataGridViewCellCollection.cs
- ObjectListItemCollection.cs
- HtmlAnchor.cs
- ApplicationCommands.cs
- LexicalChunk.cs
- ValidatorUtils.cs
- Query.cs
- SiteMapNodeCollection.cs
- XXXOnTypeBuilderInstantiation.cs
- SkipStoryboardToFill.cs
- Update.cs
- ipaddressinformationcollection.cs
- RuleCache.cs
- RegistryExceptionHelper.cs
- NavigationCommands.cs
- RootBrowserWindowAutomationPeer.cs
- RuleSet.cs
- WebMessageEncodingElement.cs
- ToolboxItemImageConverter.cs
- ConstructorBuilder.cs
- ImageMap.cs
- TimeSpanMinutesConverter.cs
- WebServiceParameterData.cs
- AutomationIdentifierGuids.cs
- PropVariant.cs
- HiddenField.cs
- PostBackTrigger.cs
- ScriptReferenceEventArgs.cs
- ChtmlTextWriter.cs
- SecurityAttributeGenerationHelper.cs
- QueryRewriter.cs
- NavigationEventArgs.cs
- SHA1CryptoServiceProvider.cs
- DocumentViewerBaseAutomationPeer.cs
- TrackingWorkflowEventArgs.cs
- WaitHandle.cs
- SchemaNames.cs
- TraceContext.cs
- ConfigXmlSignificantWhitespace.cs
- TagPrefixInfo.cs
- RelationshipDetailsRow.cs
- DependencyPropertyDescriptor.cs
- EntityDataSourceContextCreatedEventArgs.cs
- XmlUTF8TextReader.cs
- DefaultBinder.cs
- DynamicObject.cs
- SqlTrackingService.cs
- State.cs
- nulltextcontainer.cs
- EditableTreeList.cs
- EventLogPermissionEntry.cs
- DocumentOrderQuery.cs
- JsonMessageEncoderFactory.cs
- ValidationError.cs
- AutomationPropertyInfo.cs
- UnsafePeerToPeerMethods.cs
- ConsoleTraceListener.cs
- RemotingConfigParser.cs
- Variable.cs
- WebEvents.cs
- WpfXamlType.cs
- CompilerWrapper.cs
- GetPageCompletedEventArgs.cs
- StoryFragments.cs
- DataControlImageButton.cs
- TimeSpan.cs
- TraceLog.cs
- DefaultProxySection.cs
- SoapElementAttribute.cs
- XmlUtf8RawTextWriter.cs
- RandomNumberGenerator.cs
- DesignerSerializationOptionsAttribute.cs
- OperationValidationEventArgs.cs
- CompensateDesigner.cs
- ExtentKey.cs
- ItemCollection.cs
- AddInAttribute.cs
- DrawingVisualDrawingContext.cs