Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlTextArea.cs
- SafeReversePInvokeHandle.cs
- SamlSecurityTokenAuthenticator.cs
- ImageSourceConverter.cs
- BitStream.cs
- OdbcPermission.cs
- StandardToolWindows.cs
- EncoderFallback.cs
- VisualStateManager.cs
- DependencyObjectValidator.cs
- SqlExpressionNullability.cs
- ConfigurationLocationCollection.cs
- TextModifierScope.cs
- WaitHandleCannotBeOpenedException.cs
- DataGridCaption.cs
- FileStream.cs
- FunctionNode.cs
- ProfileSettingsCollection.cs
- DbMetaDataFactory.cs
- InputReport.cs
- IChannel.cs
- WebControlAdapter.cs
- AnnotationHelper.cs
- SafeMemoryMappedFileHandle.cs
- UpDownEvent.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- RefExpr.cs
- ChameleonKey.cs
- Tracking.cs
- CompModSwitches.cs
- SchemaComplexType.cs
- LogWriteRestartAreaAsyncResult.cs
- ScalarOps.cs
- SafeHandles.cs
- ControlBuilderAttribute.cs
- TextTreePropertyUndoUnit.cs
- FastEncoder.cs
- Command.cs
- TextElement.cs
- CodeIdentifier.cs
- HostedElements.cs
- IntSecurity.cs
- StringUtil.cs
- EncodingDataItem.cs
- ReadOnlyCollection.cs
- TextElement.cs
- SafeEventLogReadHandle.cs
- ExternalException.cs
- TypeDependencyAttribute.cs
- PersistencePipeline.cs
- UserNameSecurityTokenProvider.cs
- RadialGradientBrush.cs
- VideoDrawing.cs
- TreeSet.cs
- OleDbException.cs
- WebPartHeaderCloseVerb.cs
- InkCanvasSelection.cs
- ScriptControl.cs
- TemplateComponentConnector.cs
- DisplayInformation.cs
- MatrixTransform.cs
- NavigateEvent.cs
- DataGridViewRowHeaderCell.cs
- DataGridViewColumnEventArgs.cs
- NoneExcludedImageIndexConverter.cs
- IsolatedStoragePermission.cs
- DragStartedEventArgs.cs
- RsaSecurityTokenAuthenticator.cs
- WhiteSpaceTrimStringConverter.cs
- CodeGenerator.cs
- Hash.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SafeProcessHandle.cs
- RouteTable.cs
- IdentitySection.cs
- ProtocolElementCollection.cs
- XhtmlCssHandler.cs
- MgmtResManager.cs
- ConfigUtil.cs
- RectKeyFrameCollection.cs
- RoutingTable.cs
- Rules.cs
- DataGridViewComboBoxColumn.cs
- ControlCollection.cs
- InvalidPrinterException.cs
- LayoutSettings.cs
- HtmlTable.cs
- TypeDescriptionProviderAttribute.cs
- TypeDelegator.cs
- OrderedDictionaryStateHelper.cs
- CompositeFontFamily.cs
- SchemaNames.cs
- securestring.cs
- ImageAnimator.cs
- FunctionCommandText.cs
- ColumnMapCopier.cs
- TransportBindingElement.cs
- BookmarkScopeManager.cs
- FixUpCollection.cs
- SqlDataSourceStatusEventArgs.cs