Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayRankMismatchException.cs / 1 / 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); } 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); } 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
- DrawingGroup.cs
- HttpVersion.cs
- ExtensionSimplifierMarkupObject.cs
- PriorityRange.cs
- EventQueueState.cs
- CompilerResults.cs
- EncodingDataItem.cs
- OleDbParameter.cs
- LineMetrics.cs
- X509Certificate.cs
- HttpListenerPrefixCollection.cs
- IfAction.cs
- DbProviderConfigurationHandler.cs
- SchemaInfo.cs
- ExplicitDiscriminatorMap.cs
- ProcessHostFactoryHelper.cs
- DataGridViewComboBoxEditingControl.cs
- DetailsViewUpdateEventArgs.cs
- ApplicationActivator.cs
- WebConfigurationHost.cs
- EntitySetBaseCollection.cs
- DoubleCollectionConverter.cs
- KeyValuePair.cs
- RadioButton.cs
- Propagator.cs
- TraceHwndHost.cs
- IPEndPointCollection.cs
- relpropertyhelper.cs
- TextRunTypographyProperties.cs
- _NativeSSPI.cs
- PkcsUtils.cs
- XPathNavigator.cs
- TabOrder.cs
- HtmlPanelAdapter.cs
- ContentType.cs
- XmlSerializer.cs
- BufferModesCollection.cs
- DataGridViewCellConverter.cs
- DiscoveryMessageSequence.cs
- WindowsBrush.cs
- DisplayInformation.cs
- HttpHandlersSection.cs
- Viewport2DVisual3D.cs
- SchemaInfo.cs
- TypeName.cs
- ValidationPropertyAttribute.cs
- XmlSchemaComplexContentExtension.cs
- ColumnBinding.cs
- HttpRequest.cs
- TypeUsage.cs
- wgx_sdk_version.cs
- SafeCryptoHandles.cs
- XmlSerializerFaultFormatter.cs
- ProgressChangedEventArgs.cs
- SymLanguageType.cs
- SmtpMail.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- TextWriter.cs
- BitmapEffectvisualstate.cs
- LiteralControl.cs
- FixedDocumentSequencePaginator.cs
- PingOptions.cs
- QilTypeChecker.cs
- TabControl.cs
- SpellerStatusTable.cs
- EmptyEnumerable.cs
- XmlCodeExporter.cs
- TextBoxLine.cs
- StringReader.cs
- TypeDependencyAttribute.cs
- Array.cs
- BooleanAnimationBase.cs
- XmlILAnnotation.cs
- WebBrowsableAttribute.cs
- OpenTypeLayout.cs
- ToolStripDropDownMenu.cs
- SponsorHelper.cs
- FileVersion.cs
- CultureInfo.cs
- CustomErrorCollection.cs
- HTTPNotFoundHandler.cs
- DataGridViewCellValidatingEventArgs.cs
- TypeReference.cs
- WindowsListViewSubItem.cs
- TableLayout.cs
- MetadataArtifactLoaderResource.cs
- XmlDocumentFieldSchema.cs
- FontDifferentiator.cs
- KeyGestureConverter.cs
- AppModelKnownContentFactory.cs
- Section.cs
- PerfService.cs
- SQLDecimalStorage.cs
- FontFamilyIdentifier.cs
- BooleanAnimationBase.cs
- WorkflowApplicationUnloadedException.cs
- FormViewDeleteEventArgs.cs
- Stylesheet.cs
- ScrollViewerAutomationPeer.cs
- DataRelation.cs