Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SerialStream.cs
- KerberosRequestorSecurityToken.cs
- Input.cs
- HttpResponse.cs
- Attributes.cs
- WorkflowInstanceContextProvider.cs
- FolderNameEditor.cs
- BufferedStream.cs
- XPathNodeList.cs
- Substitution.cs
- MembershipValidatePasswordEventArgs.cs
- XmlUTF8TextReader.cs
- DbgCompiler.cs
- ListManagerBindingsCollection.cs
- OutputCacheModule.cs
- MetabaseSettings.cs
- CorrelationValidator.cs
- invalidudtexception.cs
- Compensate.cs
- CompoundFileStorageReference.cs
- InvalidAsynchronousStateException.cs
- BinaryFormatter.cs
- DbLambda.cs
- QueryComponents.cs
- PropertyDescriptorCollection.cs
- ObjectSpanRewriter.cs
- Message.cs
- ByteKeyFrameCollection.cs
- FontStyles.cs
- AsyncOperationManager.cs
- HatchBrush.cs
- RuntimeArgumentHandle.cs
- StaticFileHandler.cs
- ValidationPropertyAttribute.cs
- DifferencingCollection.cs
- WorkflowView.cs
- hresults.cs
- ContextMenuStrip.cs
- ActivationArguments.cs
- ForeignKeyFactory.cs
- BlobPersonalizationState.cs
- StringExpressionSet.cs
- CultureInfo.cs
- OperationSelectorBehavior.cs
- DataObjectSettingDataEventArgs.cs
- UnsafeNativeMethods.cs
- Stylesheet.cs
- WebCategoryAttribute.cs
- SQLString.cs
- RuntimeHandles.cs
- MonitorWrapper.cs
- TreeNodeCollectionEditor.cs
- DataGridColumnDropSeparator.cs
- InvalidComObjectException.cs
- SchemeSettingElement.cs
- AssemblyAssociatedContentFileAttribute.cs
- XmlDataCollection.cs
- SelectionProviderWrapper.cs
- JsonClassDataContract.cs
- Stackframe.cs
- ParserExtension.cs
- EmptyEnumerator.cs
- DiscoveryClient.cs
- ResourceProviderFactory.cs
- LoginCancelEventArgs.cs
- CLSCompliantAttribute.cs
- BamlRecordHelper.cs
- CharUnicodeInfo.cs
- UnhandledExceptionEventArgs.cs
- IOException.cs
- MsdtcClusterUtils.cs
- PassportAuthenticationModule.cs
- DesignerMetadata.cs
- ConfigurationFileMap.cs
- ApplicationId.cs
- SqlXmlStorage.cs
- EdmValidator.cs
- Tuple.cs
- CalloutQueueItem.cs
- EntityDataSourceStatementEditorForm.cs
- MissingMethodException.cs
- ShaderRenderModeValidation.cs
- SymmetricAlgorithm.cs
- XhtmlCssHandler.cs
- NotSupportedException.cs
- ClientScriptManager.cs
- ActivationServices.cs
- Font.cs
- WebPartMovingEventArgs.cs
- GeneralTransform3D.cs
- QilChoice.cs
- ContentElement.cs
- EventLogQuery.cs
- ConfigXmlWhitespace.cs
- SafeProcessHandle.cs
- DBConnectionString.cs
- CollectionViewProxy.cs
- MobileTextWriter.cs
- CollectionConverter.cs
- SerializationUtility.cs