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
- XmlDataSourceNodeDescriptor.cs
- CriticalExceptions.cs
- NameHandler.cs
- KoreanCalendar.cs
- ContentFileHelper.cs
- ClusterRegistryConfigurationProvider.cs
- DesignTimeHTMLTextWriter.cs
- TemplateColumn.cs
- CredentialCache.cs
- WebPartEditVerb.cs
- CommandID.cs
- _AutoWebProxyScriptEngine.cs
- XmlSchemaInfo.cs
- EdgeProfileValidation.cs
- RuleDefinitions.cs
- UnmanagedMemoryStreamWrapper.cs
- NativeObjectSecurity.cs
- AssemblyBuilder.cs
- TextDecorationCollectionConverter.cs
- FixedSOMFixedBlock.cs
- ToolboxItemFilterAttribute.cs
- FreezableCollection.cs
- updatecommandorderer.cs
- ViewStateModeByIdAttribute.cs
- COM2FontConverter.cs
- XmlReturnWriter.cs
- ApplicationInfo.cs
- RemotingHelper.cs
- WebPartEditorCancelVerb.cs
- TypeName.cs
- EncryptedPackageFilter.cs
- GridViewCellAutomationPeer.cs
- StickyNote.cs
- FtpWebResponse.cs
- LZCodec.cs
- SafeCloseHandleCritical.cs
- ConfigXmlReader.cs
- VBIdentifierTrimConverter.cs
- SystemTcpConnection.cs
- Type.cs
- Condition.cs
- HwndSource.cs
- HitTestResult.cs
- PriorityChain.cs
- ThemeDictionaryExtension.cs
- FileDetails.cs
- OracleTimeSpan.cs
- SignedInfo.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- MultilineStringEditor.cs
- WindowInteropHelper.cs
- SelectionPattern.cs
- GlobalAclOperationRequirement.cs
- ListBindableAttribute.cs
- PeerTransportSecurityElement.cs
- Imaging.cs
- SafeFileMappingHandle.cs
- IFlowDocumentViewer.cs
- SiteMembershipCondition.cs
- Helpers.cs
- NotifyParentPropertyAttribute.cs
- FontSourceCollection.cs
- PolygonHotSpot.cs
- SchemaImporterExtensionsSection.cs
- Converter.cs
- FormViewUpdatedEventArgs.cs
- SqlNodeAnnotation.cs
- XamlNamespaceHelper.cs
- WasNotInstalledException.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- PhoneCall.cs
- LinearQuaternionKeyFrame.cs
- SqlMethodAttribute.cs
- TextFormatterContext.cs
- RoleManagerModule.cs
- Point3D.cs
- AspNetSynchronizationContext.cs
- GradientBrush.cs
- StatusBar.cs
- DataGridViewCheckBoxColumn.cs
- ToolZone.cs
- NotFiniteNumberException.cs
- ToolStripDesigner.cs
- LayoutTable.cs
- SqlMultiplexer.cs
- XsdDateTime.cs
- DataServiceContext.cs
- ToolboxSnapDragDropEventArgs.cs
- Encoder.cs
- HyperLinkField.cs
- ObjectHelper.cs
- QuaternionRotation3D.cs
- NavigationExpr.cs
- XamlClipboardData.cs
- CrossAppDomainChannel.cs
- SaveWorkflowAsyncResult.cs
- ObjectComplexPropertyMapping.cs
- SrgsRule.cs
- MsmqBindingMonitor.cs
- ProvidersHelper.cs