Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Byte.cs
- ScriptRegistrationManager.cs
- DynamicActionMessageFilter.cs
- ClientTargetSection.cs
- DataContractSet.cs
- xamlnodes.cs
- CookielessHelper.cs
- NativeMethods.cs
- IgnoreSectionHandler.cs
- LocalValueEnumerator.cs
- AttachmentService.cs
- Style.cs
- _CacheStreams.cs
- DashStyles.cs
- OdbcTransaction.cs
- HtmlInputFile.cs
- ReturnValue.cs
- HttpStreamXmlDictionaryReader.cs
- EntityProviderFactory.cs
- DesignTimeData.cs
- FormatControl.cs
- SmiEventSink_Default.cs
- MsmqIntegrationProcessProtocolHandler.cs
- WebPartHelpVerb.cs
- GreenMethods.cs
- SwitchElementsCollection.cs
- ParagraphResult.cs
- ExpressionConverter.cs
- SafeHandles.cs
- CheckedPointers.cs
- XmlBoundElement.cs
- ImageSourceValueSerializer.cs
- CorePropertiesFilter.cs
- IUnknownConstantAttribute.cs
- SqlBuilder.cs
- ProvidersHelper.cs
- RSAPKCS1SignatureFormatter.cs
- DataSourceCacheDurationConverter.cs
- XmlSchemaAttribute.cs
- VisualBrush.cs
- printdlgexmarshaler.cs
- BamlLocalizabilityResolver.cs
- ColorConverter.cs
- SID.cs
- XmlReflectionMember.cs
- ImageListImage.cs
- LayoutDump.cs
- GcHandle.cs
- DisplayMemberTemplateSelector.cs
- CFStream.cs
- TextContainerChangeEventArgs.cs
- TypeBuilderInstantiation.cs
- ContentFilePart.cs
- ReferenceSchema.cs
- EncoderFallback.cs
- HeaderedContentControl.cs
- RelationshipManager.cs
- Query.cs
- UIElementCollection.cs
- Enum.cs
- CursorConverter.cs
- HandlerMappingMemo.cs
- WebZone.cs
- HelpKeywordAttribute.cs
- PathHelper.cs
- SchemaImporterExtensionsSection.cs
- Parameter.cs
- TagNameToTypeMapper.cs
- RectIndependentAnimationStorage.cs
- X509ChainPolicy.cs
- CallContext.cs
- QueryOperationResponseOfT.cs
- CommandField.cs
- Visual3D.cs
- LinkArea.cs
- X509ChainElement.cs
- XmlUrlResolver.cs
- SiteOfOriginPart.cs
- FixedSOMPageConstructor.cs
- GlyphRunDrawing.cs
- _CommandStream.cs
- FormsAuthentication.cs
- FontNamesConverter.cs
- SamlSubjectStatement.cs
- FixedDocumentSequencePaginator.cs
- DiscardableAttribute.cs
- FormViewInsertedEventArgs.cs
- FixedPageProcessor.cs
- Shared.cs
- PersistenceTask.cs
- ClientRoleProvider.cs
- EditorServiceContext.cs
- GridItem.cs
- CommandLibraryHelper.cs
- SwitchLevelAttribute.cs
- TextChangedEventArgs.cs
- _LocalDataStore.cs
- MimeTypePropertyAttribute.cs
- PersonalizationEntry.cs
- RouteValueExpressionBuilder.cs