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
- WindowsTitleBar.cs
- PipelineModuleStepContainer.cs
- CodeCatchClause.cs
- XmlToDatasetMap.cs
- DataRecord.cs
- TypeConverter.cs
- BaseTreeIterator.cs
- FieldNameLookup.cs
- CodeDOMUtility.cs
- _UriTypeConverter.cs
- InvalidEnumArgumentException.cs
- TrackingWorkflowEventArgs.cs
- PreservationFileReader.cs
- ScriptResourceDefinition.cs
- PropertyGridView.cs
- MethodBody.cs
- DataList.cs
- ReservationCollection.cs
- ManagementObjectCollection.cs
- ImageKeyConverter.cs
- AddressingVersion.cs
- ElementProxy.cs
- ForeignKeyFactory.cs
- DocumentPageTextView.cs
- SystemTcpStatistics.cs
- PersonalizablePropertyEntry.cs
- ClientTargetSection.cs
- DelegateCompletionCallbackWrapper.cs
- PageVisual.cs
- CacheHelper.cs
- Itemizer.cs
- ObjectSpanRewriter.cs
- URI.cs
- AnonymousIdentificationSection.cs
- UpdateTranslator.cs
- FontWeights.cs
- TimeoutTimer.cs
- CapacityStreamGeometryContext.cs
- NotifyInputEventArgs.cs
- MetadataReference.cs
- OraclePermissionAttribute.cs
- BaseCodePageEncoding.cs
- GroupBox.cs
- HttpStreamXmlDictionaryReader.cs
- DataGridGeneralPage.cs
- DrawingAttributesDefaultValueFactory.cs
- SecurityIdentifierElement.cs
- LinearKeyFrames.cs
- VectorValueSerializer.cs
- XPathEmptyIterator.cs
- GB18030Encoding.cs
- BitmapDecoder.cs
- AppSecurityManager.cs
- GlyphsSerializer.cs
- ModelPropertyDescriptor.cs
- HashHelper.cs
- XamlPointCollectionSerializer.cs
- SqlEnums.cs
- RoleGroupCollection.cs
- ModelTreeManager.cs
- HelpEvent.cs
- MetadataArtifactLoaderCompositeResource.cs
- Viewport2DVisual3D.cs
- RegistrySecurity.cs
- ConnectionManagementElementCollection.cs
- HostAdapter.cs
- ApplicationServicesHostFactory.cs
- ProtocolsInstallComponent.cs
- CommandPlan.cs
- AutomationProperty.cs
- XmlLoader.cs
- panel.cs
- MatrixAnimationUsingPath.cs
- ErrorFormatterPage.cs
- TcpDuplicateContext.cs
- IisTraceListener.cs
- ProtocolViolationException.cs
- ConfigurationValues.cs
- Brush.cs
- documentsequencetextcontainer.cs
- RuleSettings.cs
- RegexCharClass.cs
- AppDomain.cs
- DataSourceCollectionBase.cs
- TableLayoutSettingsTypeConverter.cs
- PersistenceTypeAttribute.cs
- PagedDataSource.cs
- SecurityContext.cs
- HeaderCollection.cs
- ExpressionTable.cs
- HttpFileCollection.cs
- UpdateEventArgs.cs
- UnknownBitmapDecoder.cs
- SoapElementAttribute.cs
- BufferedReadStream.cs
- CollectionBuilder.cs
- CodeIdentifiers.cs
- DataGrid.cs
- AppDomainFactory.cs
- PackWebRequestFactory.cs