Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayRankMismatchException.cs / 1305376 / SafeArrayRankMismatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SafeArrayRankMismatchException ** ** Purpose: This exception is thrown when the runtime rank of a safe array ** is different than the array rank specified in the metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayRankMismatchException : SystemException { public SafeArrayRankMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } [System.Security.SecuritySafeCritical] // auto-generated protected SafeArrayRankMismatchException(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: SafeArrayRankMismatchException ** ** Purpose: This exception is thrown when the runtime rank of a safe array ** is different than the array rank specified in the metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayRankMismatchException : SystemException { public SafeArrayRankMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } [System.Security.SecuritySafeCritical] // auto-generated protected SafeArrayRankMismatchException(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
- Invariant.cs
- SocketInformation.cs
- WizardPanelChangingEventArgs.cs
- TextBox.cs
- XmlMembersMapping.cs
- SimpleLine.cs
- DetailsViewUpdatedEventArgs.cs
- MappingException.cs
- DbDataRecord.cs
- RegexCaptureCollection.cs
- DbCommandTree.cs
- AssociationSetMetadata.cs
- GroupDescription.cs
- HostingEnvironmentSection.cs
- DatatypeImplementation.cs
- SqlRemoveConstantOrderBy.cs
- SoapClientMessage.cs
- HashCoreRequest.cs
- IUnknownConstantAttribute.cs
- DataObjectEventArgs.cs
- SiteOfOriginContainer.cs
- IntegrationExceptionEventArgs.cs
- OperatingSystem.cs
- TemplatedWizardStep.cs
- BulletChrome.cs
- _AutoWebProxyScriptEngine.cs
- PointCollection.cs
- Compiler.cs
- RemoteWebConfigurationHostServer.cs
- Variable.cs
- FrameworkElementFactory.cs
- PopupRootAutomationPeer.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ConditionalAttribute.cs
- DataProtection.cs
- Int32AnimationBase.cs
- SchemaHelper.cs
- WindowsFormsHelpers.cs
- BooleanStorage.cs
- SQLInt16.cs
- TransactionManager.cs
- WebMessageBodyStyleHelper.cs
- ChangeDirector.cs
- CollectionAdapters.cs
- ConfigXmlComment.cs
- ContractSearchPattern.cs
- InternalMappingException.cs
- DataKeyCollection.cs
- GeneralTransform.cs
- FixUp.cs
- DataKeyArray.cs
- Random.cs
- AssociationType.cs
- OracleCommandBuilder.cs
- DeploymentSection.cs
- MembershipUser.cs
- GifBitmapEncoder.cs
- OracleSqlParser.cs
- Rfc2898DeriveBytes.cs
- ClientClassGenerator.cs
- CompiledELinqQueryState.cs
- DynamicArgumentDialog.cs
- BoundsDrawingContextWalker.cs
- GeometryCollection.cs
- RequestResizeEvent.cs
- PrimaryKeyTypeConverter.cs
- PathData.cs
- SkinIDTypeConverter.cs
- XamlReaderConstants.cs
- UpdateCommandGenerator.cs
- DataListItemCollection.cs
- MarkerProperties.cs
- HttpPostedFile.cs
- XmlSchemaSet.cs
- MenuItemBinding.cs
- LinqDataSourceContextEventArgs.cs
- CurrentChangedEventManager.cs
- DebuggerAttributes.cs
- DataGridPageChangedEventArgs.cs
- FunctionImportElement.cs
- QilScopedVisitor.cs
- DbModificationClause.cs
- ManagementOperationWatcher.cs
- UniqueIdentifierService.cs
- MenuCommand.cs
- TypeValidationEventArgs.cs
- ApplicationServicesHostFactory.cs
- HttpModuleAction.cs
- SendMailErrorEventArgs.cs
- FlowLayoutSettings.cs
- MimeReflector.cs
- FileSecurity.cs
- MethodRental.cs
- EnvironmentPermission.cs
- Debug.cs
- HostProtectionException.cs
- ObjectManager.cs
- hresults.cs
- MarkupCompilePass1.cs
- DbReferenceCollection.cs