Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / ArrayTypeMismatchException.cs / 1 / ArrayTypeMismatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: ArrayTypeMismatchException ** ** ** Purpose: The arrays are of different primitive types. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; // The ArrayMismatchException is thrown when an attempt to store // an object of the wrong type within an array occurs. // [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class ArrayTypeMismatchException : SystemException { // Creates a new ArrayMismatchException with its message string set to // the empty string, its HRESULT set to COR_E_ARRAYTYPEMISMATCH, // and its ExceptionInfo reference set to null. public ArrayTypeMismatchException() : base(Environment.GetResourceString("Arg_ArrayTypeMismatchException")) { SetErrorCode(__HResults.COR_E_ARRAYTYPEMISMATCH); } // Creates a new ArrayMismatchException with its message string set to // message, its HRESULT set to COR_E_ARRAYTYPEMISMATCH, // and its ExceptionInfo reference set to null. // public ArrayTypeMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_ARRAYTYPEMISMATCH); } public ArrayTypeMismatchException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_ARRAYTYPEMISMATCH); } protected ArrayTypeMismatchException(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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SimpleTypeResolver.cs
- RegionData.cs
- XsdBuildProvider.cs
- _IPv6Address.cs
- TransformGroup.cs
- SmiContext.cs
- DynamicILGenerator.cs
- FixedTextView.cs
- FixedPage.cs
- Int32CollectionConverter.cs
- ScriptManagerProxy.cs
- TableNameAttribute.cs
- Bits.cs
- ArrayHelper.cs
- UInt64Storage.cs
- DataFormats.cs
- SamlAssertion.cs
- ProfessionalColorTable.cs
- SessionSwitchEventArgs.cs
- PersistenceProviderBehavior.cs
- IntellisenseTextBox.cs
- EntityTypeBase.cs
- IntegrationExceptionEventArgs.cs
- HeaderUtility.cs
- DropDownHolder.cs
- DecoderReplacementFallback.cs
- PropagatorResult.cs
- ListViewSortEventArgs.cs
- DbModificationCommandTree.cs
- OracleLob.cs
- CompilerCollection.cs
- MenuItemBindingCollection.cs
- TabItem.cs
- CodeIdentifiers.cs
- Decoder.cs
- FileChangesMonitor.cs
- InvalidWMPVersionException.cs
- SessionParameter.cs
- XmlSchemaCompilationSettings.cs
- ValueUtilsSmi.cs
- ADRoleFactoryConfiguration.cs
- XmlBindingWorker.cs
- EnumerableWrapperWeakToStrong.cs
- PropertyDescriptorGridEntry.cs
- EncryptedKey.cs
- CompatibleComparer.cs
- SevenBitStream.cs
- ImageMapEventArgs.cs
- AnimationException.cs
- streamingZipPartStream.cs
- SqlInternalConnectionSmi.cs
- DropDownList.cs
- PropertyInfo.cs
- IdentitySection.cs
- ComboBoxItem.cs
- Control.cs
- OracleTransaction.cs
- SoapServerProtocol.cs
- LedgerEntry.cs
- DropShadowEffect.cs
- path.cs
- _ConnectStream.cs
- SiteMapHierarchicalDataSourceView.cs
- AutoSizeToolBoxItem.cs
- ServiceDesigner.cs
- PenLineCapValidation.cs
- XamlWrappingReader.cs
- ContainerControlDesigner.cs
- XmlAttributeAttribute.cs
- LockedBorderGlyph.cs
- CallSite.cs
- ButtonChrome.cs
- MonitoringDescriptionAttribute.cs
- TypeResolver.cs
- ToolStripSystemRenderer.cs
- AgileSafeNativeMemoryHandle.cs
- PnrpPeerResolver.cs
- BridgeDataRecord.cs
- SoapExtensionTypeElement.cs
- QilInvoke.cs
- XmlChildNodes.cs
- TextProperties.cs
- QEncodedStream.cs
- XmlArrayAttribute.cs
- SyndicationItemFormatter.cs
- HtmlInputSubmit.cs
- XPathException.cs
- PerformanceCounterLib.cs
- ZipArchive.cs
- AppSettingsSection.cs
- KeyConstraint.cs
- XPathScanner.cs
- PassportAuthenticationModule.cs
- ArgumentsParser.cs
- PropertyIDSet.cs
- storepermission.cs
- SoundPlayer.cs
- PathGeometry.cs
- Currency.cs
- PropertyMetadata.cs