Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / TrackingProfileDeserializationException.cs / 1305376 / TrackingProfileDeserializationException.cs
using System; using System.Globalization; using System.Workflow.ComponentModel; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; using System.Security.Permissions; using System.Xml; using System.Xml.Schema; namespace System.Workflow.Runtime.Tracking { #region Tracking Exceptions ////// The exception that is thrown when a tracking profile in xml form cannot be deserialized to a TrackingProfile object. /// [Serializable] public sealed class TrackingProfileDeserializationException : System.SystemException { private List_args = new List (); public TrackingProfileDeserializationException() { } public TrackingProfileDeserializationException(string message) : base(message) { } public TrackingProfileDeserializationException(string message, Exception innerException) : base(message, innerException) { } private TrackingProfileDeserializationException(SerializationInfo info, StreamingContext context) : base(info, context) { if (null == info) throw new ArgumentNullException("info"); _args = (List )info.GetValue("__TrackingProfileDeserializationException_args__", typeof(List )); } //ISerializable override to store custom state [SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] public override void GetObjectData(SerializationInfo info, StreamingContext context) { if (null == info) throw new ArgumentNullException("info"); base.GetObjectData(info, context); info.AddValue("__TrackingProfileDeserializationException_args__", _args); } public IList ValidationEventArgs { get { return _args; } } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Globalization; using System.Workflow.ComponentModel; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; using System.Security.Permissions; using System.Xml; using System.Xml.Schema; namespace System.Workflow.Runtime.Tracking { #region Tracking Exceptions /// /// The exception that is thrown when a tracking profile in xml form cannot be deserialized to a TrackingProfile object. /// [Serializable] public sealed class TrackingProfileDeserializationException : System.SystemException { private List_args = new List (); public TrackingProfileDeserializationException() { } public TrackingProfileDeserializationException(string message) : base(message) { } public TrackingProfileDeserializationException(string message, Exception innerException) : base(message, innerException) { } private TrackingProfileDeserializationException(SerializationInfo info, StreamingContext context) : base(info, context) { if (null == info) throw new ArgumentNullException("info"); _args = (List )info.GetValue("__TrackingProfileDeserializationException_args__", typeof(List )); } //ISerializable override to store custom state [SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] public override void GetObjectData(SerializationInfo info, StreamingContext context) { if (null == info) throw new ArgumentNullException("info"); base.GetObjectData(info, context); info.AddValue("__TrackingProfileDeserializationException_args__", _args); } public IList ValidationEventArgs { get { return _args; } } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Control.cs
- SafeJobHandle.cs
- DataGridViewAdvancedBorderStyle.cs
- ShutDownListener.cs
- SafeArrayRankMismatchException.cs
- SqlClientWrapperSmiStream.cs
- LinkLabel.cs
- InfiniteIntConverter.cs
- LinqDataSourceStatusEventArgs.cs
- namescope.cs
- ZipPackage.cs
- SelectedDatesCollection.cs
- IApplicationTrustManager.cs
- AuditLogLocation.cs
- ListSourceHelper.cs
- FixedSOMPageElement.cs
- CollectionTypeElement.cs
- StylusTip.cs
- PropertyRecord.cs
- IndependentAnimationStorage.cs
- RewritingPass.cs
- PublishLicense.cs
- ChannelDispatcherCollection.cs
- MSG.cs
- mediaeventshelper.cs
- DependencyObjectType.cs
- ArrangedElementCollection.cs
- RawStylusInputReport.cs
- WebPartVerb.cs
- LiteralControl.cs
- WebPartConnectVerb.cs
- COM2PropertyBuilderUITypeEditor.cs
- CodePropertyReferenceExpression.cs
- EntityChangedParams.cs
- UICuesEvent.cs
- GlyphElement.cs
- BaseTemplateBuildProvider.cs
- MatrixUtil.cs
- Rights.cs
- TableRowCollection.cs
- GPStream.cs
- DataBindingCollection.cs
- AdornerPresentationContext.cs
- MimeTypeMapper.cs
- LinqTreeNodeEvaluator.cs
- FlowDocument.cs
- Config.cs
- Annotation.cs
- KnownBoxes.cs
- ReflectionTypeLoadException.cs
- Figure.cs
- AndCondition.cs
- WebSysDescriptionAttribute.cs
- HtmlControl.cs
- ListCollectionView.cs
- GridViewPageEventArgs.cs
- BaseTemplateBuildProvider.cs
- TableLayoutPanelCellPosition.cs
- PageThemeCodeDomTreeGenerator.cs
- LinkButton.cs
- BindUriHelper.cs
- XmlQueryCardinality.cs
- ScriptingProfileServiceSection.cs
- SecurityPolicySection.cs
- FileIOPermission.cs
- TemplateApplicationHelper.cs
- SimpleHandlerFactory.cs
- PathSegment.cs
- SqlInternalConnectionTds.cs
- Int16Converter.cs
- IgnoreDataMemberAttribute.cs
- PropertyChangeTracker.cs
- TreeNode.cs
- counter.cs
- NativeBuffer.cs
- SqlNodeTypeOperators.cs
- HighlightVisual.cs
- UidManager.cs
- SqlFormatter.cs
- SortDescriptionCollection.cs
- OrCondition.cs
- GlyphRun.cs
- ResourceDefaultValueAttribute.cs
- _SpnDictionary.cs
- BamlBinaryReader.cs
- SqlClientPermission.cs
- PrintPreviewDialog.cs
- ProjectionPathSegment.cs
- MediaTimeline.cs
- XmlSerializerFactory.cs
- UIElement.cs
- NumericUpDown.cs
- DiscoveryInnerClientAdhoc11.cs
- Mouse.cs
- DynamicContractTypeBuilder.cs
- XmlSchemaSet.cs
- AnnotationResourceCollection.cs
- TypeUnloadedException.cs
- EntityDataSourceStatementEditorForm.cs
- DataRowChangeEvent.cs