Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AutomationElementCollection.cs
- GestureRecognizer.cs
- RTLAwareMessageBox.cs
- WS2007HttpBindingElement.cs
- ReliableMessagingHelpers.cs
- TextPattern.cs
- HttpResponseWrapper.cs
- OdbcParameterCollection.cs
- SecurityPolicySection.cs
- EpmAttributeNameBuilder.cs
- CryptoProvider.cs
- ClosableStream.cs
- Latin1Encoding.cs
- SiteMapProvider.cs
- AttributeCollection.cs
- ChangeBlockUndoRecord.cs
- UDPClient.cs
- TreeNodeCollection.cs
- SelectionProcessor.cs
- LineSegment.cs
- SqlStream.cs
- TextTreeExtractElementUndoUnit.cs
- FilteredAttributeCollection.cs
- UserControl.cs
- LoadRetryStrategyFactory.cs
- XPathDocumentBuilder.cs
- HttpWebRequest.cs
- sortedlist.cs
- UpDownEvent.cs
- AdRotator.cs
- GlyphCache.cs
- ValidationPropertyAttribute.cs
- HtmlControl.cs
- AppDomainManager.cs
- RangeValuePatternIdentifiers.cs
- DrawTreeNodeEventArgs.cs
- PrintingPermissionAttribute.cs
- ObjectDisposedException.cs
- RawStylusSystemGestureInputReport.cs
- CodeComment.cs
- Interfaces.cs
- CompilationUtil.cs
- CheckBoxPopupAdapter.cs
- DocumentOrderQuery.cs
- PersonalizationEntry.cs
- WindowsStartMenu.cs
- InputScopeNameConverter.cs
- OleDbStruct.cs
- HtmlHead.cs
- MaskDescriptor.cs
- DataSpaceManager.cs
- WmlValidatorAdapter.cs
- InitializationEventAttribute.cs
- _NegotiateClient.cs
- shaperfactory.cs
- JournalNavigationScope.cs
- SmiEventSink.cs
- CustomPeerResolverService.cs
- NodeFunctions.cs
- TypeListConverter.cs
- FieldToken.cs
- TransformPatternIdentifiers.cs
- SafeBitVector32.cs
- DetailsViewPageEventArgs.cs
- RoleGroup.cs
- CalendarDateRangeChangingEventArgs.cs
- ObjectView.cs
- SignatureDescription.cs
- RestHandlerFactory.cs
- ExtenderControl.cs
- InkPresenterAutomationPeer.cs
- TreeNode.cs
- SystemIPInterfaceProperties.cs
- HttpListenerTimeoutManager.cs
- DataGridView.cs
- ListViewUpdatedEventArgs.cs
- ScriptResourceInfo.cs
- HyperLinkField.cs
- ProjectionCamera.cs
- XamlSerializationHelper.cs
- ColorConvertedBitmap.cs
- shaperfactoryquerycacheentry.cs
- CheckBoxField.cs
- OdbcConnectionHandle.cs
- InvokeHandlers.cs
- AdornerHitTestResult.cs
- NotImplementedException.cs
- ConfigXmlDocument.cs
- StorageMappingFragment.cs
- InheritablePropertyChangeInfo.cs
- WizardPanel.cs
- XmlSerializableWriter.cs
- FakeModelPropertyImpl.cs
- AppSettingsSection.cs
- SafeNativeMethods.cs
- XmlElementCollection.cs
- ErrorFormatter.cs
- RichTextBoxConstants.cs
- JpegBitmapDecoder.cs
- NestPullup.cs