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
- TypeSystemProvider.cs
- DoubleLink.cs
- Rotation3DAnimation.cs
- XmlSchema.cs
- ResourcesChangeInfo.cs
- BackgroundWorker.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Int32CollectionConverter.cs
- EnumBuilder.cs
- TimeZone.cs
- RemotingConfiguration.cs
- StorageComplexPropertyMapping.cs
- DataControlCommands.cs
- JsonReaderDelegator.cs
- PointCollectionValueSerializer.cs
- XmlSchemaAttribute.cs
- StateMachineWorkflow.cs
- OleDbConnection.cs
- Logging.cs
- ClassHandlersStore.cs
- ConstrainedDataObject.cs
- TileModeValidation.cs
- ConstraintStruct.cs
- SizeConverter.cs
- FixedStringLookup.cs
- BufferedWebEventProvider.cs
- AssignDesigner.xaml.cs
- CheckBoxList.cs
- DirectoryRootQuery.cs
- NextPreviousPagerField.cs
- TrustManager.cs
- Win32Native.cs
- RootBrowserWindow.cs
- HashCryptoHandle.cs
- CodeRemoveEventStatement.cs
- SizeChangedInfo.cs
- NavigationPropertyEmitter.cs
- HuffmanTree.cs
- SHA512Cng.cs
- PointKeyFrameCollection.cs
- ProjectionPruner.cs
- WebPartZone.cs
- WebPartCloseVerb.cs
- ConfigXmlSignificantWhitespace.cs
- BinaryUtilClasses.cs
- DbDataSourceEnumerator.cs
- ControlTemplate.cs
- InvariantComparer.cs
- InvalidPropValue.cs
- SafeBitVector32.cs
- DecimalAnimationUsingKeyFrames.cs
- MsmqIntegrationElement.cs
- FlowDocument.cs
- PackagingUtilities.cs
- XmlConvert.cs
- OracleEncoding.cs
- CharConverter.cs
- QualificationDataAttribute.cs
- FuncCompletionCallbackWrapper.cs
- ScrollChangedEventArgs.cs
- MaterialCollection.cs
- SmiContextFactory.cs
- DataGridViewUtilities.cs
- GenericEnumerator.cs
- RadioButtonStandardAdapter.cs
- InternalDispatchObject.cs
- processwaithandle.cs
- _DynamicWinsockMethods.cs
- EditorPartChrome.cs
- Debugger.cs
- DebuggerAttributes.cs
- ListView.cs
- KerberosReceiverSecurityToken.cs
- Rectangle.cs
- SudsCommon.cs
- TextBlockAutomationPeer.cs
- ClientSettings.cs
- MonitoringDescriptionAttribute.cs
- ElementUtil.cs
- PlaceHolder.cs
- DataService.cs
- DelegatingTypeDescriptionProvider.cs
- _RegBlobWebProxyDataBuilder.cs
- WeakRefEnumerator.cs
- HttpModuleCollection.cs
- OdbcStatementHandle.cs
- SmiGettersStream.cs
- CapabilitiesSection.cs
- DrawingGroup.cs
- EmptyEnumerable.cs
- UpdatePanelTriggerCollection.cs
- NamedPipeActivation.cs
- ReadOnlyKeyedCollection.cs
- ServicePoint.cs
- TraceContextRecord.cs
- SessionConnectionReader.cs
- XmlEncodedRawTextWriter.cs
- SAPICategories.cs
- SafeCoTaskMem.cs
- Boolean.cs