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
- ToolStripDropDownMenu.cs
- ThreadExceptionEvent.cs
- MaskInputRejectedEventArgs.cs
- ValueQuery.cs
- ScriptHandlerFactory.cs
- ConnectionsZoneDesigner.cs
- GeneratedContractType.cs
- BindingsSection.cs
- StringWriter.cs
- Renderer.cs
- ScriptControl.cs
- ToolBarOverflowPanel.cs
- TextSpanModifier.cs
- StorageModelBuildProvider.cs
- SupportingTokenSecurityTokenResolver.cs
- figurelengthconverter.cs
- DbProviderFactory.cs
- XmlQualifiedNameTest.cs
- WrappingXamlSchemaContext.cs
- hresults.cs
- dataobject.cs
- HelpProvider.cs
- DataBindingExpressionBuilder.cs
- ModuleConfigurationInfo.cs
- WindowsComboBox.cs
- IndexingContentUnit.cs
- WindowInteropHelper.cs
- ArcSegment.cs
- SqlAliaser.cs
- PropertiesTab.cs
- WhiteSpaceTrimStringConverter.cs
- WinFormsSecurity.cs
- TextAutomationPeer.cs
- SpecularMaterial.cs
- Security.cs
- CollectionBuilder.cs
- LineServicesRun.cs
- parserscommon.cs
- DataSourceControlBuilder.cs
- CachedBitmap.cs
- TaiwanLunisolarCalendar.cs
- EntityDataSourceColumn.cs
- SharedUtils.cs
- Rules.cs
- DropDownList.cs
- AttributeCollection.cs
- DataView.cs
- Base64Decoder.cs
- XmlObjectSerializerWriteContext.cs
- AutomationFocusChangedEventArgs.cs
- HttpWebRequest.cs
- DiagnosticsConfigurationHandler.cs
- Tokenizer.cs
- RemotingSurrogateSelector.cs
- DispatcherProcessingDisabled.cs
- EmbeddedObject.cs
- BitConverter.cs
- SafeRightsManagementHandle.cs
- OpacityConverter.cs
- SystemIcmpV4Statistics.cs
- XamlToRtfParser.cs
- ConnectionsZoneAutoFormat.cs
- DocumentPropertiesDialog.cs
- UInt64Storage.cs
- RefreshPropertiesAttribute.cs
- SubclassTypeValidatorAttribute.cs
- Size3DValueSerializer.cs
- CodeTryCatchFinallyStatement.cs
- ParallelRangeManager.cs
- EditingScopeUndoUnit.cs
- ObfuscateAssemblyAttribute.cs
- GeneralTransform.cs
- ParseHttpDate.cs
- VisualStyleTypesAndProperties.cs
- DesignerDataStoredProcedure.cs
- DelayedRegex.cs
- IIS7UserPrincipal.cs
- _ServiceNameStore.cs
- TableRowGroup.cs
- SdlChannelSink.cs
- OdbcStatementHandle.cs
- CodePageEncoding.cs
- WebBrowserHelper.cs
- SoapCodeExporter.cs
- EndpointInstanceProvider.cs
- ScaleTransform3D.cs
- HttpCookieCollection.cs
- SharedDp.cs
- SharedTcpTransportManager.cs
- RuntimeHandles.cs
- ConfigurationManager.cs
- TableRowCollection.cs
- DataSourceHelper.cs
- ToolStripDropDown.cs
- NamespaceDecl.cs
- OdbcPermission.cs
- EndEvent.cs
- WebPartConnectionsCancelVerb.cs
- LoopExpression.cs
- CodeMemberMethod.cs