Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HttpListenerException.cs
- DbCommandTree.cs
- SamlAuthorizationDecisionClaimResource.cs
- SafeEventLogWriteHandle.cs
- TimeSpanMinutesConverter.cs
- LicenseException.cs
- MessageQueuePermission.cs
- MobileComponentEditorPage.cs
- StrongNamePublicKeyBlob.cs
- ShadowGlyph.cs
- ListViewInsertionMark.cs
- SkinBuilder.cs
- OutOfMemoryException.cs
- FileVersionInfo.cs
- PathSegment.cs
- AudienceUriMode.cs
- Line.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- CharStorage.cs
- NetWebProxyFinder.cs
- XmlSchemaSimpleTypeUnion.cs
- DataTableMapping.cs
- MetadataItem.cs
- ToolStripDropDownMenu.cs
- SpotLight.cs
- VerificationAttribute.cs
- BitStack.cs
- MatrixConverter.cs
- WindowsToolbar.cs
- Semaphore.cs
- IndicShape.cs
- securitycriticaldata.cs
- Subtree.cs
- mediaclock.cs
- TileBrush.cs
- XmlEntity.cs
- IERequestCache.cs
- SqlCacheDependencyDatabase.cs
- CompoundFileReference.cs
- Stack.cs
- SystemColors.cs
- BaseCAMarshaler.cs
- ZipQueryOperator.cs
- SafeWaitHandle.cs
- DecoderFallbackWithFailureFlag.cs
- PropertyItemInternal.cs
- DataAdapter.cs
- DetailsViewCommandEventArgs.cs
- HttpRequestWrapper.cs
- PrintDialog.cs
- EntitySqlQueryCacheEntry.cs
- HttpResponseInternalWrapper.cs
- ChannelParameterCollection.cs
- ListControlConvertEventArgs.cs
- FixedFindEngine.cs
- Repeater.cs
- updateconfighost.cs
- SchemaImporterExtensionElementCollection.cs
- ConsumerConnectionPoint.cs
- TreeViewItem.cs
- ChangeInterceptorAttribute.cs
- XmlSchemaSequence.cs
- VideoDrawing.cs
- SendKeys.cs
- ConfigXmlElement.cs
- ObjectListItem.cs
- XmlIgnoreAttribute.cs
- IconConverter.cs
- AutomationPropertyInfo.cs
- PersonalizationEntry.cs
- Base64Stream.cs
- ResourceReferenceExpressionConverter.cs
- RelationshipEndMember.cs
- XmlAttributeOverrides.cs
- SimpleFileLog.cs
- ConfigurationUtility.cs
- SByte.cs
- BlobPersonalizationState.cs
- MsdtcWrapper.cs
- CaseInsensitiveComparer.cs
- DelegateSerializationHolder.cs
- ClientBuildManager.cs
- X509ClientCertificateAuthenticationElement.cs
- WMIInterop.cs
- SchemaElementLookUpTableEnumerator.cs
- PlanCompiler.cs
- UIElementParagraph.cs
- ADRole.cs
- ValuePattern.cs
- ClientBuildManagerCallback.cs
- AndMessageFilter.cs
- TypographyProperties.cs
- Vector.cs
- DataGridViewRowPrePaintEventArgs.cs
- UrlPath.cs
- HttpGetServerProtocol.cs
- IsolatedStorageException.cs
- XhtmlBasicObjectListAdapter.cs
- FormatSettings.cs
- BooleanStorage.cs