Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / FormatException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- ExpandoClass.cs
- DbProviderServices.cs
- RangeValidator.cs
- PreviewKeyDownEventArgs.cs
- DocumentViewer.cs
- PropertyManager.cs
- SqlDeflator.cs
- OutputScopeManager.cs
- RestHandler.cs
- HierarchicalDataTemplate.cs
- AuthenticationConfig.cs
- StringComparer.cs
- SHA384Managed.cs
- WebPartVerbsEventArgs.cs
- DataObjectFieldAttribute.cs
- Convert.cs
- HeaderedItemsControl.cs
- AppSettingsSection.cs
- PersistenceTypeAttribute.cs
- ListViewItem.cs
- _LazyAsyncResult.cs
- IHttpResponseInternal.cs
- ReflectionTypeLoadException.cs
- PresentationAppDomainManager.cs
- ThicknessAnimation.cs
- StylusCaptureWithinProperty.cs
- TypeConverterHelper.cs
- Perspective.cs
- ObjectNotFoundException.cs
- SimpleMailWebEventProvider.cs
- CodeAttributeDeclaration.cs
- FrameworkElementFactoryMarkupObject.cs
- Permission.cs
- InvalidOleVariantTypeException.cs
- CriticalExceptions.cs
- SqlError.cs
- UriTemplate.cs
- DiscoveryClientDuplexChannel.cs
- TypeLoadException.cs
- CalendarAutomationPeer.cs
- CodeObjectCreateExpression.cs
- SessionEndedEventArgs.cs
- TextBox.cs
- JumpPath.cs
- EventRecord.cs
- EntityConnectionStringBuilder.cs
- ViewStateChangedEventArgs.cs
- RTLAwareMessageBox.cs
- XmlILConstructAnalyzer.cs
- TreeNodeBindingCollection.cs
- CatchBlock.cs
- ExpressionBuilder.cs
- ObjectDataSourceEventArgs.cs
- AudioFileOut.cs
- EllipseGeometry.cs
- BadImageFormatException.cs
- File.cs
- LineGeometry.cs
- StrokeNodeOperations2.cs
- RtfControls.cs
- DbQueryCommandTree.cs
- ExpressionBuilderContext.cs
- InfoCardCryptoHelper.cs
- FixedBufferAttribute.cs
- ColumnWidthChangingEvent.cs
- TextElementCollection.cs
- ResourceCategoryAttribute.cs
- ToolStripItemRenderEventArgs.cs
- XmlWrappingReader.cs
- BufferedStream.cs
- NotCondition.cs
- MemberPath.cs
- EntityStoreSchemaFilterEntry.cs
- CrossSiteScriptingValidation.cs
- ProxyWebPartManager.cs
- ContourSegment.cs
- ExpressionBuilderCollection.cs
- LogReservationCollection.cs
- InternalControlCollection.cs
- ListControl.cs
- BaseCodeDomTreeGenerator.cs
- LoadMessageLogger.cs
- DBSqlParserTableCollection.cs
- Parser.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- ErrorTableItemStyle.cs
- AlternationConverter.cs
- FixedPage.cs
- DrawingDrawingContext.cs
- ToolStripItemImageRenderEventArgs.cs
- WebServiceErrorEvent.cs
- Domain.cs
- EventEntry.cs
- RotateTransform3D.cs
- KnownBoxes.cs
- DotExpr.cs
- WorkflowApplicationAbortedException.cs
- LinkedList.cs
- UserPreferenceChangedEventArgs.cs
- HttpRequestCacheValidator.cs