Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BindingMemberInfo.cs
- TextChangedEventArgs.cs
- PasswordDeriveBytes.cs
- QueryConverter.cs
- CounterSample.cs
- QueryServiceConfigHandle.cs
- RelationshipConverter.cs
- CornerRadiusConverter.cs
- LoginUtil.cs
- HierarchicalDataBoundControl.cs
- DispatchOperationRuntime.cs
- SchemaObjectWriter.cs
- SortableBindingList.cs
- ImageFormat.cs
- RectAnimationClockResource.cs
- RowUpdatedEventArgs.cs
- Model3D.cs
- AuthorizationSection.cs
- SpellerError.cs
- IDReferencePropertyAttribute.cs
- AdornerLayer.cs
- DirectoryObjectSecurity.cs
- filewebresponse.cs
- TextParagraph.cs
- FocusWithinProperty.cs
- RelationshipNavigation.cs
- PropertyNames.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- PKCS1MaskGenerationMethod.cs
- CompressedStack.cs
- SqlCacheDependency.cs
- Common.cs
- OletxResourceManager.cs
- ProgressiveCrcCalculatingStream.cs
- ProbeDuplex11AsyncResult.cs
- StateElementCollection.cs
- CompilerScopeManager.cs
- FormViewUpdateEventArgs.cs
- PasswordBox.cs
- SelfIssuedAuthAsymmetricKey.cs
- ArgumentDesigner.xaml.cs
- RepeaterItemCollection.cs
- DbMetaDataCollectionNames.cs
- TakeQueryOptionExpression.cs
- Quaternion.cs
- DbProviderFactory.cs
- AppSecurityManager.cs
- Style.cs
- PropagatorResult.cs
- ConfigPathUtility.cs
- SimplePropertyEntry.cs
- SQLDateTime.cs
- UserControl.cs
- Compilation.cs
- TreeView.cs
- ItemContainerPattern.cs
- DateTimeFormatInfo.cs
- OleDbPermission.cs
- SettingsPropertyNotFoundException.cs
- PixelFormat.cs
- ScrollableControl.cs
- Permission.cs
- ParseHttpDate.cs
- GregorianCalendarHelper.cs
- JsonReaderDelegator.cs
- HttpPostedFile.cs
- EmbeddedObject.cs
- RoleGroupCollection.cs
- MorphHelper.cs
- BinaryObjectReader.cs
- MetadataItemEmitter.cs
- XmlDictionaryWriter.cs
- Binding.cs
- ButtonAutomationPeer.cs
- PassportPrincipal.cs
- DataGrid.cs
- ToolStripStatusLabel.cs
- Metadata.cs
- FailedToStartupUIException.cs
- DiscoveryMessageProperty.cs
- DisposableCollectionWrapper.cs
- TrustManagerMoreInformation.cs
- DefaultMemberAttribute.cs
- QilParameter.cs
- ProcessHostFactoryHelper.cs
- SuppressMergeCheckAttribute.cs
- ReturnEventArgs.cs
- ScriptRegistrationManager.cs
- WebPartZoneBase.cs
- MessageEncodingBindingElementImporter.cs
- WebControl.cs
- ExecutionProperties.cs
- DeadCharTextComposition.cs
- MediaEntryAttribute.cs
- OdbcConnectionOpen.cs
- Baml2006KnownTypes.cs
- AnnotationResourceCollection.cs
- MultipleViewPattern.cs
- RoutedUICommand.cs
- StylusDownEventArgs.cs