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 / 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
- ExpressionSelection.cs
- LinkArea.cs
- LinqDataSourceUpdateEventArgs.cs
- EdmPropertyAttribute.cs
- CodeTypeDeclarationCollection.cs
- ItemCheckEvent.cs
- ValueType.cs
- ParameterReplacerVisitor.cs
- XmlBindingWorker.cs
- BindToObject.cs
- TransactedBatchingElement.cs
- ResourceLoader.cs
- PixelFormats.cs
- DataGridViewCellStyleChangedEventArgs.cs
- PropagatorResult.cs
- BrowserCapabilitiesCompiler.cs
- ValueSerializer.cs
- Vector3DIndependentAnimationStorage.cs
- ExitEventArgs.cs
- ArcSegment.cs
- MemoryMappedViewStream.cs
- ToolStripLabel.cs
- StaticFileHandler.cs
- CustomAttributeFormatException.cs
- DateRangeEvent.cs
- BindingBase.cs
- ManifestResourceInfo.cs
- MessageQueueCriteria.cs
- GenericTextProperties.cs
- __ConsoleStream.cs
- httpstaticobjectscollection.cs
- OrderByBuilder.cs
- Image.cs
- ImageMapEventArgs.cs
- RangeValueProviderWrapper.cs
- DateTimeFormat.cs
- SQLDecimalStorage.cs
- SizeConverter.cs
- DesignerLinkAdapter.cs
- PixelShader.cs
- PaginationProgressEventArgs.cs
- DbDataRecord.cs
- DataGridHeaderBorder.cs
- CollectionViewSource.cs
- SimpleType.cs
- CodeIndexerExpression.cs
- TextTrailingWordEllipsis.cs
- DataObject.cs
- SvcMapFile.cs
- Section.cs
- DebugTrace.cs
- DigestComparer.cs
- HttpException.cs
- FacetChecker.cs
- Int32RectValueSerializer.cs
- XmlNamespaceMappingCollection.cs
- Variable.cs
- SqlDataSourceFilteringEventArgs.cs
- Quaternion.cs
- IncrementalHitTester.cs
- CategoryState.cs
- PowerModeChangedEventArgs.cs
- SiteMapPathDesigner.cs
- HtmlTableCellCollection.cs
- MethodCallConverter.cs
- FreezableOperations.cs
- CultureTable.cs
- CollectionViewGroup.cs
- ShaderEffect.cs
- SQLInt64.cs
- QilValidationVisitor.cs
- IdentityNotMappedException.cs
- ThrowHelper.cs
- SByteStorage.cs
- BuildProvidersCompiler.cs
- PageDeviceFont.cs
- GetPageNumberCompletedEventArgs.cs
- XPathException.cs
- CmsInterop.cs
- SerializableAttribute.cs
- VirtualPathExtension.cs
- ButtonField.cs
- UnaryNode.cs
- TextEditorLists.cs
- GeometryDrawing.cs
- FunctionCommandText.cs
- ForwardPositionQuery.cs
- ReliableOutputSessionChannel.cs
- ConstraintCollection.cs
- ModelFactory.cs
- RegexCaptureCollection.cs
- ETagAttribute.cs
- GlyphRunDrawing.cs
- ObjectDataSourceSelectingEventArgs.cs
- WebPartUtil.cs
- SafeEventHandle.cs
- VisualTreeUtils.cs
- RuleEngine.cs
- EventMappingSettings.cs
- ToolStripRenderEventArgs.cs