Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayTypeMismatchException.cs / 1 / SafeArrayTypeMismatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SafeArrayTypeMismatchException ** ** Purpose: This exception is thrown when the runtime type of an array ** is different than the safe array sub type specified in the ** metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayTypeMismatchException : SystemException { public SafeArrayTypeMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayTypeMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } protected SafeArrayTypeMismatchException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Scene3D.cs
- BindableTemplateBuilder.cs
- XmlAutoDetectWriter.cs
- CollectionBuilder.cs
- WebPartMenuStyle.cs
- TextSelectionHelper.cs
- DataGridTablesFactory.cs
- panel.cs
- PolicyManager.cs
- MultiSelector.cs
- RectangleConverter.cs
- PagesChangedEventArgs.cs
- ContainerSelectorActiveEvent.cs
- figurelength.cs
- CryptoConfig.cs
- NullableConverter.cs
- WindowsAltTab.cs
- BeginSelectCardRequest.cs
- Help.cs
- DatePickerDateValidationErrorEventArgs.cs
- Shape.cs
- validation.cs
- Margins.cs
- FormViewDeleteEventArgs.cs
- XmlnsPrefixAttribute.cs
- NamedElement.cs
- CssClassPropertyAttribute.cs
- IntSecurity.cs
- TextParagraphView.cs
- PlainXmlWriter.cs
- AttributeCollection.cs
- AssemblyAttributesGoHere.cs
- WindowsFormsLinkLabel.cs
- ChoiceConverter.cs
- ControlAdapter.cs
- SlipBehavior.cs
- RegexGroup.cs
- TemplateManager.cs
- Converter.cs
- PathSegmentCollection.cs
- RuntimeCompatibilityAttribute.cs
- DataGridTextColumn.cs
- WindowClosedEventArgs.cs
- ObjectParameterCollection.cs
- Marshal.cs
- HtmlImage.cs
- MsmqIntegrationMessagePool.cs
- CryptoProvider.cs
- AttributeCollection.cs
- CompilerError.cs
- CompilerCollection.cs
- TypeHelpers.cs
- HtmlDocument.cs
- SortedDictionary.cs
- QilInvokeEarlyBound.cs
- ContentDisposition.cs
- TemplateBindingExtension.cs
- WindowsFormsSynchronizationContext.cs
- PageThemeParser.cs
- DBCommandBuilder.cs
- MatrixConverter.cs
- FtpWebResponse.cs
- wgx_exports.cs
- CodeAttachEventStatement.cs
- Double.cs
- VisualState.cs
- ParameterCollectionEditor.cs
- ColorInterpolationModeValidation.cs
- HostedController.cs
- ListControlStringCollectionEditor.cs
- PackUriHelper.cs
- XamlUtilities.cs
- TextRange.cs
- TaskResultSetter.cs
- HelpEvent.cs
- HostingPreferredMapPath.cs
- TextDecorationCollection.cs
- SafeFileHandle.cs
- WhitespaceSignificantCollectionAttribute.cs
- XmlWellformedWriterHelpers.cs
- OpenTypeLayoutCache.cs
- COAUTHIDENTITY.cs
- EventLogPermissionEntryCollection.cs
- SmtpNegotiateAuthenticationModule.cs
- ScrollBarRenderer.cs
- StateMachine.cs
- SharedPerformanceCounter.cs
- ProfileSettings.cs
- TemplateBindingExtension.cs
- SystemColorTracker.cs
- Lasso.cs
- UseAttributeSetsAction.cs
- CookielessHelper.cs
- ElementsClipboardData.cs
- Message.cs
- DependencyPropertyKind.cs
- AssociationSet.cs
- Int32EqualityComparer.cs
- TreeNodeBindingCollection.cs
- WMIGenerator.cs