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
- Msec.cs
- MessageEncodingBindingElementImporter.cs
- DynamicPropertyReader.cs
- BitmapFrame.cs
- DelegateTypeInfo.cs
- MultiBindingExpression.cs
- ModelServiceImpl.cs
- FilterableData.cs
- MemoryFailPoint.cs
- OrderedDictionary.cs
- ContextProperty.cs
- HtmlElementCollection.cs
- ModifierKeysConverter.cs
- WmlTextBoxAdapter.cs
- UIElement3D.cs
- FunctionImportMapping.cs
- PartitionResolver.cs
- ObjectParameterCollection.cs
- VisualTarget.cs
- BasicViewGenerator.cs
- ControlPropertyNameConverter.cs
- CachedPathData.cs
- DBSqlParserColumn.cs
- AggregateNode.cs
- ReflectionUtil.cs
- connectionpool.cs
- WebPartDisplayMode.cs
- PathFigureCollection.cs
- DataListAutoFormat.cs
- CodeTypeReferenceSerializer.cs
- PageAsyncTask.cs
- ExecutorLocksHeldException.cs
- BrowserCapabilitiesFactoryBase.cs
- MailMessageEventArgs.cs
- LambdaExpression.cs
- ServicePrincipalNameElement.cs
- PointAnimationUsingKeyFrames.cs
- StringFreezingAttribute.cs
- TypeConverterAttribute.cs
- TableLayoutPanelCodeDomSerializer.cs
- AssemblyResourceLoader.cs
- ConstNode.cs
- FontFamilyIdentifier.cs
- GraphicsContainer.cs
- FixedPageProcessor.cs
- bindurihelper.cs
- MemberProjectedSlot.cs
- PolicyManager.cs
- EditorAttribute.cs
- CryptoConfig.cs
- LogReservationCollection.cs
- WebServiceTypeData.cs
- UnknownBitmapEncoder.cs
- ValueUtilsSmi.cs
- Win32Exception.cs
- ContentElement.cs
- FileSystemWatcher.cs
- Statements.cs
- ExtendedProperty.cs
- ReadingWritingEntityEventArgs.cs
- ObjectDataSource.cs
- TriggerBase.cs
- GridViewUpdatedEventArgs.cs
- ProfileProvider.cs
- ReadOnlyDataSource.cs
- ControlCachePolicy.cs
- WaitHandleCannotBeOpenedException.cs
- ProcessModelSection.cs
- Variable.cs
- CompressStream.cs
- XhtmlConformanceSection.cs
- DbDataRecord.cs
- HandlerFactoryCache.cs
- MethodBuilderInstantiation.cs
- CodeSubDirectoriesCollection.cs
- Typography.cs
- ModifierKeysConverter.cs
- CustomErrorsSectionWrapper.cs
- XmlObjectSerializerReadContextComplexJson.cs
- DeclarationUpdate.cs
- LoginCancelEventArgs.cs
- EastAsianLunisolarCalendar.cs
- DBSqlParser.cs
- MemberHolder.cs
- RichTextBox.cs
- URI.cs
- SoapConverter.cs
- RSAOAEPKeyExchangeDeformatter.cs
- OperationValidationEventArgs.cs
- XmlEncodedRawTextWriter.cs
- ProcessStartInfo.cs
- DataGridViewRowsAddedEventArgs.cs
- CompositeTypefaceMetrics.cs
- XmlSignificantWhitespace.cs
- CultureInfoConverter.cs
- TemplatedMailWebEventProvider.cs
- DetailsViewInsertEventArgs.cs
- SymmetricAlgorithm.cs
- ProcessProtocolHandler.cs
- Update.cs