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
- DataGridParentRows.cs
- Predicate.cs
- Panel.cs
- DNS.cs
- ConfigurationErrorsException.cs
- SequentialOutput.cs
- ForwardPositionQuery.cs
- CompositeFontParser.cs
- UriSection.cs
- EventLog.cs
- XmlEventCache.cs
- ComEventsMethod.cs
- EdmProperty.cs
- BitmapPalette.cs
- AppDomainInfo.cs
- EnvelopedPkcs7.cs
- UnauthorizedWebPart.cs
- ConsumerConnectionPoint.cs
- SelectorAutomationPeer.cs
- XamlWriter.cs
- SecurityElement.cs
- SqlClientPermission.cs
- SqlMethods.cs
- TransformGroup.cs
- DbConnectionStringCommon.cs
- CommandSet.cs
- OleDbPropertySetGuid.cs
- safemediahandle.cs
- XmlDataImplementation.cs
- TypeHelper.cs
- HttpInputStream.cs
- CodeTypeDeclarationCollection.cs
- ButtonStandardAdapter.cs
- StylusButtonCollection.cs
- QueuePathDialog.cs
- ChangeTracker.cs
- ThemeableAttribute.cs
- TextParaLineResult.cs
- DictionaryManager.cs
- SmiXetterAccessMap.cs
- HtmlToClrEventProxy.cs
- Constraint.cs
- StringFreezingAttribute.cs
- MasterPageParser.cs
- MdiWindowListItemConverter.cs
- SerialPort.cs
- GeneralTransform3DGroup.cs
- ClassicBorderDecorator.cs
- SimpleTableProvider.cs
- ContainerParaClient.cs
- WebPartDescription.cs
- CompilerGlobalScopeAttribute.cs
- ValueTypeFixupInfo.cs
- SplineQuaternionKeyFrame.cs
- PropertyDescriptors.cs
- EditingScope.cs
- XXXOnTypeBuilderInstantiation.cs
- FormatVersion.cs
- FieldBuilder.cs
- WorkflowInstanceExtensionManager.cs
- NamespaceDecl.cs
- DataRelationCollection.cs
- VScrollBar.cs
- JavascriptCallbackResponseProperty.cs
- ObjectMaterializedEventArgs.cs
- SecuritySessionClientSettings.cs
- HexParser.cs
- PrimitiveDataContract.cs
- PrivilegeNotHeldException.cs
- DataGridViewIntLinkedList.cs
- FormClosedEvent.cs
- DataRowView.cs
- GridViewUpdateEventArgs.cs
- DesignerRegionCollection.cs
- URLMembershipCondition.cs
- Regex.cs
- AuthenticationService.cs
- ExpressionDumper.cs
- LineGeometry.cs
- ImageAutomationPeer.cs
- TargetControlTypeAttribute.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- filewebrequest.cs
- DefaultEvaluationContext.cs
- DataGridViewCellFormattingEventArgs.cs
- Int64.cs
- DataKeyPropertyAttribute.cs
- SdlChannelSink.cs
- ImportContext.cs
- CounterSet.cs
- Primitive.cs
- ColorAnimationUsingKeyFrames.cs
- CodeNamespaceCollection.cs
- StringDictionaryEditor.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- CodeAccessSecurityEngine.cs
- XmlnsPrefixAttribute.cs
- IsolatedStorageFile.cs
- TitleStyle.cs
- EntityCodeGenerator.cs