Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ResourceReferenceExpressionConverter.cs
- IndexingContentUnit.cs
- DataGridRowClipboardEventArgs.cs
- ExclusiveTcpListener.cs
- MetabaseReader.cs
- BindingSourceDesigner.cs
- WsatTransactionFormatter.cs
- EditorAttribute.cs
- Underline.cs
- PageVisual.cs
- XMLSyntaxException.cs
- ContentValidator.cs
- DocumentManager.cs
- DrawingGroupDrawingContext.cs
- XmlSchema.cs
- FormDocumentDesigner.cs
- CollectionConverter.cs
- CmsUtils.cs
- ConfigXmlElement.cs
- TextMetrics.cs
- DataObjectMethodAttribute.cs
- AbstractExpressions.cs
- XmlProcessingInstruction.cs
- OleDbMetaDataFactory.cs
- _NestedMultipleAsyncResult.cs
- SplineKeyFrames.cs
- Stylesheet.cs
- DropSource.cs
- PointHitTestParameters.cs
- ThreadInterruptedException.cs
- ServiceModelReg.cs
- DataGridViewControlCollection.cs
- RemotingConfigParser.cs
- ReadOnlyDataSource.cs
- TogglePattern.cs
- EntryWrittenEventArgs.cs
- AssociationTypeEmitter.cs
- FileDialog_Vista.cs
- querybuilder.cs
- XmlNodeReader.cs
- DrawingGroup.cs
- TdsEnums.cs
- HandledEventArgs.cs
- PackageFilter.cs
- WindowShowOrOpenTracker.cs
- BCryptNative.cs
- DesignerHierarchicalDataSourceView.cs
- StandardBindingReliableSessionElement.cs
- PropertyDescriptors.cs
- FixedDSBuilder.cs
- httpapplicationstate.cs
- WebPartDisplayModeCollection.cs
- DataBindingsDialog.cs
- ModuleBuilder.cs
- LinqExpressionNormalizer.cs
- SiteMapNodeItemEventArgs.cs
- ThreadStaticAttribute.cs
- DataAccessor.cs
- DrawingImage.cs
- SoapClientProtocol.cs
- DynamicDocumentPaginator.cs
- InputLanguageCollection.cs
- ReflectEventDescriptor.cs
- WebPartEditorApplyVerb.cs
- StateManagedCollection.cs
- AutomationProperties.cs
- ObservableCollection.cs
- UpdateCommand.cs
- CookieHandler.cs
- RegisteredScript.cs
- GeometryDrawing.cs
- MonthChangedEventArgs.cs
- ProviderBase.cs
- DataSysAttribute.cs
- BufferedStream.cs
- AssemblyCollection.cs
- DataRowExtensions.cs
- IsolatedStorageSecurityState.cs
- CaseStatement.cs
- IdentitySection.cs
- SkipQueryOptionExpression.cs
- ExcludePathInfo.cs
- TextElementCollection.cs
- TreeViewEvent.cs
- SQlBooleanStorage.cs
- OdbcEnvironmentHandle.cs
- WebBaseEventKeyComparer.cs
- DataGridViewColumnEventArgs.cs
- HttpServerVarsCollection.cs
- FormParameter.cs
- Ref.cs
- SizeKeyFrameCollection.cs
- OleDbFactory.cs
- WebPartsSection.cs
- MemoryStream.cs
- MDIClient.cs
- MenuItemAutomationPeer.cs
- UrlPath.cs
- RoutingTable.cs
- FlowchartDesignerCommands.cs