Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceValidationException.cs / 1305376 / EntityDataSourceValidationException.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner objsdev //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.DynamicData; using System.Security.Permissions; using System.Runtime.Serialization; namespace System.Web.UI.WebControls { [Serializable] public sealed class EntityDataSourceValidationException : Exception, IDynamicValidatorException { private const string InnerExceptionsTag = "InnerExceptions"; private readonly Dictionary_innerExceptions = new Dictionary (); public EntityDataSourceValidationException() : base() { } public EntityDataSourceValidationException(string message) : base(message) { } public EntityDataSourceValidationException(string message, Exception innerException) : base(message, innerException) { } internal EntityDataSourceValidationException(string message, Dictionary innerExceptions) : base(message) { _innerExceptions = innerExceptions; } private EntityDataSourceValidationException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext) { _innerExceptions = (Dictionary )serializationInfo.GetValue(InnerExceptionsTag, typeof(Dictionary )); } IDictionary IDynamicValidatorException.InnerExceptions { get { return _innerExceptions; } } [SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); info.AddValue(InnerExceptionsTag, _innerExceptions); } } } // 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
- ConfigurationSection.cs
- JsonWriterDelegator.cs
- SQLBinaryStorage.cs
- RtfToXamlReader.cs
- SystemPens.cs
- HtmlToClrEventProxy.cs
- StringInfo.cs
- UriTemplate.cs
- AnonymousIdentificationSection.cs
- DrawTreeNodeEventArgs.cs
- TrackingServices.cs
- CorePropertiesFilter.cs
- SatelliteContractVersionAttribute.cs
- BaseInfoTable.cs
- XmlAttributeCollection.cs
- NumericExpr.cs
- ExpressionReplacer.cs
- XmlNodeChangedEventManager.cs
- CheckBoxRenderer.cs
- SafeFileHandle.cs
- BaseAppDomainProtocolHandler.cs
- InternalConfigRoot.cs
- HtmlPhoneCallAdapter.cs
- FileSecurity.cs
- COAUTHINFO.cs
- ItemsPanelTemplate.cs
- SqlParameter.cs
- ObjectList.cs
- DispatchChannelSink.cs
- KeyboardEventArgs.cs
- SiteMapNodeItemEventArgs.cs
- MailWebEventProvider.cs
- ProxyAttribute.cs
- AnnotationHighlightLayer.cs
- ServiceHostingEnvironmentSection.cs
- KeyEvent.cs
- DeviceSpecificChoice.cs
- BitmapEffectCollection.cs
- FormViewRow.cs
- WebPartMenu.cs
- XmlSchemaGroup.cs
- TriggerCollection.cs
- CTreeGenerator.cs
- DescendantQuery.cs
- ProviderException.cs
- PrintEvent.cs
- Package.cs
- ResourceReader.cs
- BitmapEffectGeneralTransform.cs
- KoreanCalendar.cs
- DataListItemEventArgs.cs
- MaskedTextBox.cs
- PointAnimationClockResource.cs
- MetadataUtilsSmi.cs
- TimelineGroup.cs
- DbQueryCommandTree.cs
- OracleConnection.cs
- XamlSerializationHelper.cs
- HtmlForm.cs
- ViewLoader.cs
- FocusManager.cs
- CallbackValidatorAttribute.cs
- TreeViewEvent.cs
- RichTextBoxContextMenu.cs
- AutomationProperties.cs
- KeyedCollection.cs
- TypedTableGenerator.cs
- TypeDelegator.cs
- CalendarDateRange.cs
- MessageQueueConverter.cs
- FileDialogPermission.cs
- FormClosedEvent.cs
- ItemCollection.cs
- QueryableDataSource.cs
- CodePageEncoding.cs
- DefinitionBase.cs
- RemotingAttributes.cs
- ManifestResourceInfo.cs
- MimeTypeMapper.cs
- RecognizedAudio.cs
- ObjectQuery.cs
- Model3D.cs
- DurableServiceAttribute.cs
- ChineseLunisolarCalendar.cs
- BitmapInitialize.cs
- EllipticalNodeOperations.cs
- XmlDomTextWriter.cs
- CacheModeConverter.cs
- CapabilitiesAssignment.cs
- Missing.cs
- SettingsAttributes.cs
- CatalogPart.cs
- SecurityUtils.cs
- Cursors.cs
- HwndAppCommandInputProvider.cs
- XslAst.cs
- ItemsControl.cs
- DataGridTablesFactory.cs
- CqlBlock.cs
- AsyncMethodInvoker.cs