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
- Operand.cs
- dataobject.cs
- FlowDocumentPageViewerAutomationPeer.cs
- TextEffect.cs
- StringSource.cs
- UnsafeNativeMethods.cs
- TextEditorSpelling.cs
- ForeignKeyConstraint.cs
- HtmlTableCell.cs
- WmlLiteralTextAdapter.cs
- ExpressionBindingsDialog.cs
- XmlUtilWriter.cs
- EmbossBitmapEffect.cs
- DateRangeEvent.cs
- TextEffectCollection.cs
- HitTestWithPointDrawingContextWalker.cs
- WindowsToolbar.cs
- MaskedTextBox.cs
- LocalizableResourceBuilder.cs
- DBSqlParserColumn.cs
- securitycriticaldataClass.cs
- PeerApplication.cs
- Token.cs
- ClientSession.cs
- PtsContext.cs
- DataTable.cs
- Types.cs
- ServiceControllerDesigner.cs
- SafeThreadHandle.cs
- EventLogEntry.cs
- Content.cs
- Command.cs
- HtmlPhoneCallAdapter.cs
- CustomAttribute.cs
- CategoryAttribute.cs
- FamilyCollection.cs
- WaitingCursor.cs
- InstanceDataCollection.cs
- ArgIterator.cs
- PointLight.cs
- ZipIOExtraFieldElement.cs
- Profiler.cs
- ConnectionsZoneDesigner.cs
- SessionIDManager.cs
- TypeValidationEventArgs.cs
- SettingsPropertyValue.cs
- GridViewSortEventArgs.cs
- LineSegment.cs
- EnvironmentPermission.cs
- PeerTransportListenAddressValidator.cs
- GridViewDeleteEventArgs.cs
- ISAPIRuntime.cs
- ClrPerspective.cs
- Matrix3D.cs
- SharedConnectionWorkflowTransactionService.cs
- ValidatingPropertiesEventArgs.cs
- OneWayBindingElement.cs
- PersonalizableAttribute.cs
- CapabilitiesAssignment.cs
- HMAC.cs
- WarningException.cs
- MailHeaderInfo.cs
- WriterOutput.cs
- CheckBoxAutomationPeer.cs
- NavigationExpr.cs
- ApplicationCommands.cs
- Fonts.cs
- NumberFormatInfo.cs
- BitmapInitialize.cs
- ResourceReferenceExpressionConverter.cs
- AssociationProvider.cs
- KeyNotFoundException.cs
- ScrollProviderWrapper.cs
- SspiHelper.cs
- SocketStream.cs
- VectorAnimationBase.cs
- EditorAttribute.cs
- GetResponse.cs
- TableCellAutomationPeer.cs
- TimeZoneInfo.cs
- AbandonedMutexException.cs
- ComponentCollection.cs
- BindingsSection.cs
- SystemResourceKey.cs
- StructuredTypeEmitter.cs
- SpecialNameAttribute.cs
- IDQuery.cs
- XpsS0ValidatingLoader.cs
- TableDetailsRow.cs
- EmptyControlCollection.cs
- ExpressionBinding.cs
- DBDataPermissionAttribute.cs
- CheckBoxAutomationPeer.cs
- TemplateControlParser.cs
- TextServicesContext.cs
- CommonRemoteMemoryBlock.cs
- DesignTimeVisibleAttribute.cs
- SequenceDesignerAccessibleObject.cs
- SingleTagSectionHandler.cs
- XmlWriterTraceListener.cs