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
- IisTraceListener.cs
- CancellableEnumerable.cs
- CodeDirectiveCollection.cs
- DurableOperationContext.cs
- BitmapFrameDecode.cs
- PersistenceContext.cs
- RowUpdatedEventArgs.cs
- _HeaderInfoTable.cs
- TreeNodeBinding.cs
- FormViewModeEventArgs.cs
- KeyboardDevice.cs
- ParameterToken.cs
- XmlException.cs
- VisualStyleInformation.cs
- BufferedOutputStream.cs
- QilExpression.cs
- StateRuntime.cs
- DeploymentExceptionMapper.cs
- DeploymentSection.cs
- XmlILModule.cs
- DescendantOverDescendantQuery.cs
- Tool.cs
- XmlLoader.cs
- DispatcherProcessingDisabled.cs
- MeshGeometry3D.cs
- IgnorePropertiesAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- WpfXamlLoader.cs
- StreamReader.cs
- MetabaseServerConfig.cs
- ContextMenuAutomationPeer.cs
- PageFunction.cs
- NativeMethodsCLR.cs
- RepeatButton.cs
- CalculatedColumn.cs
- WebDisplayNameAttribute.cs
- StandardCommandToolStripMenuItem.cs
- ActivityMetadata.cs
- Hex.cs
- RawStylusInput.cs
- StorageRoot.cs
- ToolStripDropDownItem.cs
- CacheChildrenQuery.cs
- HtmlEncodedRawTextWriter.cs
- RichTextBox.cs
- TextProperties.cs
- DeferredTextReference.cs
- RawStylusSystemGestureInputReport.cs
- TextTrailingCharacterEllipsis.cs
- PermissionListSet.cs
- EntityAdapter.cs
- SectionUpdates.cs
- TraceFilter.cs
- BufferModeSettings.cs
- ObjectListComponentEditor.cs
- DesignerForm.cs
- LineSegment.cs
- UpDownEvent.cs
- HttpListenerContext.cs
- Rfc2898DeriveBytes.cs
- MailWebEventProvider.cs
- Pen.cs
- OrthographicCamera.cs
- SerTrace.cs
- MatrixAnimationBase.cs
- DataChangedEventManager.cs
- SetUserPreferenceRequest.cs
- ExpressionBuilderCollection.cs
- EncryptedKey.cs
- ContextStaticAttribute.cs
- DeadCharTextComposition.cs
- Menu.cs
- SymLanguageVendor.cs
- VirtualPathData.cs
- SqlCommand.cs
- LocalIdCollection.cs
- SchemaManager.cs
- XmlHierarchicalDataSourceView.cs
- XmlRootAttribute.cs
- ExpressionVisitor.cs
- WebAdminConfigurationHelper.cs
- WebSysDescriptionAttribute.cs
- BitmapEffectDrawingContent.cs
- Stack.cs
- PeerInvitationResponse.cs
- TransactionWaitAsyncResult.cs
- PathGeometry.cs
- ActivityExecutionContext.cs
- CapabilitiesRule.cs
- CancellationState.cs
- webproxy.cs
- Viewport3DAutomationPeer.cs
- ResourcePart.cs
- PermissionSet.cs
- MimeTypeMapper.cs
- WebPartManagerInternals.cs
- HttpCacheVary.cs
- ClientBuildManagerCallback.cs
- Int64Converter.cs
- AspCompat.cs