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
- Crc32.cs
- WinFormsUtils.cs
- WebPartManager.cs
- WebPart.cs
- CompareValidator.cs
- RoutedEventConverter.cs
- PermissionSet.cs
- BuildManager.cs
- HMACSHA512.cs
- QueueAccessMode.cs
- ContextMenuAutomationPeer.cs
- XPathDocumentNavigator.cs
- FixedDocumentSequencePaginator.cs
- FileDialogPermission.cs
- UserControlFileEditor.cs
- UInt64Storage.cs
- WebServiceBindingAttribute.cs
- Size.cs
- Compiler.cs
- AbandonedMutexException.cs
- TextEffectResolver.cs
- WaveHeader.cs
- UrlPath.cs
- Point4DValueSerializer.cs
- RunClient.cs
- SqlUserDefinedAggregateAttribute.cs
- FormsAuthenticationUser.cs
- FixUp.cs
- SamlAdvice.cs
- StrokeNodeOperations2.cs
- StorageEndPropertyMapping.cs
- UmAlQuraCalendar.cs
- HtmlWindow.cs
- log.cs
- ADRoleFactoryConfiguration.cs
- TransactionInformation.cs
- CorrelationToken.cs
- StrongNameUtility.cs
- SystemDiagnosticsSection.cs
- QilPatternFactory.cs
- WorkflowExecutor.cs
- ToolboxSnapDragDropEventArgs.cs
- ConnectionPointGlyph.cs
- XmlLanguage.cs
- ViewKeyConstraint.cs
- MD5HashHelper.cs
- DataGridTextBox.cs
- Monitor.cs
- PrintDialogException.cs
- SslStream.cs
- OdbcError.cs
- FormParameter.cs
- OleDbTransaction.cs
- WarningException.cs
- NumberFunctions.cs
- SiteMapPath.cs
- RequestTimeoutManager.cs
- TextEditorTyping.cs
- NullableDecimalMinMaxAggregationOperator.cs
- ErrorFormatterPage.cs
- ReflectionPermission.cs
- ContextMenuStrip.cs
- SystemWebExtensionsSectionGroup.cs
- EventLogPermissionEntry.cs
- UnwrappedTypesXmlSerializerManager.cs
- HtmlWindowCollection.cs
- WebPartEditorCancelVerb.cs
- XmlDataSourceDesigner.cs
- CompositeTypefaceMetrics.cs
- SystemTcpConnection.cs
- RectAnimationBase.cs
- HwndTarget.cs
- EncryptedKey.cs
- DetailsView.cs
- Exceptions.cs
- AuthenticationModulesSection.cs
- SQLSingle.cs
- IncomingWebResponseContext.cs
- TraceRecord.cs
- TreeNodeMouseHoverEvent.cs
- BufferedWebEventProvider.cs
- HostSecurityManager.cs
- _AutoWebProxyScriptHelper.cs
- ConfigurationValue.cs
- UnmanagedMarshal.cs
- InfiniteTimeSpanConverter.cs
- SerializationTrace.cs
- XmlElementElementCollection.cs
- MemoryPressure.cs
- ActivitySurrogate.cs
- HtmlElementCollection.cs
- TextEditorTyping.cs
- RegularExpressionValidator.cs
- BitArray.cs
- InsufficientMemoryException.cs
- BlobPersonalizationState.cs
- AnimatedTypeHelpers.cs
- MimeTypePropertyAttribute.cs
- SafeUserTokenHandle.cs
- SafeHandles.cs