Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MILUtilities.cs
- DirectoryInfo.cs
- NativeMethods.cs
- ChangeTracker.cs
- LinkConverter.cs
- DisplayInformation.cs
- SortDescription.cs
- SchemaObjectWriter.cs
- Style.cs
- FusionWrap.cs
- RuntimeConfig.cs
- TrailingSpaceComparer.cs
- ConfigXmlComment.cs
- DesignerForm.cs
- AlgoModule.cs
- ResourceReferenceExpressionConverter.cs
- StructuralType.cs
- PartialCachingControl.cs
- FontFamilyIdentifier.cs
- DocumentSequenceHighlightLayer.cs
- HostVisual.cs
- SafeSecurityHandles.cs
- BitmapEffectDrawingContent.cs
- RemoteWebConfigurationHost.cs
- MailFileEditor.cs
- ObjectDataSource.cs
- CompilerParameters.cs
- HttpConfigurationSystem.cs
- BorderGapMaskConverter.cs
- ConstraintEnumerator.cs
- WebContext.cs
- NullReferenceException.cs
- VSDExceptions.cs
- StructuredProperty.cs
- ColumnResizeAdorner.cs
- _SSPIWrapper.cs
- TemplateLookupAction.cs
- BulletDecorator.cs
- NativeStructs.cs
- HebrewNumber.cs
- UIntPtr.cs
- ListViewSortEventArgs.cs
- HtmlUtf8RawTextWriter.cs
- ProviderException.cs
- IdentityModelDictionary.cs
- UInt32Converter.cs
- PerformanceCounterPermission.cs
- ConnectionManagementSection.cs
- GlyphInfoList.cs
- StylusButtonEventArgs.cs
- TableAdapterManagerMethodGenerator.cs
- HtmlImage.cs
- TextSimpleMarkerProperties.cs
- CollectionView.cs
- SemanticBasicElement.cs
- OleAutBinder.cs
- ApplicationTrust.cs
- TabRenderer.cs
- HandoffBehavior.cs
- Literal.cs
- OAVariantLib.cs
- XmlSerializerSection.cs
- VariantWrapper.cs
- ImportCatalogPart.cs
- SecuritySessionSecurityTokenProvider.cs
- DrawTreeNodeEventArgs.cs
- DataGridViewRowPrePaintEventArgs.cs
- ExpressionList.cs
- MasterPageParser.cs
- XmlSchemaSequence.cs
- CustomAttributeBuilder.cs
- MediaTimeline.cs
- XsltContext.cs
- GeneratedContractType.cs
- ObjectDataSourceEventArgs.cs
- BaseCodePageEncoding.cs
- DynamicActivityXamlReader.cs
- ThreadAttributes.cs
- SqlVisitor.cs
- WebPartCollection.cs
- LinqDataSourceInsertEventArgs.cs
- EraserBehavior.cs
- CompilerCollection.cs
- AddingNewEventArgs.cs
- InvalidateEvent.cs
- BamlResourceSerializer.cs
- Command.cs
- WebHeaderCollection.cs
- CounterSample.cs
- Timer.cs
- SmiEventSink_DeferedProcessing.cs
- Cloud.cs
- TemplatedMailWebEventProvider.cs
- RadioButton.cs
- PointConverter.cs
- categoryentry.cs
- DateTimeOffsetStorage.cs
- XmlILOptimizerVisitor.cs
- ConditionValidator.cs
- EdmEntityTypeAttribute.cs