Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayRankMismatchException.cs / 1 / 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); } 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); } 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
- CorrelationExtension.cs
- RankException.cs
- UnauthorizedWebPart.cs
- ContextInformation.cs
- XmlDataProvider.cs
- MouseEvent.cs
- StringFreezingAttribute.cs
- ListenerElementsCollection.cs
- UpDownEvent.cs
- PropertyItem.cs
- TimelineGroup.cs
- Action.cs
- ResizeGrip.cs
- SafeFileMappingHandle.cs
- HttpListenerContext.cs
- TextElementAutomationPeer.cs
- KeyTime.cs
- TreeNodeStyle.cs
- Dictionary.cs
- CompilationSection.cs
- ResetableIterator.cs
- SqlCommandBuilder.cs
- EntityTypeEmitter.cs
- UserPersonalizationStateInfo.cs
- MsmqOutputMessage.cs
- Vector3DAnimation.cs
- WebConfigurationHostFileChange.cs
- DefaultParameterValueAttribute.cs
- RelationshipManager.cs
- WebCategoryAttribute.cs
- WebSysDefaultValueAttribute.cs
- WebPartActionVerb.cs
- DateBoldEvent.cs
- UnknownWrapper.cs
- FileNotFoundException.cs
- DataGridViewComboBoxEditingControl.cs
- ContainerCodeDomSerializer.cs
- RelationshipConverter.cs
- validation.cs
- FontEmbeddingManager.cs
- XmlNodeReader.cs
- HttpApplication.cs
- XhtmlBasicObjectListAdapter.cs
- XmlSerializerVersionAttribute.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ManualResetEventSlim.cs
- OutputCacheProfile.cs
- DoubleStorage.cs
- HelpKeywordAttribute.cs
- OracleLob.cs
- ToolStripSplitStackLayout.cs
- BrowserCapabilitiesCodeGenerator.cs
- Clipboard.cs
- Invariant.cs
- HebrewNumber.cs
- Config.cs
- XmlCharCheckingWriter.cs
- ResXDataNode.cs
- SHA384.cs
- BaseAddressPrefixFilterElementCollection.cs
- XmlValueConverter.cs
- HtmlShimManager.cs
- RegionData.cs
- XmlSchemaSubstitutionGroup.cs
- EntityDataSourceDataSelection.cs
- EntityDataSourceUtil.cs
- DirectionalAction.cs
- UrlMappingsModule.cs
- Compensate.cs
- PersonalizationDictionary.cs
- ListViewInsertedEventArgs.cs
- TTSEngineTypes.cs
- ElementsClipboardData.cs
- AtomContentProperty.cs
- WindowsFormsLinkLabel.cs
- AttributeCollection.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- Debug.cs
- TextCompositionManager.cs
- CollectionConverter.cs
- ScrollItemProviderWrapper.cs
- RtfToXamlLexer.cs
- EventPrivateKey.cs
- FixedSOMContainer.cs
- TagPrefixCollection.cs
- Helper.cs
- ConfigurationManagerInternalFactory.cs
- Blend.cs
- DispatcherFrame.cs
- XamlSerializerUtil.cs
- FastPropertyAccessor.cs
- EventMappingSettingsCollection.cs
- IPEndPoint.cs
- Int64KeyFrameCollection.cs
- ThemeDictionaryExtension.cs
- StreamGeometry.cs
- CounterSet.cs
- TextBoxBase.cs
- InfiniteTimeSpanConverter.cs
- ListCardsInFileRequest.cs