Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- LineProperties.cs
- SqlGenericUtil.cs
- RequiredFieldValidator.cs
- SqlProcedureAttribute.cs
- SqlWebEventProvider.cs
- SymLanguageVendor.cs
- TextServicesProperty.cs
- Region.cs
- SortKey.cs
- Color.cs
- OptimizedTemplateContent.cs
- SchemaAttDef.cs
- TypeBrowserDialog.cs
- HotSpotCollectionEditor.cs
- ApplicationDirectoryMembershipCondition.cs
- BindingCompleteEventArgs.cs
- StrongName.cs
- StorageBasedPackageProperties.cs
- DataProviderNameConverter.cs
- ProviderSettings.cs
- TriggerCollection.cs
- BuiltInExpr.cs
- GAC.cs
- NotificationContext.cs
- ExceptionRoutedEventArgs.cs
- RectangleF.cs
- AnimationTimeline.cs
- DynamicValidator.cs
- EntityCommand.cs
- XPathNodePointer.cs
- ToolStripSystemRenderer.cs
- StyleSheetRefUrlEditor.cs
- WebScriptMetadataMessageEncoderFactory.cs
- MiniMapControl.xaml.cs
- SystemNetworkInterface.cs
- DtrList.cs
- CachedCompositeFamily.cs
- GregorianCalendar.cs
- ToolStripItemClickedEventArgs.cs
- EntityDataSourceWrapperCollection.cs
- SplitContainer.cs
- OdbcConnection.cs
- BehaviorEditorPart.cs
- ExtentKey.cs
- DelegatingTypeDescriptionProvider.cs
- SqlBulkCopyColumnMapping.cs
- ObjectHandle.cs
- CmsInterop.cs
- Token.cs
- DataObject.cs
- RuntimeWrappedException.cs
- DataBindingCollection.cs
- OleDbEnumerator.cs
- ReadWriteSpinLock.cs
- RuleConditionDialog.cs
- FlowDocumentFormatter.cs
- WorkflowDefinitionContext.cs
- BlurBitmapEffect.cs
- XNameTypeConverter.cs
- TextRunCacheImp.cs
- Page.cs
- log.cs
- DesignerSerializationOptionsAttribute.cs
- PageCatalogPartDesigner.cs
- Button.cs
- ServiceDurableInstance.cs
- XmlImplementation.cs
- DataBindingHandlerAttribute.cs
- FormViewUpdatedEventArgs.cs
- ContractValidationHelper.cs
- DependencyPropertyConverter.cs
- SyndicationSerializer.cs
- DbExpressionBuilder.cs
- Trigger.cs
- XmlReader.cs
- DependencyPropertyChangedEventArgs.cs
- DrawToolTipEventArgs.cs
- LabelDesigner.cs
- TrackingMemoryStream.cs
- PassportAuthenticationEventArgs.cs
- ProxySimple.cs
- SQLRoleProvider.cs
- ElementHostAutomationPeer.cs
- GradientStop.cs
- CellLabel.cs
- Metadata.cs
- DataSourceControl.cs
- FontEmbeddingManager.cs
- DataConnectionHelper.cs
- WorkflowTransactionOptions.cs
- SoapSchemaMember.cs
- CollectionMarkupSerializer.cs
- ComPlusThreadInitializer.cs
- TimeIntervalCollection.cs
- UInt32Converter.cs
- StatusBarItemAutomationPeer.cs
- PinnedBufferMemoryStream.cs
- WindowsFormsDesignerOptionService.cs
- RawTextInputReport.cs
- BitmapScalingModeValidation.cs