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
- CodeTypeReferenceCollection.cs
- Delay.cs
- HtmlCommandAdapter.cs
- DnsPermission.cs
- LayoutSettings.cs
- OpCodes.cs
- AdornerPresentationContext.cs
- PersonalizableTypeEntry.cs
- ConstraintStruct.cs
- Native.cs
- XmlAnyElementAttribute.cs
- XPathCompiler.cs
- Int32CollectionConverter.cs
- InvalidProgramException.cs
- ObjectDataSourceDisposingEventArgs.cs
- ProfileEventArgs.cs
- PageBreakRecord.cs
- FixedHighlight.cs
- AsyncOperation.cs
- CharUnicodeInfo.cs
- DragDeltaEventArgs.cs
- StringSorter.cs
- Signature.cs
- SplitContainerDesigner.cs
- TransportSecurityBindingElement.cs
- ToolStripPanelDesigner.cs
- ClientTargetSection.cs
- CompositeScriptReference.cs
- ThemeDictionaryExtension.cs
- CompressionTracing.cs
- TrackingAnnotationCollection.cs
- ToolStripKeyboardHandlingService.cs
- CodeVariableDeclarationStatement.cs
- InvalidDataException.cs
- DesignerInterfaces.cs
- UserControlBuildProvider.cs
- ChangeBlockUndoRecord.cs
- TerminatingOperationBehavior.cs
- ObjectListCommandCollection.cs
- RuleRef.cs
- PropertyEmitterBase.cs
- LinqDataSourceDeleteEventArgs.cs
- DefaultSection.cs
- ComponentResourceKey.cs
- Buffer.cs
- NullEntityWrapper.cs
- ProcessModuleCollection.cs
- SqlParameterCollection.cs
- Panel.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ResourcePermissionBaseEntry.cs
- nulltextcontainer.cs
- AutomationElementIdentifiers.cs
- UnmanagedMarshal.cs
- SHA1Managed.cs
- FileVersionInfo.cs
- Int32EqualityComparer.cs
- XsltSettings.cs
- MarginsConverter.cs
- BitmapImage.cs
- ConfigDefinitionUpdates.cs
- UnaryNode.cs
- Baml2006ReaderFrame.cs
- DetectEofStream.cs
- ViewSimplifier.cs
- DBSqlParserColumnCollection.cs
- InstallerTypeAttribute.cs
- Helpers.cs
- Span.cs
- ACL.cs
- COM2TypeInfoProcessor.cs
- PropertyDescriptorComparer.cs
- TypeConverterHelper.cs
- WebResourceUtil.cs
- DoubleIndependentAnimationStorage.cs
- Dispatcher.cs
- SqlConnectionPoolProviderInfo.cs
- BaseComponentEditor.cs
- Compiler.cs
- GridViewColumnHeader.cs
- DataGridViewCheckBoxColumn.cs
- KeyEvent.cs
- ScrollProperties.cs
- CompositeCollection.cs
- FreezableCollection.cs
- SimpleHandlerBuildProvider.cs
- FlowNode.cs
- SQLStringStorage.cs
- SupportingTokenListenerFactory.cs
- ToolStripItemClickedEventArgs.cs
- StreamReader.cs
- DbModificationClause.cs
- MethodCallExpression.cs
- OAVariantLib.cs
- StateMachineWorkflow.cs
- MobileUserControlDesigner.cs
- Encoder.cs
- AsymmetricKeyExchangeFormatter.cs
- DesignTimeTemplateParser.cs
- EmptyCollection.cs