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
- SortedList.cs
- ListDataHelper.cs
- UxThemeWrapper.cs
- DrawingContextWalker.cs
- GlobalItem.cs
- DockPanel.cs
- SmiConnection.cs
- ViewRendering.cs
- TextBox.cs
- NotImplementedException.cs
- SqlServices.cs
- PersonalizablePropertyEntry.cs
- DeadCharTextComposition.cs
- List.cs
- KeyGestureConverter.cs
- ComboBoxAutomationPeer.cs
- DesignerForm.cs
- ScrollViewer.cs
- AssertSection.cs
- ConsoleTraceListener.cs
- MatcherBuilder.cs
- SectionVisual.cs
- AnnotationAdorner.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- NullableLongMinMaxAggregationOperator.cs
- ContextDataSourceContextData.cs
- Symbol.cs
- XmlTextEncoder.cs
- WebDescriptionAttribute.cs
- AssemblyResourceLoader.cs
- XmlEnumAttribute.cs
- StylusButton.cs
- ModelTypeConverter.cs
- Hyperlink.cs
- TagMapInfo.cs
- SoapUnknownHeader.cs
- WebPartExportVerb.cs
- Enum.cs
- CorrelationManager.cs
- PathGeometry.cs
- XsdCachingReader.cs
- DataSetMappper.cs
- SqlStatistics.cs
- FtpCachePolicyElement.cs
- HandlerFactoryCache.cs
- ResXResourceSet.cs
- ParsedAttributeCollection.cs
- ChangeDirector.cs
- ExpandoClass.cs
- DependencyObjectPropertyDescriptor.cs
- Types.cs
- MsmqIntegrationMessagePool.cs
- UIElement3D.cs
- ExpressionBuilder.cs
- QilXmlWriter.cs
- ParameterBinding.cs
- SystemKeyConverter.cs
- Helper.cs
- FragmentQuery.cs
- ToolboxItemAttribute.cs
- BooleanToVisibilityConverter.cs
- SqlRewriteScalarSubqueries.cs
- ConfigurationCollectionAttribute.cs
- FlowDocumentPaginator.cs
- ContentPlaceHolder.cs
- ButtonChrome.cs
- FormDocumentDesigner.cs
- Freezable.cs
- SchemaNotation.cs
- NonPrimarySelectionGlyph.cs
- XmlNotation.cs
- SourceItem.cs
- DataGridViewCheckBoxColumn.cs
- HtmlForm.cs
- NameValueSectionHandler.cs
- ToolStripArrowRenderEventArgs.cs
- GeometryValueSerializer.cs
- CodeDomConfigurationHandler.cs
- AdornerDecorator.cs
- _KerberosClient.cs
- OnOperation.cs
- ItemCheckEvent.cs
- AppDomainUnloadedException.cs
- GeneralTransform3DTo2D.cs
- ExportOptions.cs
- SimpleBitVector32.cs
- BindToObject.cs
- GeometryGroup.cs
- EdmItemCollection.cs
- ParameterModifier.cs
- PropertyGroupDescription.cs
- PreApplicationStartMethodAttribute.cs
- PathFigureCollectionConverter.cs
- FacetChecker.cs
- TimeIntervalCollection.cs
- DispatcherFrame.cs
- DataBoundControlHelper.cs
- RawUIStateInputReport.cs
- BitmapEffectDrawingContent.cs
- GPPOINTF.cs