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
- SqlDeflator.cs
- GZipStream.cs
- WindowsPrincipal.cs
- ControlBuilder.cs
- XmlSchemaImporter.cs
- IPAddressCollection.cs
- Brush.cs
- ItemList.cs
- FormViewDeletedEventArgs.cs
- MatrixTransform3D.cs
- X509ServiceCertificateAuthentication.cs
- CodeVariableDeclarationStatement.cs
- ImportCatalogPart.cs
- MemoryMappedView.cs
- BaseAppDomainProtocolHandler.cs
- EventSinkHelperWriter.cs
- ProfessionalColors.cs
- MenuAdapter.cs
- SqlVisitor.cs
- shaperfactoryquerycacheentry.cs
- KeyboardEventArgs.cs
- TypeConverter.cs
- ItemMap.cs
- AutoResetEvent.cs
- OleDbWrapper.cs
- SecurityHeaderLayout.cs
- XamlStackWriter.cs
- WeakReferenceList.cs
- DiagnosticsElement.cs
- DataColumnMapping.cs
- CriticalFinalizerObject.cs
- DependencyObjectProvider.cs
- ExtendedPropertyCollection.cs
- SerializationException.cs
- BoolExpressionVisitors.cs
- Propagator.cs
- Single.cs
- GestureRecognitionResult.cs
- UdpMessageProperty.cs
- RenderCapability.cs
- BrowsableAttribute.cs
- COM2Properties.cs
- PointCollection.cs
- WebConfigurationHost.cs
- BaseInfoTable.cs
- GeometryModel3D.cs
- SpecialNameAttribute.cs
- OracleTimeSpan.cs
- Speller.cs
- LoginCancelEventArgs.cs
- MaskedTextBoxDesigner.cs
- ResourceExpression.cs
- SafeHandle.cs
- ArrangedElementCollection.cs
- MailAddressCollection.cs
- UpdatePanelTrigger.cs
- IntellisenseTextBox.designer.cs
- FormsIdentity.cs
- ByeMessageApril2005.cs
- HandlerBase.cs
- BamlWriter.cs
- TypographyProperties.cs
- ActiveXMessageFormatter.cs
- IndentTextWriter.cs
- TableLayoutCellPaintEventArgs.cs
- GregorianCalendarHelper.cs
- LiteralText.cs
- BreakRecordTable.cs
- RoleManagerModule.cs
- StandardToolWindows.cs
- TextOnlyOutput.cs
- BitStack.cs
- ResetableIterator.cs
- PasswordRecovery.cs
- InvokeWebServiceDesigner.cs
- ElementMarkupObject.cs
- TdsParserSafeHandles.cs
- WorkflowRuntimeSection.cs
- DbXmlEnabledProviderManifest.cs
- FormCollection.cs
- IntSecurity.cs
- QueryableDataSource.cs
- PageFunction.cs
- TimeZoneInfo.cs
- Internal.cs
- EntityParameter.cs
- OperationAbortedException.cs
- ModelVisual3D.cs
- InheritanceAttribute.cs
- ParallelLoopState.cs
- ComponentEvent.cs
- AccessorTable.cs
- DesignerCategoryAttribute.cs
- PointLight.cs
- CodeTypeMemberCollection.cs
- ContextQuery.cs
- BoundingRectTracker.cs
- DbParameterCollection.cs
- RadioButton.cs
- FileUtil.cs