Code:
/ 4.0 / 4.0 / 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. // ==++== // // 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
- ProfileServiceManager.cs
- Column.cs
- safemediahandle.cs
- ContentFilePart.cs
- ParameterBinding.cs
- XmlTextReaderImplHelpers.cs
- _HelperAsyncResults.cs
- DecoderFallbackWithFailureFlag.cs
- TargetConverter.cs
- FontFamilyValueSerializer.cs
- Base64Decoder.cs
- Propagator.ExtentPlaceholderCreator.cs
- PanelDesigner.cs
- DispatcherHooks.cs
- tooltip.cs
- ForeignKeyFactory.cs
- odbcmetadatafactory.cs
- WorkerProcess.cs
- DataGridLengthConverter.cs
- SettingsProviderCollection.cs
- TypeToken.cs
- FileUtil.cs
- EntityDataSource.cs
- TriggerBase.cs
- EntityDataSourceReferenceGroup.cs
- WinFormsSpinner.cs
- WmpBitmapEncoder.cs
- SchemaConstraints.cs
- SourceSwitch.cs
- Char.cs
- LineInfo.cs
- RSACryptoServiceProvider.cs
- XPathExpr.cs
- ContextMenu.cs
- PathSegmentCollection.cs
- RenamedEventArgs.cs
- Helpers.cs
- SafeSystemMetrics.cs
- EventLogPermissionEntryCollection.cs
- ProjectionPath.cs
- GridViewRowCollection.cs
- PageCatalogPart.cs
- UnlockCardRequest.cs
- FrameAutomationPeer.cs
- HeaderCollection.cs
- DBCSCodePageEncoding.cs
- AmbientLight.cs
- MenuItemStyle.cs
- AssertFilter.cs
- HelpFileFileNameEditor.cs
- WindowsListViewItemStartMenu.cs
- RoamingStoreFile.cs
- AdCreatedEventArgs.cs
- ComponentDesigner.cs
- QilLoop.cs
- RectValueSerializer.cs
- ZipArchive.cs
- NeedSkipTokenVisitor.cs
- AssemblyNameProxy.cs
- SynchronizedDisposablePool.cs
- cache.cs
- TreeNode.cs
- DesignerDataSourceView.cs
- ItemCollection.cs
- FrugalMap.cs
- MethodCallConverter.cs
- DataTableTypeConverter.cs
- TypeExtensionSerializer.cs
- HttpModuleActionCollection.cs
- WebPartConnectionsCloseVerb.cs
- DeferredReference.cs
- ReferenceService.cs
- ConditionalAttribute.cs
- CombinedGeometry.cs
- _LoggingObject.cs
- BinaryObjectWriter.cs
- HtmlTextArea.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DbParameterCollectionHelper.cs
- WorkflowNamespace.cs
- MessageFilter.cs
- WebPartAddingEventArgs.cs
- Axis.cs
- BuildProvidersCompiler.cs
- DataServiceSaveChangesEventArgs.cs
- DataGridViewSelectedColumnCollection.cs
- CacheAxisQuery.cs
- FamilyMap.cs
- RelationshipNavigation.cs
- BamlLocalizabilityResolver.cs
- AdCreatedEventArgs.cs
- FontSource.cs
- FloaterParagraph.cs
- ThreadInterruptedException.cs
- HtmlProps.cs
- ByeMessageApril2005.cs
- FlowSwitchLink.cs
- SupportsEventValidationAttribute.cs
- Misc.cs
- ResolvePPIDRequest.cs