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
- UserControlBuildProvider.cs
- AxisAngleRotation3D.cs
- DependencyObjectPropertyDescriptor.cs
- SamlNameIdentifierClaimResource.cs
- XmlSchemaGroupRef.cs
- ConnectionsZone.cs
- GridItemProviderWrapper.cs
- CompilerInfo.cs
- WindowsToolbarAsMenu.cs
- RowToFieldTransformer.cs
- BrowserTree.cs
- Keyboard.cs
- TextParagraph.cs
- ComponentConverter.cs
- TypedOperationInfo.cs
- _IPv4Address.cs
- _SecureChannel.cs
- FixedSOMContainer.cs
- ConfigXmlDocument.cs
- Range.cs
- TextRangeEditLists.cs
- Deserializer.cs
- IResourceProvider.cs
- TreeNodeBindingCollection.cs
- _LocalDataStore.cs
- SynthesizerStateChangedEventArgs.cs
- SafeThreadHandle.cs
- CompatibleIComparer.cs
- SwitchAttribute.cs
- CharKeyFrameCollection.cs
- ExtensionQuery.cs
- ToolStripComboBox.cs
- ChangeInterceptorAttribute.cs
- ByeOperation11AsyncResult.cs
- ManagementPath.cs
- DeploymentSectionCache.cs
- CompilationSection.cs
- ServiceXNameTypeConverter.cs
- TimeoutException.cs
- SingleAnimationUsingKeyFrames.cs
- InfoCardTraceRecord.cs
- DataGridViewCellParsingEventArgs.cs
- PersonalizationStateQuery.cs
- XmlText.cs
- ImageDrawing.cs
- RtfToXamlReader.cs
- XPathParser.cs
- HttpHandlerAction.cs
- HtmlEncodedRawTextWriter.cs
- AssemblyAttributesGoHere.cs
- AutoCompleteStringCollection.cs
- MultipleViewProviderWrapper.cs
- HtmlContainerControl.cs
- SamlSerializer.cs
- Font.cs
- Attributes.cs
- BinaryObjectReader.cs
- HandlerBase.cs
- SiteMapProvider.cs
- WorkflowEnvironment.cs
- MouseGesture.cs
- ErrorLog.cs
- PageParserFilter.cs
- ETagAttribute.cs
- PreservationFileReader.cs
- EventSinkHelperWriter.cs
- SelectorAutomationPeer.cs
- InitializationEventAttribute.cs
- ControlType.cs
- isolationinterop.cs
- DbConnectionStringBuilder.cs
- SqlTriggerContext.cs
- DataGridRow.cs
- DataGridCell.cs
- XmlQueryContext.cs
- FontFamily.cs
- SoapObjectWriter.cs
- TableCell.cs
- AuthenticatedStream.cs
- Vector3D.cs
- MessagePartDescriptionCollection.cs
- OracleNumber.cs
- NoClickablePointException.cs
- CustomSignedXml.cs
- SpellerHighlightLayer.cs
- UIElementParagraph.cs
- StubHelpers.cs
- ViewValidator.cs
- SafeNativeMethods.cs
- sqlmetadatafactory.cs
- GroupBox.cs
- NullExtension.cs
- HashAlgorithm.cs
- PageRequestManager.cs
- AnnotationHighlightLayer.cs
- DependencyProperty.cs
- EventMappingSettings.cs
- LinqDataSourceContextData.cs
- BufferedGraphicsContext.cs
- SqlDeflator.cs