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
- Empty.cs
- GeneralTransformCollection.cs
- TraceContext.cs
- BaseProcessor.cs
- ButtonStandardAdapter.cs
- InputManager.cs
- SafeMemoryMappedFileHandle.cs
- InputMethodStateChangeEventArgs.cs
- BamlTreeUpdater.cs
- hebrewshape.cs
- MsmqProcessProtocolHandler.cs
- HttpWriter.cs
- IteratorFilter.cs
- Win32KeyboardDevice.cs
- AmbientProperties.cs
- WebPartZone.cs
- XmlSchemaCollection.cs
- BindingList.cs
- ClickablePoint.cs
- _ConnectStream.cs
- IntegrationExceptionEventArgs.cs
- DataGridColumnCollection.cs
- ApplicationDirectoryMembershipCondition.cs
- MobileRedirect.cs
- RegionInfo.cs
- ExclusiveCanonicalizationTransform.cs
- PartialTrustHelpers.cs
- Queue.cs
- AutomationPropertyInfo.cs
- TransactionManager.cs
- TextDpi.cs
- FontUnit.cs
- ImageAnimator.cs
- DebugHandleTracker.cs
- CellParaClient.cs
- SplayTreeNode.cs
- ConnectivityStatus.cs
- StyleXamlParser.cs
- HScrollProperties.cs
- CompilerGeneratedAttribute.cs
- While.cs
- ReflectTypeDescriptionProvider.cs
- RowVisual.cs
- HtmlLiteralTextAdapter.cs
- XmlBindingWorker.cs
- DNS.cs
- InvalidCastException.cs
- DataGridToolTip.cs
- ExpressionBindingCollection.cs
- DataGrid.cs
- CaretElement.cs
- InvokeMethodActivity.cs
- Expression.DebuggerProxy.cs
- UserNamePasswordServiceCredential.cs
- ControlParameter.cs
- storepermissionattribute.cs
- TemplateAction.cs
- XmlSubtreeReader.cs
- TextEditorLists.cs
- TextReader.cs
- AuthStoreRoleProvider.cs
- mansign.cs
- DataGridViewCellStyleChangedEventArgs.cs
- entityreference_tresulttype.cs
- StrokeNodeOperations2.cs
- XPathQueryGenerator.cs
- SafeSecurityHandles.cs
- RightsManagementEncryptedStream.cs
- HttpModuleAction.cs
- ThicknessConverter.cs
- NumberFunctions.cs
- HttpWrapper.cs
- XmlSchemaException.cs
- DetailsViewDeleteEventArgs.cs
- Task.cs
- BindingEntityInfo.cs
- UniqueConstraint.cs
- MobileControlPersister.cs
- nulltextcontainer.cs
- EventSourceCreationData.cs
- SqlNodeAnnotation.cs
- ProfileBuildProvider.cs
- DataServiceProcessingPipelineEventArgs.cs
- baseshape.cs
- CellParaClient.cs
- TemplateManager.cs
- StaticSiteMapProvider.cs
- COAUTHIDENTITY.cs
- ConfigViewGenerator.cs
- PropertyChangingEventArgs.cs
- ObjectDataSourceWizardForm.cs
- RawMouseInputReport.cs
- ExtendedTransformFactory.cs
- MultipartIdentifier.cs
- ReferencedCollectionType.cs
- LicenseManager.cs
- PropertyEmitter.cs
- ImmComposition.cs
- JsonServiceDocumentSerializer.cs
- DbMetaDataFactory.cs