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
- ResourcePool.cs
- RecordsAffectedEventArgs.cs
- XamlStyleSerializer.cs
- FixedDocument.cs
- CodeExpressionStatement.cs
- Drawing.cs
- DashStyle.cs
- InputProcessorProfiles.cs
- ToolTip.cs
- DesignerPerfEventProvider.cs
- WinFormsComponentEditor.cs
- BasicKeyConstraint.cs
- SQLInt16.cs
- TempFiles.cs
- Transaction.cs
- PasswordDeriveBytes.cs
- DataServiceBuildProvider.cs
- PersonalizationProvider.cs
- webbrowsersite.cs
- CheckBoxFlatAdapter.cs
- SByte.cs
- SqlNotificationEventArgs.cs
- ModelPerspective.cs
- WriteLineDesigner.xaml.cs
- _HeaderInfo.cs
- SectionRecord.cs
- LinkButton.cs
- WinFormsUtils.cs
- CapabilitiesState.cs
- FormsIdentity.cs
- PropertyGeneratedEventArgs.cs
- Debugger.cs
- WebColorConverter.cs
- StylusButtonEventArgs.cs
- DropDownButton.cs
- FlowLayoutPanel.cs
- QuaternionAnimationUsingKeyFrames.cs
- ToolStripProgressBar.cs
- BidPrivateBase.cs
- Point3D.cs
- MobileTextWriter.cs
- Substitution.cs
- DescendantQuery.cs
- CodeRemoveEventStatement.cs
- MeshGeometry3D.cs
- WebPartDisplayModeEventArgs.cs
- Compiler.cs
- Trigger.cs
- OleDbFactory.cs
- SecureUICommand.cs
- EntityDataSourceReferenceGroup.cs
- DecoderExceptionFallback.cs
- Ticks.cs
- M3DUtil.cs
- DetailsViewPagerRow.cs
- BooleanConverter.cs
- XmlSchemaInferenceException.cs
- RepeaterItem.cs
- invalidudtexception.cs
- XmlHierarchyData.cs
- Literal.cs
- PresentationTraceSources.cs
- Buffer.cs
- FilterRepeater.cs
- itemelement.cs
- PersistenceTypeAttribute.cs
- ObjectQueryProvider.cs
- CorruptingExceptionCommon.cs
- XmlDictionaryReader.cs
- TreeNodeCollection.cs
- IPAddressCollection.cs
- ListBindingHelper.cs
- SourceExpressionException.cs
- TableColumnCollectionInternal.cs
- Thumb.cs
- SurrogateEncoder.cs
- ZipIOLocalFileBlock.cs
- BookmarkOptionsHelper.cs
- TemplateLookupAction.cs
- CommonXSendMessage.cs
- DbConnectionOptions.cs
- ResourceManagerWrapper.cs
- XmlObjectSerializerContext.cs
- ListBoxItem.cs
- EntityDataSourceContainerNameConverter.cs
- WorkflowViewManager.cs
- ContentFileHelper.cs
- DispatcherOperation.cs
- SimpleTextLine.cs
- QuaternionAnimation.cs
- BevelBitmapEffect.cs
- XmlSerializerAssemblyAttribute.cs
- XmlLanguage.cs
- Helpers.cs
- ToolStripGrip.cs
- HMACRIPEMD160.cs
- DataGridCommandEventArgs.cs
- InternalTransaction.cs
- XmlQueryCardinality.cs
- QueryReaderSettings.cs