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
- OraclePermission.cs
- EntityViewContainer.cs
- BitmapEffectInput.cs
- CommandBindingCollection.cs
- SqlTriggerContext.cs
- FontDifferentiator.cs
- PathSegment.cs
- Byte.cs
- TrackingStringDictionary.cs
- OutputCacheSettings.cs
- FormsAuthenticationUserCollection.cs
- ViewgenGatekeeper.cs
- ErrorTableItemStyle.cs
- CompilerGeneratedAttribute.cs
- RegionIterator.cs
- SqlUserDefinedTypeAttribute.cs
- Tokenizer.cs
- MessageSecurityOverHttp.cs
- HybridDictionary.cs
- ScriptServiceAttribute.cs
- CodeTypeDeclaration.cs
- ReadWriteSpinLock.cs
- StrongNameKeyPair.cs
- DataServiceQueryProvider.cs
- SoundPlayer.cs
- DelimitedListTraceListener.cs
- Win32PrintDialog.cs
- OletxResourceManager.cs
- HttpHeaderCollection.cs
- MetadataUtilsSmi.cs
- EntityContainerEntitySetDefiningQuery.cs
- SqlDependency.cs
- HScrollBar.cs
- ColumnBinding.cs
- GPRECT.cs
- Solver.cs
- DataServiceKeyAttribute.cs
- AppDomainManager.cs
- NullableIntAverageAggregationOperator.cs
- TextDecorationLocationValidation.cs
- RepeatButtonAutomationPeer.cs
- SortableBindingList.cs
- XmlnsCompatibleWithAttribute.cs
- ClientUtils.cs
- Int32RectConverter.cs
- ProviderConnectionPointCollection.cs
- Calendar.cs
- BevelBitmapEffect.cs
- SelectedDatesCollection.cs
- NumberSubstitution.cs
- EntityDescriptor.cs
- SolidColorBrush.cs
- PcmConverter.cs
- AuthenticatingEventArgs.cs
- Rule.cs
- WebRequestModuleElement.cs
- RequestDescription.cs
- DCSafeHandle.cs
- XmlConverter.cs
- PaperSource.cs
- XsltQilFactory.cs
- compensatingcollection.cs
- GPRECT.cs
- OdbcConnectionOpen.cs
- NativeMethods.cs
- ResourcePermissionBaseEntry.cs
- ArcSegment.cs
- AffineTransform3D.cs
- ButtonField.cs
- FormView.cs
- COM2ComponentEditor.cs
- CacheDict.cs
- Pkcs9Attribute.cs
- OdbcInfoMessageEvent.cs
- MaskInputRejectedEventArgs.cs
- ChannelSinkStacks.cs
- WebConvert.cs
- Bidi.cs
- ColumnMapTranslator.cs
- TrustManagerPromptUI.cs
- KeyNotFoundException.cs
- PartitionResolver.cs
- IChannel.cs
- SafeHandles.cs
- BooleanExpr.cs
- DataGridViewBindingCompleteEventArgs.cs
- Main.cs
- VideoDrawing.cs
- WeakReferenceEnumerator.cs
- VisualStyleRenderer.cs
- BaseDataBoundControl.cs
- DataGridViewColumnHeaderCell.cs
- WindowsSysHeader.cs
- TablePattern.cs
- BrowsableAttribute.cs
- SharedUtils.cs
- EventWaitHandle.cs
- XmlLinkedNode.cs
- Point3DAnimation.cs
- AssemblyAttributesGoHere.cs