Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / EntityException.cs / 1 / EntityException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] [....] //--------------------------------------------------------------------- namespace System.Data { using System; using System.Data; using System.Runtime.Serialization; ////// Provider exception - Used by the entity client. /// /// [Serializable] public class EntityException : DataException { ////// Constructor with default message /// public EntityException() // required ctor : base(System.Data.Entity.Strings.EntityClient_ProviderGeneralError) { } ////// Constructor that accepts a pre-formatted message /// /// localized error message public EntityException(string message) : base(message) { } ////// Constructor that accepts a pre-formatted message and an inner exception /// /// localized error message /// inner exception public EntityException(string message, Exception innerException) : base(message, innerException) { } ////// Constructor for deserialization /// /// /// protected EntityException(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 [....] [....] //--------------------------------------------------------------------- namespace System.Data { using System; using System.Data; using System.Runtime.Serialization; ////// Provider exception - Used by the entity client. /// /// [Serializable] public class EntityException : DataException { ////// Constructor with default message /// public EntityException() // required ctor : base(System.Data.Entity.Strings.EntityClient_ProviderGeneralError) { } ////// Constructor that accepts a pre-formatted message /// /// localized error message public EntityException(string message) : base(message) { } ////// Constructor that accepts a pre-formatted message and an inner exception /// /// localized error message /// inner exception public EntityException(string message, Exception innerException) : base(message, innerException) { } ////// Constructor for deserialization /// /// /// protected EntityException(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
- ImageKeyConverter.cs
- GreenMethods.cs
- CounterCreationData.cs
- XamlValidatingReader.cs
- ThreadExceptionEvent.cs
- SqlExpander.cs
- MenuItemStyle.cs
- BCLDebug.cs
- _OSSOCK.cs
- SingleConverter.cs
- GridViewRowEventArgs.cs
- PropertyChangingEventArgs.cs
- MailWebEventProvider.cs
- bindurihelper.cs
- SizeChangedInfo.cs
- DecimalStorage.cs
- Transform.cs
- Brush.cs
- DES.cs
- WebControl.cs
- HttpGetProtocolReflector.cs
- ReadOnlyTernaryTree.cs
- SqlDuplicator.cs
- TagPrefixInfo.cs
- Soap12ServerProtocol.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- EntityParameterCollection.cs
- MaterialCollection.cs
- FormViewUpdatedEventArgs.cs
- StylusButtonCollection.cs
- CodeArgumentReferenceExpression.cs
- RowVisual.cs
- _HeaderInfo.cs
- FontSourceCollection.cs
- NamespaceQuery.cs
- MenuAutomationPeer.cs
- ProcessManager.cs
- FontEmbeddingManager.cs
- NativeMethods.cs
- TextTrailingWordEllipsis.cs
- AdornerDecorator.cs
- DynamicResourceExtension.cs
- DispatchWrapper.cs
- Trace.cs
- rsa.cs
- TypedElement.cs
- LicenseManager.cs
- GridViewColumn.cs
- Column.cs
- InternalEnumValidatorAttribute.cs
- DataGridViewRowPrePaintEventArgs.cs
- DataObjectMethodAttribute.cs
- Tokenizer.cs
- XmlNodeList.cs
- ContainerControl.cs
- listitem.cs
- AttachedPropertyMethodSelector.cs
- SymLanguageType.cs
- OperationResponse.cs
- CustomLineCap.cs
- SafeNativeMethods.cs
- TextFindEngine.cs
- Formatter.cs
- ComponentResourceManager.cs
- Substitution.cs
- httpserverutility.cs
- SchemaTypeEmitter.cs
- DispatcherEventArgs.cs
- ComEventsInfo.cs
- CdpEqualityComparer.cs
- RegexRunnerFactory.cs
- X509ThumbprintKeyIdentifierClause.cs
- HttpCapabilitiesBase.cs
- ScopedKnownTypes.cs
- DynamicAttribute.cs
- XmlSchemaSimpleContentExtension.cs
- DataGrid.cs
- HtmlElementErrorEventArgs.cs
- DocumentNUp.cs
- ObjectReferenceStack.cs
- BitArray.cs
- PasswordRecoveryDesigner.cs
- MULTI_QI.cs
- StateItem.cs
- ElementHostPropertyMap.cs
- FixedTextPointer.cs
- TableLayoutSettingsTypeConverter.cs
- Single.cs
- DocumentViewerConstants.cs
- AppDomainProtocolHandler.cs
- CodeDOMUtility.cs
- EmissiveMaterial.cs
- FlowNode.cs
- NamedPermissionSet.cs
- documentsequencetextpointer.cs
- MetadataException.cs
- Message.cs
- RadioButton.cs
- ScrollItemPatternIdentifiers.cs
- DataDesignUtil.cs