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
- TimelineClockCollection.cs
- DetailsViewInsertEventArgs.cs
- IncrementalHitTester.cs
- Evidence.cs
- ProgressBarRenderer.cs
- SR.cs
- SessionKeyExpiredException.cs
- RtfToXamlLexer.cs
- PrivilegeNotHeldException.cs
- DataServiceQuery.cs
- TemplateBindingExtension.cs
- EnumValidator.cs
- PrintControllerWithStatusDialog.cs
- HtmlFormParameterReader.cs
- Thread.cs
- WrappedReader.cs
- XmlSchemaObject.cs
- HttpAsyncResult.cs
- RangeContentEnumerator.cs
- MatrixTransform3D.cs
- Knowncolors.cs
- SR.Designer.cs
- ListBoxItemWrapperAutomationPeer.cs
- WsdlParser.cs
- DynamicRenderer.cs
- ObjectDataSourceView.cs
- DataControlFieldCell.cs
- ElementNotEnabledException.cs
- TextViewElement.cs
- safelinkcollection.cs
- TreeNodeStyleCollection.cs
- SiteOfOriginPart.cs
- Int16KeyFrameCollection.cs
- NativeMethods.cs
- HMACSHA256.cs
- FormattedTextSymbols.cs
- ConfigXmlComment.cs
- BamlTreeMap.cs
- WindowsAltTab.cs
- ItemType.cs
- Debug.cs
- IntSecurity.cs
- ControlCodeDomSerializer.cs
- PasswordDeriveBytes.cs
- ScaleTransform.cs
- InstanceHandle.cs
- SQLInt16.cs
- CompilerError.cs
- XmlLanguage.cs
- RotationValidation.cs
- GraphicsContainer.cs
- DiscoveryCallbackBehavior.cs
- Tokenizer.cs
- PerformanceCounterManager.cs
- ImageSource.cs
- TableNameAttribute.cs
- UpdateProgress.cs
- dbenumerator.cs
- ZipIOLocalFileDataDescriptor.cs
- AstTree.cs
- UMPAttributes.cs
- Exceptions.cs
- CellTreeNodeVisitors.cs
- Soap12ProtocolImporter.cs
- SizeFConverter.cs
- ColorContext.cs
- XmlElement.cs
- figurelengthconverter.cs
- RotateTransform.cs
- Label.cs
- NotifyParentPropertyAttribute.cs
- SchemaAttDef.cs
- ObjectDataSourceEventArgs.cs
- TreeWalker.cs
- SqlUdtInfo.cs
- HtmlControlPersistable.cs
- ConfigXmlDocument.cs
- DTCTransactionManager.cs
- UInt32Converter.cs
- XmlNamedNodeMap.cs
- ExtensionSurface.cs
- ConfigXmlSignificantWhitespace.cs
- ServiceDiscoveryElement.cs
- SystemMulticastIPAddressInformation.cs
- IssuedTokenServiceCredential.cs
- DrawingCollection.cs
- TraceFilter.cs
- XmlRootAttribute.cs
- IssuedTokensHeader.cs
- TreeNodeStyle.cs
- CacheEntry.cs
- XmlSerializerOperationBehavior.cs
- XmlnsPrefixAttribute.cs
- XmlSerializerSection.cs
- NetDataContractSerializer.cs
- EarlyBoundInfo.cs
- CodeMemberField.cs
- DynamicPropertyReader.cs
- BitmapSourceSafeMILHandle.cs
- TypeInitializationException.cs