Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / FormatException.cs / 1 / FormatException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: FormatException ** ** ** Purpose: Exception to designate an illegal argument to FormatMessage. ** ** ===========================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class FormatException : SystemException { public FormatException() : base(Environment.GetResourceString("Arg_FormatException")) { SetErrorCode(__HResults.COR_E_FORMAT); } public FormatException(String message) : base(message) { SetErrorCode(__HResults.COR_E_FORMAT); } public FormatException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_FORMAT); } protected FormatException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: FormatException ** ** ** Purpose: Exception to designate an illegal argument to FormatMessage. ** ** ===========================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class FormatException : SystemException { public FormatException() : base(Environment.GetResourceString("Arg_FormatException")) { SetErrorCode(__HResults.COR_E_FORMAT); } public FormatException(String message) : base(message) { SetErrorCode(__HResults.COR_E_FORMAT); } public FormatException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_FORMAT); } protected FormatException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OutputCacheSettings.cs
- Currency.cs
- EncodingTable.cs
- XmlValueConverter.cs
- SQLByteStorage.cs
- VersionPair.cs
- UriParserTemplates.cs
- PassportAuthenticationEventArgs.cs
- altserialization.cs
- QilStrConcat.cs
- Pkcs9Attribute.cs
- ServicePointManagerElement.cs
- XsdBuilder.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SafeRightsManagementSessionHandle.cs
- SQLInt64Storage.cs
- XmlException.cs
- ValueConversionAttribute.cs
- SqlTriggerContext.cs
- FaultImportOptions.cs
- SQLByteStorage.cs
- XmlDownloadManager.cs
- ExtenderProviderService.cs
- VisualStyleTypesAndProperties.cs
- DESCryptoServiceProvider.cs
- Image.cs
- DirtyTextRange.cs
- CacheHelper.cs
- _CacheStreams.cs
- CustomWebEventKey.cs
- ColorAnimationBase.cs
- RectangleHotSpot.cs
- RegexFCD.cs
- PointCollection.cs
- SafeEventLogWriteHandle.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- EventWaitHandleSecurity.cs
- Rule.cs
- PropertyEmitterBase.cs
- RepeatBehavior.cs
- DesignerTextViewAdapter.cs
- StylusButtonCollection.cs
- EmptyElement.cs
- ThreadStaticAttribute.cs
- XmlSecureResolver.cs
- TableHeaderCell.cs
- DataGridTableCollection.cs
- EntryPointNotFoundException.cs
- MoveSizeWinEventHandler.cs
- OleDbParameter.cs
- _Events.cs
- PeerNameRecordCollection.cs
- AgileSafeNativeMemoryHandle.cs
- FontDriver.cs
- CopyAttributesAction.cs
- DBBindings.cs
- LayoutEditorPart.cs
- DataGridCommandEventArgs.cs
- ResizeGrip.cs
- AssociationTypeEmitter.cs
- PocoEntityKeyStrategy.cs
- oledbmetadatacolumnnames.cs
- Int16KeyFrameCollection.cs
- DiscoveryRequestHandler.cs
- QueryLifecycle.cs
- XAMLParseException.cs
- Panel.cs
- TypefaceMap.cs
- PointCollection.cs
- MimeTypeMapper.cs
- RestHandler.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- UnaryExpressionHelper.cs
- PatternMatcher.cs
- LocatorGroup.cs
- SortFieldComparer.cs
- ReferentialConstraint.cs
- ZipArchive.cs
- ArglessEventHandlerProxy.cs
- TextChangedEventArgs.cs
- BackgroundWorker.cs
- DrawItemEvent.cs
- ObjectItemCollection.cs
- ElementMarkupObject.cs
- FormDocumentDesigner.cs
- DBSchemaRow.cs
- CLRBindingWorker.cs
- Rectangle.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- SafeNativeMethodsCLR.cs
- SimpleColumnProvider.cs
- IssuanceLicense.cs
- PerformanceCountersElement.cs
- IntSecurity.cs
- isolationinterop.cs
- SizeConverter.cs
- WindowsAuthenticationModule.cs
- XmlSiteMapProvider.cs
- SignatureResourceHelper.cs
- AsyncResult.cs