Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CommonProperties.cs
- TemplateBindingExpression.cs
- X509Chain.cs
- RegexWorker.cs
- RightsManagementEncryptedStream.cs
- MouseEvent.cs
- ItemTypeToolStripMenuItem.cs
- HttpRequestCacheValidator.cs
- ManagedFilter.cs
- EventLogPermission.cs
- OrderedDictionary.cs
- SiteMapProvider.cs
- WebFormsRootDesigner.cs
- Subset.cs
- CaseInsensitiveHashCodeProvider.cs
- OpCopier.cs
- DesignerCatalogPartChrome.cs
- _FtpControlStream.cs
- ChineseLunisolarCalendar.cs
- ReliableOutputSessionChannel.cs
- PropertyBuilder.cs
- CommonDialog.cs
- ScriptComponentDescriptor.cs
- SchemaComplexType.cs
- VoiceObjectToken.cs
- XmlNamespaceMapping.cs
- StateItem.cs
- _PooledStream.cs
- LinkArea.cs
- StrongNameKeyPair.cs
- XamlStyleSerializer.cs
- OrCondition.cs
- TemplateControlParser.cs
- CustomTypeDescriptor.cs
- coordinatorscratchpad.cs
- FrameworkElementFactory.cs
- sqlstateclientmanager.cs
- AuditLevel.cs
- MailMessageEventArgs.cs
- CompilerLocalReference.cs
- WebReferencesBuildProvider.cs
- PropertyMetadata.cs
- CodeSnippetExpression.cs
- BuildProvidersCompiler.cs
- EditorZone.cs
- DebuggerAttributes.cs
- SHA384.cs
- ExpressionList.cs
- SkipStoryboardToFill.cs
- RawAppCommandInputReport.cs
- EntityProxyTypeInfo.cs
- MetaModel.cs
- MembershipSection.cs
- Int64KeyFrameCollection.cs
- XslAstAnalyzer.cs
- _AutoWebProxyScriptWrapper.cs
- DesignConnection.cs
- Int32Converter.cs
- IISMapPath.cs
- ThreadStaticAttribute.cs
- XmlConvert.cs
- FileDialogCustomPlace.cs
- PriorityItem.cs
- XamlInt32CollectionSerializer.cs
- ResourceContainer.cs
- serverconfig.cs
- MessageVersion.cs
- SmtpReplyReader.cs
- Expressions.cs
- BuildProvidersCompiler.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SQLDoubleStorage.cs
- VarRemapper.cs
- EventLogger.cs
- PathTooLongException.cs
- Win32Interop.cs
- XmlParserContext.cs
- SiteMapNode.cs
- TagElement.cs
- RemotingConfigParser.cs
- Adorner.cs
- DifferencingCollection.cs
- TraceLog.cs
- FunctionNode.cs
- ReferenceService.cs
- ThreadNeutralSemaphore.cs
- DisposableCollectionWrapper.cs
- CorePropertiesFilter.cs
- ProcessModuleCollection.cs
- DomNameTable.cs
- PingReply.cs
- AccessDataSourceView.cs
- ObjectRef.cs
- ToolStripDropDownClosedEventArgs.cs
- PersonalizableTypeEntry.cs
- WindowsContainer.cs
- EntityViewGenerator.cs
- AssociativeAggregationOperator.cs
- BitmapEffectGeneralTransform.cs
- PropertyValueChangedEvent.cs