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
- ParseNumbers.cs
- GridViewPageEventArgs.cs
- BinHexDecoder.cs
- XsltLibrary.cs
- InternalEnumValidatorAttribute.cs
- MimeParameterWriter.cs
- HMACRIPEMD160.cs
- TreeViewItemAutomationPeer.cs
- CookieProtection.cs
- Literal.cs
- TabControlEvent.cs
- BaseParser.cs
- MemberMemberBinding.cs
- BlurEffect.cs
- Int32AnimationUsingKeyFrames.cs
- WizardForm.cs
- EnvelopedSignatureTransform.cs
- RadioButtonList.cs
- CaseStatementProjectedSlot.cs
- DynamicRendererThreadManager.cs
- ZipIOExtraFieldPaddingElement.cs
- hresults.cs
- TableCellCollection.cs
- EnterpriseServicesHelper.cs
- StaticSiteMapProvider.cs
- SessionState.cs
- TableHeaderCell.cs
- DocComment.cs
- InnerItemCollectionView.cs
- MessagePartSpecification.cs
- WebDescriptionAttribute.cs
- AspNetHostingPermission.cs
- GridViewUpdateEventArgs.cs
- FixedSchema.cs
- PrefixHandle.cs
- WebPartConnectionsCancelVerb.cs
- HttpInputStream.cs
- FunctionNode.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- DbException.cs
- UInt32.cs
- DbConnectionHelper.cs
- ImageSourceValueSerializer.cs
- TypeUtils.cs
- FixedSOMElement.cs
- ThreadStateException.cs
- EvidenceTypeDescriptor.cs
- EnumerableRowCollection.cs
- BindingContext.cs
- TextBreakpoint.cs
- TemplateXamlParser.cs
- LowerCaseStringConverter.cs
- COM2PropertyBuilderUITypeEditor.cs
- ClientTarget.cs
- TextModifierScope.cs
- SecurityTokenTypes.cs
- MarkupExtensionReturnTypeAttribute.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SQLRoleProvider.cs
- RequiredFieldValidator.cs
- _Win32.cs
- RegexCompiler.cs
- CredentialSelector.cs
- LoginCancelEventArgs.cs
- ParameterRefs.cs
- TokenBasedSetEnumerator.cs
- MailMessageEventArgs.cs
- InputProcessorProfiles.cs
- DelegatingTypeDescriptionProvider.cs
- DelimitedListTraceListener.cs
- X509Chain.cs
- AnnotationResource.cs
- WebPartCollection.cs
- Rules.cs
- ValidationHelper.cs
- WindowsStartMenu.cs
- MaskInputRejectedEventArgs.cs
- BoolExpressionVisitors.cs
- SetIterators.cs
- StyleCollection.cs
- SqlConnectionPoolProviderInfo.cs
- TextBoxView.cs
- MimeMultiPart.cs
- X509ThumbprintKeyIdentifierClause.cs
- MergeLocalizationDirectives.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Triangle.cs
- EntityDesignerUtils.cs
- CodeTypeParameterCollection.cs
- KerberosReceiverSecurityToken.cs
- SimpleHandlerFactory.cs
- PreservationFileReader.cs
- NameValueCollection.cs
- CodeTypeReferenceCollection.cs
- HostDesigntimeLicenseContext.cs
- SqlColumnizer.cs
- ListSortDescription.cs
- CodeExpressionCollection.cs
- LinqDataSourceDisposeEventArgs.cs
- ToolStripScrollButton.cs