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
- CodeTypeReferenceExpression.cs
- AttachedAnnotation.cs
- ProcessModule.cs
- PageHandlerFactory.cs
- DBCSCodePageEncoding.cs
- MessageHeaderT.cs
- SqlMethodAttribute.cs
- WsrmFault.cs
- ItemsControl.cs
- WindowsFont.cs
- GcHandle.cs
- UIPermission.cs
- SafeNativeMethodsCLR.cs
- ConfigXmlText.cs
- DataGridBoolColumn.cs
- UnSafeCharBuffer.cs
- WSFederationHttpBindingCollectionElement.cs
- Button.cs
- _LocalDataStore.cs
- XpsS0ValidatingLoader.cs
- StorageEntityTypeMapping.cs
- TypographyProperties.cs
- Membership.cs
- DescendantBaseQuery.cs
- HttpCacheVaryByContentEncodings.cs
- MetadataArtifactLoaderResource.cs
- NetworkAddressChange.cs
- DataReceivedEventArgs.cs
- SecurityKeyUsage.cs
- DBCommand.cs
- XamlReader.cs
- JsonReaderDelegator.cs
- Script.cs
- DataMisalignedException.cs
- X509Certificate2.cs
- DataServiceHostFactory.cs
- ClientTargetSection.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ManagedFilter.cs
- ExceptionUtil.cs
- OrderByQueryOptionExpression.cs
- BooleanFunctions.cs
- ProcessThreadCollection.cs
- DataControlFieldsEditor.cs
- RMPublishingDialog.cs
- DocumentApplicationJournalEntry.cs
- CheckoutException.cs
- OneOfScalarConst.cs
- CodeObject.cs
- Attributes.cs
- ToolStripSettings.cs
- RectAnimationUsingKeyFrames.cs
- FlowDecisionDesigner.xaml.cs
- MasterPage.cs
- EndpointDesigner.cs
- dsa.cs
- PrimarySelectionAdorner.cs
- DisplayNameAttribute.cs
- UserMapPath.cs
- MimeWriter.cs
- RijndaelManaged.cs
- FolderBrowserDialog.cs
- RegexCaptureCollection.cs
- RequestUriProcessor.cs
- EmbeddedMailObjectsCollection.cs
- ScopelessEnumAttribute.cs
- RowParagraph.cs
- TextRenderer.cs
- RemoteWebConfigurationHost.cs
- OleDbRowUpdatedEvent.cs
- XmlNodeList.cs
- SystemIPv4InterfaceProperties.cs
- DataGridViewCellLinkedList.cs
- SkipStoryboardToFill.cs
- ScriptMethodAttribute.cs
- MouseWheelEventArgs.cs
- NotFiniteNumberException.cs
- IIS7ConfigurationLoader.cs
- RuleInfoComparer.cs
- OpenTypeLayoutCache.cs
- HttpCookiesSection.cs
- MimeMapping.cs
- PropertyPathWorker.cs
- MenuAdapter.cs
- TreeNodeMouseHoverEvent.cs
- SecurityValidationBehavior.cs
- SiteMapPathDesigner.cs
- DataListItem.cs
- SubtreeProcessor.cs
- WebScriptMetadataFormatter.cs
- PathParser.cs
- Selection.cs
- AssemblyBuilder.cs
- CustomTypeDescriptor.cs
- PeerHelpers.cs
- ToolStripItemImageRenderEventArgs.cs
- BuildProviderCollection.cs
- ResourceContainer.cs
- EventLogSession.cs
- TextServicesManager.cs