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
- AuthorizationRule.cs
- RC2CryptoServiceProvider.cs
- SoapSchemaExporter.cs
- ComboBoxAutomationPeer.cs
- WizardPanelChangingEventArgs.cs
- MouseActionValueSerializer.cs
- AssertFilter.cs
- mediapermission.cs
- ITextView.cs
- BitStack.cs
- WeakEventTable.cs
- HandlerBase.cs
- ObservableDictionary.cs
- SystemNetworkInterface.cs
- WindowsGrip.cs
- SmiEventSink_Default.cs
- ComponentSerializationService.cs
- DataGridBoolColumn.cs
- QilVisitor.cs
- CorrelationInitializer.cs
- TextDecoration.cs
- ImportCatalogPart.cs
- Binding.cs
- EntityDataSourceMemberPath.cs
- Int64Animation.cs
- SchemaContext.cs
- Operators.cs
- X509ServiceCertificateAuthenticationElement.cs
- RectangleGeometry.cs
- XmlValidatingReader.cs
- TextTabProperties.cs
- GridView.cs
- HMACSHA1.cs
- EntityDataSourceWizardForm.cs
- ParameterToken.cs
- FreeFormDragDropManager.cs
- QuadraticBezierSegment.cs
- EventHandlerList.cs
- TimeSpanConverter.cs
- _NativeSSPI.cs
- RSAOAEPKeyExchangeDeformatter.cs
- AssociationTypeEmitter.cs
- ExpandableObjectConverter.cs
- NumberSubstitution.cs
- Memoizer.cs
- unitconverter.cs
- PathData.cs
- ObjectDataProvider.cs
- WindowsListViewItemCheckBox.cs
- XmlHierarchicalEnumerable.cs
- AssemblyResourceLoader.cs
- KeySplineConverter.cs
- WinFormsComponentEditor.cs
- ListItemCollection.cs
- XmlNamespaceDeclarationsAttribute.cs
- SamlEvidence.cs
- GPStream.cs
- NativeStructs.cs
- XmlSchemaAttribute.cs
- SafeReversePInvokeHandle.cs
- __TransparentProxy.cs
- Action.cs
- BooleanConverter.cs
- FreezableDefaultValueFactory.cs
- CornerRadius.cs
- Renderer.cs
- METAHEADER.cs
- ConfigXmlAttribute.cs
- HtmlTableCell.cs
- MetadataArtifactLoaderCompositeFile.cs
- NamedPipeAppDomainProtocolHandler.cs
- MouseActionValueSerializer.cs
- FontWeight.cs
- Point3DAnimationUsingKeyFrames.cs
- JavaScriptString.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- NTAccount.cs
- InfoCardAsymmetricCrypto.cs
- SmtpFailedRecipientsException.cs
- BrushConverter.cs
- MailWriter.cs
- GroupBoxAutomationPeer.cs
- ContextMarshalException.cs
- CodeAttributeArgument.cs
- ConstrainedDataObject.cs
- CDSsyncETWBCLProvider.cs
- GCHandleCookieTable.cs
- EventMemberCodeDomSerializer.cs
- ImageUrlEditor.cs
- CfgParser.cs
- TextRunProperties.cs
- DataControlButton.cs
- OrderPreservingPipeliningSpoolingTask.cs
- TemplatePropertyEntry.cs
- XmlFormatMapping.cs
- SQLRoleProvider.cs
- CdpEqualityComparer.cs
- XmlExtensionFunction.cs
- SQLInt64Storage.cs
- DataSourceHelper.cs