Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / InvalidCommandTreeException.cs / 2 / InvalidCommandTreeException.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....], [....]
//---------------------------------------------------------------------
using System;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Data;
using System.Data.Metadata.Edm;
namespace System.Data
{
///
/// Thrown to indicate that a command tree is invalid.
///
[Serializable]
public sealed class InvalidCommandTreeException : DataException /*InvalidQueryException*/
{
///
/// Constructs a new InvalidCommandTreeException with a default message.
///
public InvalidCommandTreeException()
: base(System.Data.Entity.Strings.Cqt_Exceptions_InvalidCommandTree) { }
///
/// Constructs a new InvalidCommandTreeException with the specified message.
///
/// The exception message
public InvalidCommandTreeException(string message)
: base(message) { }
///
/// Constructs a new InvalidCommandTreeException with the specified message and inner exception.
///
/// The exception message.
/// The exception that is the cause of this InvalidCommandTreeException.
public InvalidCommandTreeException(string message, Exception innerException)
: base(message, innerException) { }
///
/// Constructs a new InvalidCommandTreeException from the specified serialization info and streaming context.
///
///
///
private InvalidCommandTreeException(SerializationInfo info, StreamingContext context)
: base(info, context) { }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....], [....]
//---------------------------------------------------------------------
using System;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Data;
using System.Data.Metadata.Edm;
namespace System.Data
{
///
/// Thrown to indicate that a command tree is invalid.
///
[Serializable]
public sealed class InvalidCommandTreeException : DataException /*InvalidQueryException*/
{
///
/// Constructs a new InvalidCommandTreeException with a default message.
///
public InvalidCommandTreeException()
: base(System.Data.Entity.Strings.Cqt_Exceptions_InvalidCommandTree) { }
///
/// Constructs a new InvalidCommandTreeException with the specified message.
///
/// The exception message
public InvalidCommandTreeException(string message)
: base(message) { }
///
/// Constructs a new InvalidCommandTreeException with the specified message and inner exception.
///
/// The exception message.
/// The exception that is the cause of this InvalidCommandTreeException.
public InvalidCommandTreeException(string message, Exception innerException)
: base(message, innerException) { }
///
/// Constructs a new InvalidCommandTreeException from the specified serialization info and streaming context.
///
///
///
private InvalidCommandTreeException(SerializationInfo info, StreamingContext context)
: base(info, context) { }
}
}
// 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
- TagNameToTypeMapper.cs
- XamlClipboardData.cs
- RenderTargetBitmap.cs
- BindingExpressionUncommonField.cs
- ImageConverter.cs
- WmlLinkAdapter.cs
- isolationinterop.cs
- ImageFormat.cs
- FrugalList.cs
- URL.cs
- XmlSchemaSimpleContent.cs
- TransformerConfigurationWizardBase.cs
- CodeDomComponentSerializationService.cs
- ThrowHelper.cs
- HttpAsyncResult.cs
- SessionStateContainer.cs
- SchemaType.cs
- Bookmark.cs
- Connection.cs
- SafeSecurityHandles.cs
- BaseProcessor.cs
- ClientScriptManager.cs
- ModifyActivitiesPropertyDescriptor.cs
- CustomError.cs
- Point3DCollection.cs
- ResourceReferenceKeyNotFoundException.cs
- _UriSyntax.cs
- CompareValidator.cs
- CompiledQueryCacheKey.cs
- UnauthorizedWebPart.cs
- KeyGestureValueSerializer.cs
- TemplateInstanceAttribute.cs
- FilteredAttributeCollection.cs
- LineServicesCallbacks.cs
- SlipBehavior.cs
- ModuleBuilderData.cs
- TextRenderingModeValidation.cs
- DetailsViewRowCollection.cs
- Expression.cs
- DataGridViewRowPostPaintEventArgs.cs
- KeySplineConverter.cs
- ProxyWebPartManager.cs
- IFlowDocumentViewer.cs
- ColorPalette.cs
- SessionMode.cs
- ErasingStroke.cs
- XmlCharacterData.cs
- DrawingGroup.cs
- AxHost.cs
- SourceCollection.cs
- ImagingCache.cs
- SocketCache.cs
- XamlSerializer.cs
- Source.cs
- ComponentCollection.cs
- FillRuleValidation.cs
- TreeNodeConverter.cs
- Route.cs
- DataGridCommandEventArgs.cs
- TextTreeInsertUndoUnit.cs
- XmlSubtreeReader.cs
- SaveFileDialog.cs
- XmlReflectionMember.cs
- StreamGeometryContext.cs
- SafeNativeMethods.cs
- SystemIcmpV4Statistics.cs
- QueryContinueDragEventArgs.cs
- HelpProvider.cs
- DesignerCommandSet.cs
- xmlfixedPageInfo.cs
- HtmlForm.cs
- SoapHeaderException.cs
- SafeLocalMemHandle.cs
- LogAppendAsyncResult.cs
- PointValueSerializer.cs
- XmlIgnoreAttribute.cs
- ImpersonationContext.cs
- DispatcherTimer.cs
- CounterSample.cs
- CounterSet.cs
- Graphics.cs
- ParallelQuery.cs
- TdsParameterSetter.cs
- ServiceManager.cs
- ActiveXContainer.cs
- ServiceOperationParameter.cs
- TaskSchedulerException.cs
- TextServicesHost.cs
- EdmMember.cs
- RegexReplacement.cs
- SqlRowUpdatingEvent.cs
- TypeProvider.cs
- HandledEventArgs.cs
- Parallel.cs
- ColorContextHelper.cs
- FileLogRecordStream.cs
- PropertiesTab.cs
- MergePropertyDescriptor.cs
- TimeManager.cs
- CheckBoxAutomationPeer.cs