Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- LinkAreaEditor.cs
- PageThemeParser.cs
- WindowsRichEditRange.cs
- LinqDataSourceContextEventArgs.cs
- CircleHotSpot.cs
- ArgumentValueSerializer.cs
- UrlAuthFailedErrorFormatter.cs
- StrokeNodeEnumerator.cs
- DataStorage.cs
- WorkflowDispatchContext.cs
- ScriptResourceAttribute.cs
- OLEDB_Util.cs
- DynamicFilter.cs
- AuthorizationSection.cs
- TransportationConfigurationTypeInstallComponent.cs
- LZCodec.cs
- SortExpressionBuilder.cs
- EditorAttribute.cs
- EntityDataSourceConfigureObjectContext.cs
- OperatorExpressions.cs
- ObjectReaderCompiler.cs
- UIInitializationException.cs
- RecordsAffectedEventArgs.cs
- PartDesigner.cs
- ProcessActivityTreeOptions.cs
- TextEffect.cs
- ParenthesizePropertyNameAttribute.cs
- PassportAuthenticationModule.cs
- ExpressionLexer.cs
- DataGridColumnHeaderCollection.cs
- Registry.cs
- NotFiniteNumberException.cs
- MemberAccessException.cs
- sqlinternaltransaction.cs
- PriorityBinding.cs
- Wildcard.cs
- OdbcRowUpdatingEvent.cs
- LogoValidationException.cs
- MenuAdapter.cs
- MatrixCamera.cs
- OdbcConnectionPoolProviderInfo.cs
- XmlDataProvider.cs
- SoapIgnoreAttribute.cs
- XpsStructure.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- HttpException.cs
- TextTreeTextElementNode.cs
- WindowsUpDown.cs
- BitmapData.cs
- VolatileResourceManager.cs
- RefreshEventArgs.cs
- Identity.cs
- Debugger.cs
- Icon.cs
- PersistStreamTypeWrapper.cs
- ResourceReferenceKeyNotFoundException.cs
- MenuRendererClassic.cs
- RegexTree.cs
- GridPatternIdentifiers.cs
- DesignerForm.cs
- ClrPerspective.cs
- WebConfigurationFileMap.cs
- ListSourceHelper.cs
- StackBuilderSink.cs
- HtmlAnchor.cs
- GeneratedContractType.cs
- EntitySqlQueryBuilder.cs
- BamlResourceContent.cs
- __Filters.cs
- CodeSnippetTypeMember.cs
- SerializationAttributes.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- DictionaryBase.cs
- Bold.cs
- StretchValidation.cs
- X509Utils.cs
- PtsContext.cs
- ByeMessageApril2005.cs
- SignedInfo.cs
- LoggedException.cs
- XsltLoader.cs
- BinaryMessageEncodingElement.cs
- GridErrorDlg.cs
- SqlGenerator.cs
- SectionVisual.cs
- PassportIdentity.cs
- PackUriHelper.cs
- StorageMappingFragment.cs
- SynchronizedDispatch.cs
- ManagedFilter.cs
- PeerNameRegistration.cs
- BaseTemplateCodeDomTreeGenerator.cs
- AssemblyCache.cs
- DataKey.cs
- SingleConverter.cs
- ObjectItemCollection.cs
- ImageBrush.cs
- KeyInterop.cs
- XamlPathDataSerializer.cs
- TableCellsCollectionEditor.cs