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
- ObjectView.cs
- HttpHandlerActionCollection.cs
- SqlTriggerAttribute.cs
- arclist.cs
- MultiBindingExpression.cs
- XslVisitor.cs
- DesignColumn.cs
- SecureEnvironment.cs
- HttpWriter.cs
- ConvertEvent.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- ObjectConverter.cs
- SimpleWebHandlerParser.cs
- QueryContinueDragEvent.cs
- HttpContextServiceHost.cs
- TextViewElement.cs
- SqlClientFactory.cs
- Solver.cs
- NamespaceQuery.cs
- SplitterEvent.cs
- EdmProperty.cs
- SevenBitStream.cs
- InvalidWMPVersionException.cs
- TrayIconDesigner.cs
- ResXDataNode.cs
- CodeIterationStatement.cs
- WindowsImpersonationContext.cs
- DeferredReference.cs
- SafeArrayTypeMismatchException.cs
- Transform3D.cs
- ReferentialConstraint.cs
- TextParentUndoUnit.cs
- ReadOnlyHierarchicalDataSource.cs
- GridPattern.cs
- DataAccessor.cs
- BinaryParser.cs
- DrawingImage.cs
- MailMessageEventArgs.cs
- NullReferenceException.cs
- ECDsaCng.cs
- TextCharacters.cs
- SqlExpander.cs
- TypeBuilder.cs
- CircleHotSpot.cs
- ComEventsHelper.cs
- RoleManagerEventArgs.cs
- Effect.cs
- CharUnicodeInfo.cs
- SessionIDManager.cs
- versioninfo.cs
- WindowsPrincipal.cs
- XmlWhitespace.cs
- _ListenerAsyncResult.cs
- IgnoreSectionHandler.cs
- httpstaticobjectscollection.cs
- WinEventWrap.cs
- panel.cs
- WebConfigurationFileMap.cs
- TriggerBase.cs
- ToolStripContentPanelDesigner.cs
- CollectionViewProxy.cs
- EntityDataSourceContextCreatedEventArgs.cs
- BaseDataBoundControl.cs
- TableLayoutSettings.cs
- CompositeCollection.cs
- ScriptingRoleServiceSection.cs
- MobileListItem.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- LogSwitch.cs
- SendKeys.cs
- Nodes.cs
- ExtendedProperty.cs
- Latin1Encoding.cs
- TrackingLocation.cs
- UIElementCollection.cs
- LOSFormatter.cs
- BackgroundFormatInfo.cs
- NativeMethods.cs
- RouteItem.cs
- ObjectMaterializedEventArgs.cs
- KnownBoxes.cs
- Sql8ExpressionRewriter.cs
- OleTxTransactionInfo.cs
- CriticalFinalizerObject.cs
- PathTooLongException.cs
- InputBinding.cs
- TimelineClockCollection.cs
- DeploymentSection.cs
- TabControlCancelEvent.cs
- SqlTriggerContext.cs
- FrugalList.cs
- GridSplitterAutomationPeer.cs
- LinkedResource.cs
- ExpressionBinding.cs
- DataObject.cs
- cookieexception.cs
- WorkflowOwnershipException.cs
- ValidatorCompatibilityHelper.cs
- SizeF.cs
- HotSpotCollectionEditor.cs