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
- ZoneMembershipCondition.cs
- PersianCalendar.cs
- DtrList.cs
- TcpChannelHelper.cs
- SimpleBitVector32.cs
- ManipulationCompletedEventArgs.cs
- SafeMILHandle.cs
- OrCondition.cs
- TextBoxBase.cs
- QueryExpression.cs
- ISAPIWorkerRequest.cs
- Camera.cs
- FrameworkElementAutomationPeer.cs
- CollectionMarkupSerializer.cs
- DBBindings.cs
- LineBreakRecord.cs
- BuildManager.cs
- ListManagerBindingsCollection.cs
- BaseCollection.cs
- MessageBodyDescription.cs
- OleDbConnection.cs
- SecureUICommand.cs
- ConfigViewGenerator.cs
- FileSecurity.cs
- TableCell.cs
- VirtualPathUtility.cs
- RoleBoolean.cs
- XmlNamedNodeMap.cs
- XPathDocumentNavigator.cs
- XmlSchemaElement.cs
- odbcmetadatacollectionnames.cs
- CompoundFileIOPermission.cs
- ExpressionBinding.cs
- RequestCache.cs
- XmlSchemaSimpleContentRestriction.cs
- ObjectDisposedException.cs
- XmlNode.cs
- TextEffectCollection.cs
- UidPropertyAttribute.cs
- XmlSchemaAny.cs
- StateRuntime.cs
- SafeFileMappingHandle.cs
- SQLGuidStorage.cs
- FamilyMapCollection.cs
- ValueType.cs
- ManualWorkflowSchedulerService.cs
- PassportAuthentication.cs
- ConnectionStringSettings.cs
- DataMember.cs
- DesignerActionHeaderItem.cs
- PropertyMapper.cs
- ContractType.cs
- MethodImplAttribute.cs
- HtmlImage.cs
- HtmlEmptyTagControlBuilder.cs
- BamlResourceSerializer.cs
- SystemIPInterfaceStatistics.cs
- DataGridViewCellParsingEventArgs.cs
- ListViewTableCell.cs
- SmtpNtlmAuthenticationModule.cs
- KeyValueSerializer.cs
- CodeVariableReferenceExpression.cs
- QueryExecutionOption.cs
- DataSourceXmlTextReader.cs
- XmlNavigatorStack.cs
- SafeProcessHandle.cs
- HttpCapabilitiesBase.cs
- util.cs
- SocketAddress.cs
- AsymmetricAlgorithm.cs
- SafePEFileHandle.cs
- MatrixIndependentAnimationStorage.cs
- PageHandlerFactory.cs
- MeshGeometry3D.cs
- PolygonHotSpot.cs
- SqlDataSource.cs
- DiscreteKeyFrames.cs
- AssociationSetEnd.cs
- DocumentGridContextMenu.cs
- NeutralResourcesLanguageAttribute.cs
- HealthMonitoringSectionHelper.cs
- SecurityContext.cs
- HandleCollector.cs
- BindingOperations.cs
- StyleHelper.cs
- WebInvokeAttribute.cs
- ListChangedEventArgs.cs
- OdbcErrorCollection.cs
- OledbConnectionStringbuilder.cs
- DesignOnlyAttribute.cs
- ContextConfiguration.cs
- SqlCommandBuilder.cs
- FunctionNode.cs
- EmptyReadOnlyDictionaryInternal.cs
- DataViewSetting.cs
- CompModSwitches.cs
- HttpFileCollection.cs
- Content.cs
- HyperLinkField.cs
- HttpListenerResponse.cs