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
- EntityDataSourceContextCreatedEventArgs.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- RenderingBiasValidation.cs
- ProviderUtil.cs
- ComponentResourceKey.cs
- ErrorWrapper.cs
- IssuedSecurityTokenProvider.cs
- ExecutionContext.cs
- Permission.cs
- NetStream.cs
- BrushConverter.cs
- RawStylusSystemGestureInputReport.cs
- MarkupCompilePass2.cs
- HttpProfileGroupBase.cs
- RouteItem.cs
- AccessViolationException.cs
- EntitySetBaseCollection.cs
- PrinterResolution.cs
- StylusLogic.cs
- SoapTypeAttribute.cs
- RegistrySecurity.cs
- Privilege.cs
- RuleSettingsCollection.cs
- ToolStripPanel.cs
- SystemIPv6InterfaceProperties.cs
- LinkButton.cs
- NameSpaceEvent.cs
- DefaultTextStore.cs
- BitmapEffectrendercontext.cs
- BaseDataBoundControl.cs
- ScriptControl.cs
- AttributeCollection.cs
- MetadataWorkspace.cs
- NamedPipeChannelFactory.cs
- TextSelection.cs
- WebSysDescriptionAttribute.cs
- StorageModelBuildProvider.cs
- BindingValueChangedEventArgs.cs
- Source.cs
- BaseResourcesBuildProvider.cs
- PreviewPrintController.cs
- _SslStream.cs
- CaretElement.cs
- ScriptMethodAttribute.cs
- XmlWrappingReader.cs
- SspiHelper.cs
- TreeView.cs
- PersistenceTask.cs
- SafeIUnknown.cs
- CounterSetInstance.cs
- PersonalizationStateInfoCollection.cs
- Visitors.cs
- ComboBox.cs
- LineBreakRecord.cs
- RecognizeCompletedEventArgs.cs
- MediaSystem.cs
- XsdDateTime.cs
- ColorIndependentAnimationStorage.cs
- EventInfo.cs
- TemplateBuilder.cs
- OleDbException.cs
- DependencyPropertyConverter.cs
- EntityDataSourceChangingEventArgs.cs
- ToolStripContentPanel.cs
- NestedContainer.cs
- ContainerParagraph.cs
- Expression.cs
- ObjectViewEntityCollectionData.cs
- ListControlConvertEventArgs.cs
- InterleavedZipPartStream.cs
- ConnectionProviderAttribute.cs
- TableChangeProcessor.cs
- EnumerationRangeValidationUtil.cs
- SecurityVersion.cs
- HttpRequest.cs
- SqlTriggerAttribute.cs
- ComUdtElement.cs
- DataGridViewColumn.cs
- BackStopAuthenticationModule.cs
- EncryptedKey.cs
- ResolveCriteriaCD1.cs
- SmiEventStream.cs
- DataGridViewCell.cs
- ConfigurationSectionGroup.cs
- listitem.cs
- CryptoKeySecurity.cs
- GACMembershipCondition.cs
- ExtendedProtectionPolicy.cs
- KeyedQueue.cs
- SecurityBindingElement.cs
- cookieexception.cs
- FontFamilyIdentifier.cs
- TextTreeText.cs
- ConfigurationLocation.cs
- TextSelectionHelper.cs
- X509RecipientCertificateServiceElement.cs
- ClrProviderManifest.cs
- SRDisplayNameAttribute.cs
- MD5CryptoServiceProvider.cs
- ArgumentsParser.cs