Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayTypeMismatchException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- odbcmetadatacollectionnames.cs
- XNameConverter.cs
- GetIndexBinder.cs
- DeclarationUpdate.cs
- WindowsGraphics2.cs
- GlyphTypeface.cs
- FuncTypeConverter.cs
- NativeMethods.cs
- GeneralTransform.cs
- AsyncStreamReader.cs
- Rfc2898DeriveBytes.cs
- SharedPersonalizationStateInfo.cs
- BuildResultCache.cs
- NoneExcludedImageIndexConverter.cs
- TreeNodeBindingCollection.cs
- PatternMatcher.cs
- ClientRuntime.cs
- Control.cs
- CellIdBoolean.cs
- XmlEnumAttribute.cs
- Rect3D.cs
- WorkflowClientDeliverMessageWrapper.cs
- XmlDocumentFragment.cs
- HyperLink.cs
- UpdatePanel.cs
- CodeFieldReferenceExpression.cs
- SamlAdvice.cs
- FactoryGenerator.cs
- WindowsTokenRoleProvider.cs
- RelatedView.cs
- regiisutil.cs
- HttpModuleAction.cs
- TrackingDataItem.cs
- GroupedContextMenuStrip.cs
- unsafeIndexingFilterStream.cs
- SafeNativeMethods.cs
- DynamicMethod.cs
- CheckBoxList.cs
- DataGridView.cs
- InvalidProgramException.cs
- OperatingSystem.cs
- DBCommandBuilder.cs
- AlternationConverter.cs
- streamingZipPartStream.cs
- NeutralResourcesLanguageAttribute.cs
- TabItemAutomationPeer.cs
- PersonalizationProvider.cs
- ExceptionHandlerDesigner.cs
- UnaryQueryOperator.cs
- ThrowHelper.cs
- DataError.cs
- CryptoStream.cs
- DefaultObjectMappingItemCollection.cs
- ConsoleEntryPoint.cs
- TextServicesHost.cs
- ColumnMap.cs
- DataSourceXmlSerializer.cs
- ECDsaCng.cs
- __TransparentProxy.cs
- FlagPanel.cs
- HideDisabledControlAdapter.cs
- WinOEToolBoxItem.cs
- DataServiceEntityAttribute.cs
- ReachObjectContext.cs
- ByteArrayHelperWithString.cs
- EventDescriptorCollection.cs
- OutOfMemoryException.cs
- DataRelation.cs
- WorkflowTransactionService.cs
- GradientStop.cs
- TreeChangeInfo.cs
- TreeViewItemAutomationPeer.cs
- ResourceReader.cs
- SqlNodeAnnotations.cs
- Attributes.cs
- ObjectStateEntry.cs
- PointAnimationUsingPath.cs
- InheritanceRules.cs
- KeyedCollection.cs
- ISessionStateStore.cs
- WaitHandleCannotBeOpenedException.cs
- XPathNavigator.cs
- TableItemProviderWrapper.cs
- ConfigurationLocationCollection.cs
- CanonicalizationDriver.cs
- ImplicitInputBrush.cs
- AxisAngleRotation3D.cs
- DataGridTemplateColumn.cs
- DataListItemCollection.cs
- EditBehavior.cs
- ModelItem.cs
- FileDialog.cs
- DataColumn.cs
- SQLInt16.cs
- Grid.cs
- SingleStorage.cs
- BuilderInfo.cs
- WebServiceReceive.cs
- X509Utils.cs
- ForwardPositionQuery.cs