Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / RankException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- FloaterBaseParaClient.cs
- DataBoundControlAdapter.cs
- ServicePointManagerElement.cs
- TextDpi.cs
- HtmlTableRowCollection.cs
- MessageAction.cs
- GeneralTransform3D.cs
- _Semaphore.cs
- DoubleAnimationClockResource.cs
- ServiceMemoryGates.cs
- DataGridTable.cs
- PhysicalAddress.cs
- METAHEADER.cs
- LayoutTableCell.cs
- DashStyles.cs
- XPathPatternParser.cs
- AssociationTypeEmitter.cs
- EnumMember.cs
- NetworkInterface.cs
- PagesChangedEventArgs.cs
- HMACSHA384.cs
- HtmlWindow.cs
- DragDropManager.cs
- DataGridViewRow.cs
- Line.cs
- TaskFormBase.cs
- SiteMapPathDesigner.cs
- ColorBuilder.cs
- ListViewGroupCollectionEditor.cs
- DataGridCommandEventArgs.cs
- MD5CryptoServiceProvider.cs
- Options.cs
- DefaultAuthorizationContext.cs
- SqlCacheDependency.cs
- ProjectionPathSegment.cs
- Viewport3DVisual.cs
- ServiceBehaviorAttribute.cs
- MasterPageCodeDomTreeGenerator.cs
- TextDecorationCollection.cs
- xml.cs
- ConcurrencyMode.cs
- RotateTransform3D.cs
- ObjectTypeMapping.cs
- InkCanvasAutomationPeer.cs
- UIElementParaClient.cs
- LoginCancelEventArgs.cs
- HyperLink.cs
- QilStrConcat.cs
- TreeNodeCollection.cs
- XmlCDATASection.cs
- PerformanceCounterPermissionAttribute.cs
- ExtensionMethods.cs
- MaskedTextBoxDesignerActionList.cs
- PlaceHolder.cs
- DelegatingStream.cs
- PrivateFontCollection.cs
- documentsequencetextview.cs
- Convert.cs
- SectionInput.cs
- SetState.cs
- PointCollection.cs
- RelationshipWrapper.cs
- CreateRefExpr.cs
- RenderCapability.cs
- SqlLiftWhereClauses.cs
- SizeF.cs
- ContainerTracking.cs
- SerTrace.cs
- FillBehavior.cs
- MimeWriter.cs
- MobileControlPersister.cs
- HttpCapabilitiesEvaluator.cs
- SubMenuStyleCollection.cs
- MenuItemBinding.cs
- PhysicalOps.cs
- TypeLibConverter.cs
- IOException.cs
- Hashtable.cs
- IsolatedStorageFileStream.cs
- ConfigurationSectionHelper.cs
- FrameworkReadOnlyPropertyMetadata.cs
- UnknownBitmapEncoder.cs
- TranslateTransform3D.cs
- XmlIterators.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- XmlSchemaGroupRef.cs
- HMACSHA512.cs
- WindowsListViewSubItem.cs
- DataGridColumn.cs
- ImageMapEventArgs.cs
- CallSiteBinder.cs
- CollaborationHelperFunctions.cs
- EntityDataSourceColumn.cs
- SystemIPGlobalProperties.cs
- TreeNodeClickEventArgs.cs
- NamespaceQuery.cs
- UndoEngine.cs
- ErrorActivity.cs
- ClientScriptManagerWrapper.cs
- RegexInterpreter.cs