Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DiscoveryEndpoint.cs
- InputMethodStateTypeInfo.cs
- MethodAccessException.cs
- ClientType.cs
- MdiWindowListStrip.cs
- ScriptingWebServicesSectionGroup.cs
- SecurityKeyType.cs
- ContextConfiguration.cs
- StateValidator.cs
- RawTextInputReport.cs
- HttpWriter.cs
- DeploymentExceptionMapper.cs
- Native.cs
- MimeMapping.cs
- DetailsViewPageEventArgs.cs
- TemplatePartAttribute.cs
- StaticContext.cs
- ListViewUpdatedEventArgs.cs
- SimpleNameService.cs
- SecurityCriticalDataForSet.cs
- StylusPointDescription.cs
- ScriptRegistrationManager.cs
- WorkflowControlClient.cs
- MenuItemCollection.cs
- AutomationPropertyInfo.cs
- _StreamFramer.cs
- DateTimeAutomationPeer.cs
- UserInitiatedNavigationPermission.cs
- PlatformCulture.cs
- SignedInfo.cs
- SchemaTableColumn.cs
- TransformPattern.cs
- WizardStepBase.cs
- DrawListViewItemEventArgs.cs
- TiffBitmapDecoder.cs
- Sql8ConformanceChecker.cs
- EncryptedXml.cs
- DataSourceExpression.cs
- MouseButtonEventArgs.cs
- DefaultExpression.cs
- BuilderPropertyEntry.cs
- AddInContractAttribute.cs
- XamlStackWriter.cs
- QueryStatement.cs
- ObjectPersistData.cs
- CodeMemberProperty.cs
- COAUTHINFO.cs
- InputLanguageCollection.cs
- LoginView.cs
- ProbeMatchesCD1.cs
- MenuItemCollection.cs
- QilInvokeEarlyBound.cs
- BitmapCacheBrush.cs
- Size.cs
- StorageEntitySetMapping.cs
- CodeSnippetCompileUnit.cs
- OleDbMetaDataFactory.cs
- CustomAttributeFormatException.cs
- DataRow.cs
- Compiler.cs
- XslCompiledTransform.cs
- ButtonField.cs
- TextElementEditingBehaviorAttribute.cs
- IdentityManager.cs
- URLIdentityPermission.cs
- LassoHelper.cs
- ToolStripSplitButton.cs
- HighlightOverlayGlyph.cs
- AbstractExpressions.cs
- FileNotFoundException.cs
- EndEvent.cs
- Encoder.cs
- RelatedImageListAttribute.cs
- DataControlCommands.cs
- Int32KeyFrameCollection.cs
- ActiveDocumentEvent.cs
- PageContentCollection.cs
- Utils.cs
- BindingRestrictions.cs
- Tracer.cs
- WinEventWrap.cs
- ProcessMessagesAsyncResult.cs
- RequestQueue.cs
- PortCache.cs
- XPathSingletonIterator.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ScriptingRoleServiceSection.cs
- VScrollBar.cs
- TypeCollectionDesigner.xaml.cs
- HtmlImageAdapter.cs
- ClientProxyGenerator.cs
- RelationshipManager.cs
- WebEvents.cs
- ToolConsole.cs
- SecurityDocument.cs
- FileAuthorizationModule.cs
- StrongNameKeyPair.cs
- DateTimeOffset.cs
- StorageEntityContainerMapping.cs
- AssemblyHash.cs