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
- FlowDocumentFormatter.cs
- TypeExtensions.cs
- Type.cs
- NativeBuffer.cs
- GlyphRun.cs
- ObjectSecurity.cs
- WebPartAddingEventArgs.cs
- FragmentQueryKB.cs
- ParseNumbers.cs
- PopOutPanel.cs
- CompModSwitches.cs
- TrustManagerPromptUI.cs
- WorkflowInvoker.cs
- ChannelDispatcher.cs
- DPTypeDescriptorContext.cs
- ContentControl.cs
- PieceNameHelper.cs
- DataBoundControl.cs
- HandleTable.cs
- DBCommandBuilder.cs
- DbSourceCommand.cs
- OLEDB_Enum.cs
- FormClosedEvent.cs
- Signature.cs
- Thread.cs
- ProviderManager.cs
- MetadataArtifactLoaderFile.cs
- ConnectionManagementElement.cs
- SHA1.cs
- PeerName.cs
- InternalResources.cs
- HMACSHA1.cs
- DesignerForm.cs
- Helper.cs
- WebPartMenu.cs
- TypeDependencyAttribute.cs
- StrongNameSignatureInformation.cs
- CatalogPartCollection.cs
- FragmentQueryKB.cs
- DeferredRunTextReference.cs
- TextBox.cs
- SafeEventLogReadHandle.cs
- CodeExpressionRuleDeclaration.cs
- PointAnimationUsingKeyFrames.cs
- HTMLTagNameToTypeMapper.cs
- SafeMarshalContext.cs
- WindowInteractionStateTracker.cs
- Switch.cs
- ClientUtils.cs
- LabelLiteral.cs
- IPGlobalProperties.cs
- ComponentResourceKey.cs
- Schema.cs
- UriTemplateQueryValue.cs
- DiscriminatorMap.cs
- PrimitiveXmlSerializers.cs
- DropShadowEffect.cs
- TableAutomationPeer.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- CodeGroup.cs
- FormatPage.cs
- DBCommand.cs
- SignatureConfirmations.cs
- HttpPostClientProtocol.cs
- XslCompiledTransform.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- HttpClientCertificate.cs
- KeyValuePair.cs
- OutputCacheModule.cs
- SrgsOneOf.cs
- DefaultTraceListener.cs
- ReflectionUtil.cs
- WebEvents.cs
- WebPartDisplayModeEventArgs.cs
- sqlser.cs
- LinqDataSourceDisposeEventArgs.cs
- FileDialogCustomPlace.cs
- TextTreeRootNode.cs
- EventlogProvider.cs
- UnmanagedMemoryStreamWrapper.cs
- ValueUtilsSmi.cs
- XmlDictionaryReaderQuotasElement.cs
- BigInt.cs
- SecurityContextSecurityTokenResolver.cs
- ProfileBuildProvider.cs
- ColumnMapProcessor.cs
- DataSourceCache.cs
- EntityDescriptor.cs
- LinqDataSourceSelectEventArgs.cs
- RemoteWebConfigurationHostStream.cs
- ContentPlaceHolder.cs
- NetSectionGroup.cs
- FrugalList.cs
- DrawingAttributesDefaultValueFactory.cs
- SqlDependency.cs
- FontStretchConverter.cs
- TransformerInfo.cs
- exports.cs
- Preprocessor.cs
- VersionPair.cs