Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- ControlPager.cs
- ChannelServices.cs
- DocumentGrid.cs
- newinstructionaction.cs
- CuspData.cs
- TransformedBitmap.cs
- TimeIntervalCollection.cs
- XPathDescendantIterator.cs
- XPathBuilder.cs
- IndexOutOfRangeException.cs
- mediapermission.cs
- ErrorFormatter.cs
- ResourceLoader.cs
- Vector.cs
- OutputCacheSection.cs
- OuterProxyWrapper.cs
- clipboard.cs
- XmlSchemaSequence.cs
- FixedPage.cs
- PermissionListSet.cs
- MDIClient.cs
- BitmapEffectDrawingContextState.cs
- FtpWebRequest.cs
- BinaryFormatterWriter.cs
- TraceInternal.cs
- PointAnimationUsingPath.cs
- ManagementObjectSearcher.cs
- ListBoxItem.cs
- AutomationTextAttribute.cs
- PatternMatcher.cs
- TemplateBamlTreeBuilder.cs
- MetaData.cs
- TextTreeDeleteContentUndoUnit.cs
- QueryConverter.cs
- Vector3D.cs
- XmlMembersMapping.cs
- relpropertyhelper.cs
- ImageBrush.cs
- XPathMultyIterator.cs
- EventLog.cs
- EntityDataSourceViewSchema.cs
- QilList.cs
- EntityDataSourceContextDisposingEventArgs.cs
- NullableDecimalAverageAggregationOperator.cs
- MappingMetadataHelper.cs
- ViewStateException.cs
- DbParameterCollectionHelper.cs
- TableCellCollection.cs
- ValueProviderWrapper.cs
- DictionaryChange.cs
- ResXDataNode.cs
- XmlCharacterData.cs
- MediaContextNotificationWindow.cs
- GeometryDrawing.cs
- SByteStorage.cs
- WindowsListBox.cs
- ClassDataContract.cs
- EventSinkHelperWriter.cs
- EditorZone.cs
- IPPacketInformation.cs
- SQLInt32.cs
- StylusLogic.cs
- ConstantProjectedSlot.cs
- WebMessageFormatHelper.cs
- DbUpdateCommandTree.cs
- LinqExpressionNormalizer.cs
- Image.cs
- AspNetSynchronizationContext.cs
- ItemContainerProviderWrapper.cs
- OracleBinary.cs
- GridSplitter.cs
- HtmlTable.cs
- CheckoutException.cs
- DependencyPropertyChangedEventArgs.cs
- DataGridViewAdvancedBorderStyle.cs
- DynamicRendererThreadManager.cs
- PropertyDescriptorGridEntry.cs
- GlobalItem.cs
- Transform3D.cs
- NamedPermissionSet.cs
- DES.cs
- FixedSOMTextRun.cs
- MenuItemStyle.cs
- MimeBasePart.cs
- WebConfigurationFileMap.cs
- GcSettings.cs
- AnimationClockResource.cs
- RecordManager.cs
- CannotUnloadAppDomainException.cs
- SchemaImporter.cs
- MetadataProperty.cs
- XmlAttributeAttribute.cs
- ErrorWebPart.cs
- ProfessionalColors.cs
- ScriptReferenceBase.cs
- RawStylusInputCustomData.cs
- JsonFormatWriterGenerator.cs
- DocumentPaginator.cs
- Debug.cs
- XmlDocumentType.cs