Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // 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); } 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
- SvcFileManager.cs
- MethodAccessException.cs
- SoapClientProtocol.cs
- CodeConstructor.cs
- DocumentReferenceCollection.cs
- PtsCache.cs
- DbFunctionCommandTree.cs
- MatrixTransform3D.cs
- XmlValueConverter.cs
- NativeRecognizer.cs
- BinarySerializer.cs
- RelativeSource.cs
- SecureUICommand.cs
- MembershipValidatePasswordEventArgs.cs
- SimpleBitVector32.cs
- CqlErrorHelper.cs
- ListViewCancelEventArgs.cs
- SR.Designer.cs
- GenericUI.cs
- ApplicationDirectory.cs
- ReverseQueryOperator.cs
- LongAverageAggregationOperator.cs
- TCPListener.cs
- Clipboard.cs
- TreeWalker.cs
- VisualBasic.cs
- TextProperties.cs
- ThrowHelper.cs
- TimeStampChecker.cs
- TableAutomationPeer.cs
- EventItfInfo.cs
- HttpValueCollection.cs
- WebServiceData.cs
- RequestBringIntoViewEventArgs.cs
- PointAnimationUsingKeyFrames.cs
- InternalControlCollection.cs
- CapacityStreamGeometryContext.cs
- SqlConnectionStringBuilder.cs
- SafeFileMappingHandle.cs
- DefaultValidator.cs
- LazyTextWriterCreator.cs
- Annotation.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- AdRotator.cs
- LinearGradientBrush.cs
- SoapAttributeOverrides.cs
- ErrorProvider.cs
- ping.cs
- InputMethodStateChangeEventArgs.cs
- HandoffBehavior.cs
- DesignerAttribute.cs
- DropShadowBitmapEffect.cs
- FormsAuthenticationTicket.cs
- DisposableCollectionWrapper.cs
- CustomWebEventKey.cs
- SHA384Cng.cs
- RolePrincipal.cs
- ColumnResizeUndoUnit.cs
- HttpCapabilitiesBase.cs
- ContainerVisual.cs
- SrgsRule.cs
- FrameworkElementFactoryMarkupObject.cs
- Attributes.cs
- AdapterSwitches.cs
- ChannelHandler.cs
- ListenerSessionConnection.cs
- XPathBinder.cs
- HtmlMeta.cs
- TextTreeTextBlock.cs
- WriteTimeStream.cs
- Calendar.cs
- SqlCacheDependencySection.cs
- NativeMethods.cs
- DateTimeFormatInfo.cs
- X500Name.cs
- BinaryKeyIdentifierClause.cs
- SplineKeyFrames.cs
- HttpRequest.cs
- QueryResultOp.cs
- TableLayoutSettings.cs
- TransformProviderWrapper.cs
- Int32Animation.cs
- CustomAttribute.cs
- DesigntimeLicenseContextSerializer.cs
- UpdateCompiler.cs
- EdmMember.cs
- VirtualDirectoryMapping.cs
- HMACRIPEMD160.cs
- BinaryNegotiation.cs
- PrintController.cs
- DockPattern.cs
- WebRequestModuleElement.cs
- CodeArrayCreateExpression.cs
- LineVisual.cs
- ProviderBase.cs
- HtmlImage.cs
- GroupBox.cs
- MenuScrollingVisibilityConverter.cs
- HandleCollector.cs