Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / RankException.cs / 1 / RankException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: RankException ** ** ** Purpose: For methods that are passed arrays with the wrong number of ** dimensions. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class RankException : SystemException { public RankException() : base(Environment.GetResourceString("Arg_RankException")) { SetErrorCode(__HResults.COR_E_RANK); } public RankException(String message) : base(message) { SetErrorCode(__HResults.COR_E_RANK); } public RankException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_RANK); } protected RankException(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: RankException ** ** ** Purpose: For methods that are passed arrays with the wrong number of ** dimensions. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class RankException : SystemException { public RankException() : base(Environment.GetResourceString("Arg_RankException")) { SetErrorCode(__HResults.COR_E_RANK); } public RankException(String message) : base(message) { SetErrorCode(__HResults.COR_E_RANK); } public RankException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_RANK); } protected RankException(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
- MsmqMessageProperty.cs
- ApplyImportsAction.cs
- PropertyTab.cs
- DataGridViewComboBoxColumn.cs
- SamlAttributeStatement.cs
- NegotiateStream.cs
- GeneralTransform3D.cs
- ScrollBar.cs
- SecurityKeyIdentifier.cs
- Directory.cs
- WebControlAdapter.cs
- WindowsSpinner.cs
- CacheMemory.cs
- RetrieveVirtualItemEventArgs.cs
- InnerItemCollectionView.cs
- InternalPermissions.cs
- SiteMapPath.cs
- HtmlElement.cs
- ISAPIWorkerRequest.cs
- HighlightVisual.cs
- DodSequenceMerge.cs
- TraversalRequest.cs
- ObjectHandle.cs
- MimeMultiPart.cs
- InheritanceContextChangedEventManager.cs
- SqlCacheDependencySection.cs
- MenuItemStyle.cs
- UpdateCompiler.cs
- ProgressBarRenderer.cs
- Compiler.cs
- URLEditor.cs
- LinkArea.cs
- WebServiceClientProxyGenerator.cs
- Screen.cs
- Italic.cs
- ColumnResizeAdorner.cs
- NamedServiceModelExtensionCollectionElement.cs
- AnimationTimeline.cs
- DateTimeConverter.cs
- ExpandCollapseIsCheckedConverter.cs
- sqlstateclientmanager.cs
- CommandValueSerializer.cs
- JpegBitmapEncoder.cs
- HtmlTitle.cs
- CallbackHandler.cs
- TableCellAutomationPeer.cs
- BindingListCollectionView.cs
- CacheVirtualItemsEvent.cs
- ErrorHandler.cs
- CodeTypeParameterCollection.cs
- GeometryGroup.cs
- querybuilder.cs
- TrustSection.cs
- XomlCompiler.cs
- Pts.cs
- SoapDocumentMethodAttribute.cs
- ExpanderAutomationPeer.cs
- ExceptionHelpers.cs
- DragDropManager.cs
- Tool.cs
- SplayTreeNode.cs
- TypeInfo.cs
- OdbcTransaction.cs
- Utils.cs
- Composition.cs
- EllipseGeometry.cs
- ProtocolsSection.cs
- XmlSchemaSequence.cs
- LinqDataSourceUpdateEventArgs.cs
- ListCommandEventArgs.cs
- CharacterHit.cs
- WebPartTransformer.cs
- HitTestWithPointDrawingContextWalker.cs
- BufferModesCollection.cs
- BindingListCollectionView.cs
- DataGridView.cs
- HttpModulesSection.cs
- Visual3DCollection.cs
- Int16Converter.cs
- SecurityUtils.cs
- TargetConverter.cs
- ProcessHostConfigUtils.cs
- DelegatedStream.cs
- Events.cs
- CodeArgumentReferenceExpression.cs
- ParserStreamGeometryContext.cs
- AlternationConverter.cs
- InternalException.cs
- XmlILStorageConverter.cs
- TreeNode.cs
- EditorZone.cs
- TypeReference.cs
- DiscoveryReferences.cs
- DataGridViewColumnConverter.cs
- PixelFormat.cs
- TextCharacters.cs
- SponsorHelper.cs
- MimeTypeAttribute.cs
- UnauthorizedAccessException.cs
- UrlAuthFailedErrorFormatter.cs