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
- UIntPtr.cs
- XmlDataSourceNodeDescriptor.cs
- ExpressionConverter.cs
- SchemaElement.cs
- IPipelineRuntime.cs
- InplaceBitmapMetadataWriter.cs
- CodeIndexerExpression.cs
- XmlValidatingReaderImpl.cs
- SafePipeHandle.cs
- CatalogZone.cs
- XmlSchemaSimpleTypeRestriction.cs
- UserControlBuildProvider.cs
- RequestQueue.cs
- EntityType.cs
- WebEvents.cs
- XamlSerializationHelper.cs
- ErrorTableItemStyle.cs
- ResourceAssociationSet.cs
- SystemIcmpV4Statistics.cs
- ServiceObjectContainer.cs
- ThumbAutomationPeer.cs
- OdbcParameterCollection.cs
- BidOverLoads.cs
- Win32Native.cs
- DispatcherOperation.cs
- SamlAttribute.cs
- XMLSyntaxException.cs
- TextStore.cs
- ToolboxItemCollection.cs
- FixedSchema.cs
- DataGridColumnHeadersPresenter.cs
- GlobalizationSection.cs
- KeyBinding.cs
- WebBrowserContainer.cs
- NullableIntAverageAggregationOperator.cs
- TextDecorations.cs
- DefaultBindingPropertyAttribute.cs
- TdsEnums.cs
- LineProperties.cs
- ImageUrlEditor.cs
- Inline.cs
- Listbox.cs
- KnownColorTable.cs
- BrowserCapabilitiesCodeGenerator.cs
- InfiniteIntConverter.cs
- DataServiceHost.cs
- AuthorizationRule.cs
- ImageFormatConverter.cs
- TypedRowGenerator.cs
- DynamicQueryableWrapper.cs
- RelatedCurrencyManager.cs
- FontCacheLogic.cs
- Msec.cs
- ServiceModelConfigurationSection.cs
- DocumentPageHost.cs
- RegexRunnerFactory.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- SiteMapDesignerDataSourceView.cs
- WebControl.cs
- RectangleF.cs
- SRef.cs
- DataGridViewCellValidatingEventArgs.cs
- WebPartsPersonalizationAuthorization.cs
- HttpVersion.cs
- SQLStringStorage.cs
- StrokeCollectionConverter.cs
- SQLBytes.cs
- MarginCollapsingState.cs
- EncodingInfo.cs
- ToggleButtonAutomationPeer.cs
- Vector.cs
- CompositionTarget.cs
- TextDpi.cs
- ExcludeFromCodeCoverageAttribute.cs
- ProfileElement.cs
- StoryFragments.cs
- DataContractSerializerSection.cs
- ExternalFile.cs
- InkCanvasSelection.cs
- ConfigurationStrings.cs
- SqlUdtInfo.cs
- MenuItemBinding.cs
- UmAlQuraCalendar.cs
- CaseInsensitiveComparer.cs
- AppModelKnownContentFactory.cs
- Model3DGroup.cs
- ProgressiveCrcCalculatingStream.cs
- MenuItemCollection.cs
- CancellationState.cs
- GenericRootAutomationPeer.cs
- Section.cs
- LineMetrics.cs
- TreeNodeEventArgs.cs
- BindingFormattingDialog.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- CodeCommentStatement.cs
- ClickablePoint.cs
- TextFormatterContext.cs
- ApplicationContext.cs
- BitmapCodecInfoInternal.cs