Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / Serialization / SerializationException.cs / 1 / SerializationException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SerializationException ** ** ** Purpose: Thrown when something goes wrong during serialization or ** deserialization. ** ** =============================================================================*/ namespace System.Runtime.Serialization { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SerializationException : SystemException { private static String _nullMessage = Environment.GetResourceString("Arg_SerializationException"); // Creates a new SerializationException with its message // string set to a default message. public SerializationException() : base(_nullMessage) { SetErrorCode(__HResults.COR_E_SERIALIZATION); } public SerializationException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SERIALIZATION); } public SerializationException(String message, Exception innerException) : base (message, innerException) { SetErrorCode(__HResults.COR_E_SERIALIZATION); } protected SerializationException(SerializationInfo info, StreamingContext context) : base (info, context) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlCharacterData.cs
- LinkedResourceCollection.cs
- RuntimeWrappedException.cs
- Track.cs
- SizeKeyFrameCollection.cs
- WpfSharedBamlSchemaContext.cs
- TransformerTypeCollection.cs
- LineBreakRecord.cs
- DynamicRenderer.cs
- XmlSchemaSimpleContentRestriction.cs
- __FastResourceComparer.cs
- GenerateHelper.cs
- DataPagerFieldCollection.cs
- TextElement.cs
- TimeSpanFormat.cs
- Regex.cs
- WebEvents.cs
- TemplatePartAttribute.cs
- MDIWindowDialog.cs
- Vector3DCollectionConverter.cs
- EntityDesignerBuildProvider.cs
- MasterPageBuildProvider.cs
- UInt32Converter.cs
- ListViewCancelEventArgs.cs
- MaterialCollection.cs
- Path.cs
- TextBoxAutoCompleteSourceConverter.cs
- IconHelper.cs
- MbpInfo.cs
- RelationshipConverter.cs
- LineVisual.cs
- SimpleMailWebEventProvider.cs
- HtmlLink.cs
- SQLInt32Storage.cs
- CodePropertyReferenceExpression.cs
- XamlGridLengthSerializer.cs
- InheritablePropertyChangeInfo.cs
- HelpProvider.cs
- FixedSOMTableCell.cs
- ADConnectionHelper.cs
- PagerSettings.cs
- InputReferenceExpression.cs
- ISFClipboardData.cs
- HttpWriter.cs
- DropShadowBitmapEffect.cs
- listitem.cs
- Vector3D.cs
- FixedFlowMap.cs
- SecurityTokenSerializer.cs
- XmlEntityReference.cs
- ButtonFlatAdapter.cs
- TreeViewImageKeyConverter.cs
- XmlNode.cs
- PrefixHandle.cs
- SystemPens.cs
- XmlFormatExtensionPointAttribute.cs
- HandlerBase.cs
- ControlBindingsCollection.cs
- AttributeEmitter.cs
- LinearGradientBrush.cs
- SystemIcons.cs
- XmlWriter.cs
- mediaeventargs.cs
- RowsCopiedEventArgs.cs
- DataTemplateSelector.cs
- Container.cs
- SequentialOutput.cs
- versioninfo.cs
- SqlColumnizer.cs
- ControlCachePolicy.cs
- CfgParser.cs
- Renderer.cs
- ComboBox.cs
- StrokeCollection.cs
- JournalEntryStack.cs
- WebPartZoneBase.cs
- BindingListCollectionView.cs
- WebPartConnectVerb.cs
- TextServicesCompartmentContext.cs
- CLSCompliantAttribute.cs
- Publisher.cs
- ToolBar.cs
- DeviceContexts.cs
- TripleDES.cs
- PointValueSerializer.cs
- RepeaterItemCollection.cs
- CloseSequence.cs
- MobileContainerDesigner.cs
- PrivacyNoticeBindingElementImporter.cs
- Deserializer.cs
- SQLBinaryStorage.cs
- HuffModule.cs
- SqlStatistics.cs
- latinshape.cs
- CodeSnippetTypeMember.cs
- PolicyVersionConverter.cs
- SmiEventStream.cs
- DesignerToolboxInfo.cs
- TailCallAnalyzer.cs
- ReflectTypeDescriptionProvider.cs