Code:
/ FX-1434 / FX-1434 / 1.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
- LightweightCodeGenerator.cs
- XmlDataProvider.cs
- MouseButtonEventArgs.cs
- DbConnectionHelper.cs
- ScrollProperties.cs
- OrthographicCamera.cs
- ClientSponsor.cs
- ServiceMetadataContractBehavior.cs
- SByteConverter.cs
- SpellerInterop.cs
- Encoder.cs
- TokenBasedSetEnumerator.cs
- LoadItemsEventArgs.cs
- SimpleBitVector32.cs
- webbrowsersite.cs
- DictationGrammar.cs
- PrintDialog.cs
- Stroke.cs
- FormViewRow.cs
- ObjectDataSourceEventArgs.cs
- AnonymousIdentificationSection.cs
- ServiceOperationUIEditor.cs
- SafeReversePInvokeHandle.cs
- SurrogateSelector.cs
- IntPtr.cs
- MissingSatelliteAssemblyException.cs
- ScrollBar.cs
- ContainerControlDesigner.cs
- DataGridItem.cs
- DataColumnChangeEvent.cs
- Symbol.cs
- RegexWorker.cs
- DropShadowBitmapEffect.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ChildrenQuery.cs
- InputBinder.cs
- TypeUsage.cs
- OdbcRowUpdatingEvent.cs
- OLEDB_Enum.cs
- RegexCapture.cs
- UserPreferenceChangedEventArgs.cs
- Vector3DAnimationUsingKeyFrames.cs
- WorkflowValidationFailedException.cs
- SettingsPropertyCollection.cs
- Journal.cs
- TimeoutValidationAttribute.cs
- EventHandlingScope.cs
- Trace.cs
- TokenBasedSet.cs
- SignatureHelper.cs
- HashAlgorithm.cs
- AnnotationAuthorChangedEventArgs.cs
- ConfigurationValue.cs
- StringPropertyBuilder.cs
- WMIInterop.cs
- ColumnHeader.cs
- XmlChoiceIdentifierAttribute.cs
- GridViewRowEventArgs.cs
- TableProviderWrapper.cs
- SqlExpressionNullability.cs
- SharedConnectionInfo.cs
- WeakReference.cs
- HierarchicalDataBoundControlAdapter.cs
- NativeMethods.cs
- TrackingQueryElement.cs
- HttpApplicationStateWrapper.cs
- UnauthorizedWebPart.cs
- TableLayoutCellPaintEventArgs.cs
- TextProviderWrapper.cs
- ReaderWriterLockSlim.cs
- PageThemeParser.cs
- RefExpr.cs
- UrlMappingsSection.cs
- SafeFileMapViewHandle.cs
- WaitHandle.cs
- _Rfc2616CacheValidators.cs
- HyperLink.cs
- AssemblySettingAttributes.cs
- CursorInteropHelper.cs
- DataBoundControlHelper.cs
- BindingElement.cs
- ExeContext.cs
- DiscoveryClientElement.cs
- WindowsListViewGroupSubsetLink.cs
- WindowsGraphicsCacheManager.cs
- StorageAssociationSetMapping.cs
- newitemfactory.cs
- MetadataSet.cs
- SystemColors.cs
- PackagingUtilities.cs
- DataGridColumnsPage.cs
- MsmqBindingMonitor.cs
- ComEventsHelper.cs
- AlignmentXValidation.cs
- safex509handles.cs
- UxThemeWrapper.cs
- WebPartDisplayModeEventArgs.cs
- DockPatternIdentifiers.cs
- GlyphTypeface.cs
- Attribute.cs