Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ModelPerspective.cs
- XmlDataProvider.cs
- WindowsAuthenticationEventArgs.cs
- DataListCommandEventArgs.cs
- IsolatedStorageFileStream.cs
- SecurityDocument.cs
- TimeoutException.cs
- Nullable.cs
- _HeaderInfoTable.cs
- SystemDiagnosticsSection.cs
- EntityWithKeyStrategy.cs
- Preprocessor.cs
- HostExecutionContextManager.cs
- PixelShader.cs
- WebServiceFault.cs
- DataMemberAttribute.cs
- contentDescriptor.cs
- BitmapEffect.cs
- RoutingBehavior.cs
- FieldMetadata.cs
- FieldAccessException.cs
- State.cs
- StylesEditorDialog.cs
- BitmapPalette.cs
- PageSetupDialog.cs
- ServiceConfigurationTraceRecord.cs
- CngKeyCreationParameters.cs
- DataGridViewAccessibleObject.cs
- X509ChainPolicy.cs
- XmlSchemaDatatype.cs
- Directory.cs
- AbsoluteQuery.cs
- ExtentJoinTreeNode.cs
- OutputCacheProfile.cs
- PaintEvent.cs
- SqlCachedBuffer.cs
- XmlSerializationGeneratedCode.cs
- HTMLTagNameToTypeMapper.cs
- XmlImplementation.cs
- BitmapEffectGeneralTransform.cs
- ListBindingHelper.cs
- KerberosSecurityTokenParameters.cs
- InternalConfigSettingsFactory.cs
- ObjectListTitleAttribute.cs
- PopupEventArgs.cs
- UserUseLicenseDictionaryLoader.cs
- PropertyEmitterBase.cs
- DataRecordInfo.cs
- CalculatedColumn.cs
- Matrix3DConverter.cs
- MessageQueuePermission.cs
- RegisteredDisposeScript.cs
- ProfilePropertyNameValidator.cs
- WebPartZone.cs
- OpenTypeLayout.cs
- SmiXetterAccessMap.cs
- DataGridHeaderBorder.cs
- SystemTcpConnection.cs
- OutputCacheProviderCollection.cs
- FixedTextSelectionProcessor.cs
- DataGridViewRowPostPaintEventArgs.cs
- ErrorHandler.cs
- CompoundFileIOPermission.cs
- FormsAuthenticationUser.cs
- HostProtectionPermission.cs
- XmlDataCollection.cs
- HtmlElement.cs
- OrderedEnumerableRowCollection.cs
- Symbol.cs
- MenuItemCollection.cs
- ToolStripItemEventArgs.cs
- FixedSOMFixedBlock.cs
- PartManifestEntry.cs
- RTLAwareMessageBox.cs
- DiscreteKeyFrames.cs
- TextRunTypographyProperties.cs
- TemplateInstanceAttribute.cs
- HtmlInputCheckBox.cs
- MethodRental.cs
- StylusOverProperty.cs
- SqlCacheDependencyDatabaseCollection.cs
- PersianCalendar.cs
- ClientSettingsStore.cs
- CellTreeNodeVisitors.cs
- ScriptResourceDefinition.cs
- SaveFileDialogDesigner.cs
- AuthenticateEventArgs.cs
- QuaternionAnimation.cs
- MessageBox.cs
- ByteAnimationBase.cs
- HttpCachePolicy.cs
- DateTimeValueSerializerContext.cs
- RootBrowserWindowProxy.cs
- ListenerElementsCollection.cs
- ToolBarButton.cs
- AccessText.cs
- ValueTypeFixupInfo.cs
- recordstatescratchpad.cs
- DataGridViewTopRowAccessibleObject.cs
- Buffer.cs