Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayRankMismatchException.cs / 1305376 / SafeArrayRankMismatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SafeArrayRankMismatchException ** ** Purpose: This exception is thrown when the runtime rank of a safe array ** is different than the array rank specified in the metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayRankMismatchException : SystemException { public SafeArrayRankMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } [System.Security.SecuritySafeCritical] // auto-generated protected SafeArrayRankMismatchException(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: SafeArrayRankMismatchException ** ** Purpose: This exception is thrown when the runtime rank of a safe array ** is different than the array rank specified in the metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayRankMismatchException : SystemException { public SafeArrayRankMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayRankMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } public SafeArrayRankMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); } [System.Security.SecuritySafeCritical] // auto-generated protected SafeArrayRankMismatchException(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
- StringConcat.cs
- AutomationPatternInfo.cs
- OneToOneMappingSerializer.cs
- PropertyNames.cs
- TabControl.cs
- PagerSettings.cs
- SignatureDescription.cs
- PtsHost.cs
- FocusTracker.cs
- XmlDataLoader.cs
- PEFileReader.cs
- Item.cs
- CustomErrorCollection.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- SoapException.cs
- FormClosedEvent.cs
- _CookieModule.cs
- IRCollection.cs
- EventBookmark.cs
- NullableBoolConverter.cs
- TraceFilter.cs
- CallbackException.cs
- LinearGradientBrush.cs
- IntegerValidatorAttribute.cs
- ToolStripProgressBar.cs
- DragDropManager.cs
- XmlSchemaAll.cs
- SecurityManager.cs
- StatusBar.cs
- ServiceModelReg.cs
- SizeAnimationUsingKeyFrames.cs
- WorkflowInlining.cs
- SafeNativeMethods.cs
- EdmComplexPropertyAttribute.cs
- WebPartZoneCollection.cs
- ToolTipService.cs
- UdpRetransmissionSettings.cs
- ImageSourceConverter.cs
- SessionStateModule.cs
- KeyConstraint.cs
- DBConnectionString.cs
- ParserHooks.cs
- MDIWindowDialog.cs
- HtmlMeta.cs
- EditingCommands.cs
- X509Chain.cs
- DbTypeMap.cs
- SqlTransaction.cs
- XPathNodePointer.cs
- ErrorLog.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- safemediahandle.cs
- TrackBar.cs
- EmissiveMaterial.cs
- ObservableDictionary.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ContourSegment.cs
- Convert.cs
- ValidatorCompatibilityHelper.cs
- DebugViewWriter.cs
- SecurityChannelFactory.cs
- WebPartDisplayModeCollection.cs
- ArrayTypeMismatchException.cs
- CompiledRegexRunnerFactory.cs
- DtrList.cs
- BasicHttpSecurityElement.cs
- HttpCapabilitiesEvaluator.cs
- SslStream.cs
- BitHelper.cs
- SystemKeyConverter.cs
- Authorization.cs
- PrePrepareMethodAttribute.cs
- BooleanExpr.cs
- ThousandthOfEmRealPoints.cs
- NumericUpDownAcceleration.cs
- Ticks.cs
- XamlStyleSerializer.cs
- PropertyChangedEventManager.cs
- BaseAsyncResult.cs
- MergeFilterQuery.cs
- OracleBinary.cs
- CompilerState.cs
- _NegotiateClient.cs
- EdgeModeValidation.cs
- ToolStripPanelRow.cs
- MetadataHelper.cs
- EntitySqlQueryCacheEntry.cs
- RTLAwareMessageBox.cs
- HttpException.cs
- LOSFormatter.cs
- CodeAttributeDeclaration.cs
- GlyphingCache.cs
- GeometryModel3D.cs
- ItemContainerGenerator.cs
- ILGen.cs
- DataView.cs
- ContentIterators.cs
- DiscoveryDocument.cs
- DocumentAutomationPeer.cs
- FamilyTypeface.cs