Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- TypedTableBase.cs
- SettingsSection.cs
- FlowDocumentPaginator.cs
- ListManagerBindingsCollection.cs
- WeakReference.cs
- NotifyCollectionChangedEventArgs.cs
- ClientApiGenerator.cs
- PathSegment.cs
- SelectionRangeConverter.cs
- TraceEventCache.cs
- AuthenticationServiceManager.cs
- SessionPageStatePersister.cs
- GeneralTransform.cs
- GlyphTypeface.cs
- Point3DAnimationUsingKeyFrames.cs
- MediaEntryAttribute.cs
- RpcCryptoRequest.cs
- TemplateBindingExpressionConverter.cs
- WindowsListViewItem.cs
- LogicalExpr.cs
- NativeMsmqMessage.cs
- InvalidFilterCriteriaException.cs
- Rotation3DAnimationBase.cs
- ToolStripComboBox.cs
- DataServiceRequestException.cs
- DispatcherProcessingDisabled.cs
- Rect3D.cs
- ErrorFormatter.cs
- CodeArrayCreateExpression.cs
- InkPresenterAutomationPeer.cs
- CustomAssemblyResolver.cs
- FieldAccessException.cs
- CodeTypeParameter.cs
- InheritablePropertyChangeInfo.cs
- DataList.cs
- CachedBitmap.cs
- TransactionBehavior.cs
- XmlWellformedWriter.cs
- AttributeProviderAttribute.cs
- MeshGeometry3D.cs
- Vector.cs
- assertwrapper.cs
- Visual3DCollection.cs
- CompilerErrorCollection.cs
- BitmapVisualManager.cs
- GridItemProviderWrapper.cs
- ModifiableIteratorCollection.cs
- DragCompletedEventArgs.cs
- PackageStore.cs
- SelectionListDesigner.cs
- ResourceDescriptionAttribute.cs
- ErrorRuntimeConfig.cs
- followingsibling.cs
- CodeMethodInvokeExpression.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- VirtualPath.cs
- NotImplementedException.cs
- Menu.cs
- storepermissionattribute.cs
- LinkLabel.cs
- BitmapEffect.cs
- XmlSchemaCompilationSettings.cs
- Quad.cs
- TableLayoutSettingsTypeConverter.cs
- XamlTemplateSerializer.cs
- BinaryObjectReader.cs
- EntityDataSourceSelectingEventArgs.cs
- MetadataUtil.cs
- ScriptRef.cs
- MailDefinition.cs
- ApplicationInfo.cs
- StrongName.cs
- XmlNamespaceDeclarationsAttribute.cs
- OperandQuery.cs
- OrderedHashRepartitionEnumerator.cs
- SerializationEventsCache.cs
- EntitySqlException.cs
- OdbcEnvironmentHandle.cs
- TypeUtil.cs
- FtpWebRequest.cs
- InputLanguageEventArgs.cs
- DriveNotFoundException.cs
- MatrixTransform.cs
- FtpWebResponse.cs
- TreeNodeCollection.cs
- Viewport3DVisual.cs
- QueryModel.cs
- Encoding.cs
- LocalizationParserHooks.cs
- RootProfilePropertySettingsCollection.cs
- DesignerActionItemCollection.cs
- NavigationPropertyAccessor.cs
- SystemWebExtensionsSectionGroup.cs
- InputMethodStateTypeInfo.cs
- VBCodeProvider.cs
- VideoDrawing.cs
- XmlExtensionFunction.cs
- Calendar.cs
- Debug.cs
- BaseTemplateCodeDomTreeGenerator.cs