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
- SingleBodyParameterMessageFormatter.cs
- ServiceBusyException.cs
- TrackBar.cs
- SelectionItemProviderWrapper.cs
- Item.cs
- SymbolType.cs
- FragmentNavigationEventArgs.cs
- ResponseStream.cs
- IgnoreSectionHandler.cs
- RijndaelManagedTransform.cs
- SqlDataSource.cs
- ObjectViewListener.cs
- ZipPackage.cs
- XPathEmptyIterator.cs
- Tile.cs
- PropertyManager.cs
- WorkflowMarkupSerializationProvider.cs
- FixedPage.cs
- ScrollProviderWrapper.cs
- ComponentCommands.cs
- mactripleDES.cs
- MultiPageTextView.cs
- ErrorLog.cs
- SmiConnection.cs
- WpfWebRequestHelper.cs
- ResXResourceSet.cs
- OpCopier.cs
- TrackingDataItemValue.cs
- BehaviorDragDropEventArgs.cs
- BodyGlyph.cs
- SqlHelper.cs
- ModelTreeEnumerator.cs
- RuleInfoComparer.cs
- PermissionRequestEvidence.cs
- LateBoundBitmapDecoder.cs
- BamlLocalizableResource.cs
- ObsoleteAttribute.cs
- DataRelationPropertyDescriptor.cs
- ValidationError.cs
- RoleManagerEventArgs.cs
- Viewport3DAutomationPeer.cs
- WebScriptClientGenerator.cs
- BaseDataListPage.cs
- ApplicationTrust.cs
- FormatVersion.cs
- DecimalConverter.cs
- Error.cs
- ConstructorNeedsTagAttribute.cs
- ReachObjectContext.cs
- DefaultValueConverter.cs
- AsynchronousChannel.cs
- EmptyEnumerator.cs
- DecimalConverter.cs
- ItemCollection.cs
- BadImageFormatException.cs
- SerialErrors.cs
- IDQuery.cs
- TextCollapsingProperties.cs
- EditorPartCollection.cs
- WindowsContainer.cs
- WriteStateInfoBase.cs
- Wildcard.cs
- MatrixTransform3D.cs
- FileLevelControlBuilderAttribute.cs
- ObjectSet.cs
- ReverseComparer.cs
- TextBlock.cs
- ImageAnimator.cs
- DataSourceXmlSerializationAttribute.cs
- BulletChrome.cs
- HideDisabledControlAdapter.cs
- InteropAutomationProvider.cs
- ChangesetResponse.cs
- MatrixTransform.cs
- ControlHelper.cs
- SerializationInfoEnumerator.cs
- RecipientInfo.cs
- ProviderSettingsCollection.cs
- BuildManagerHost.cs
- ListChangedEventArgs.cs
- Repeater.cs
- TimeIntervalCollection.cs
- ThicknessConverter.cs
- Queue.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- exports.cs
- DesignTable.cs
- InputProviderSite.cs
- Attributes.cs
- ProfileModule.cs
- RightsManagementInformation.cs
- DependencyPropertyKind.cs
- SqlBulkCopy.cs
- UpDownEvent.cs
- CryptoApi.cs
- HttpModuleAction.cs
- ZipIOLocalFileBlock.cs
- DataRecordInternal.cs
- BaseCodePageEncoding.cs
- DecimalMinMaxAggregationOperator.cs