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
- XmlSchemaSimpleType.cs
- BrowsableAttribute.cs
- SkipStoryboardToFill.cs
- VSWCFServiceContractGenerator.cs
- Matrix3DConverter.cs
- WindowShowOrOpenTracker.cs
- PeerResolverMode.cs
- SqlMethodCallConverter.cs
- RectAnimationBase.cs
- WebServiceEndpoint.cs
- DecimalFormatter.cs
- DataTable.cs
- Configuration.cs
- CompiledAction.cs
- TabControlCancelEvent.cs
- Formatter.cs
- IndexedDataBuffer.cs
- Roles.cs
- JoinTreeSlot.cs
- ImageCreator.cs
- DmlSqlGenerator.cs
- NumberSubstitution.cs
- WizardForm.cs
- SaveRecipientRequest.cs
- TextTrailingCharacterEllipsis.cs
- ThemeDictionaryExtension.cs
- PassportAuthentication.cs
- EpmContentSerializer.cs
- TextCharacters.cs
- ProtectedConfigurationProviderCollection.cs
- mansign.cs
- TableAdapterManagerHelper.cs
- RootDesignerSerializerAttribute.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- NativeMethods.cs
- EntitySetDataBindingList.cs
- AssertFilter.cs
- Rule.cs
- ZipIOFileItemStream.cs
- WebSysDescriptionAttribute.cs
- XPathCompileException.cs
- SSmlParser.cs
- XmlConverter.cs
- TemplateBindingExtension.cs
- SiteMap.cs
- SpeakInfo.cs
- Argument.cs
- GridLengthConverter.cs
- UntrustedRecipientException.cs
- MenuAdapter.cs
- WebPartEventArgs.cs
- SapiGrammar.cs
- HostingEnvironmentException.cs
- ColumnWidthChangingEvent.cs
- PropertyGridEditorPart.cs
- TextServicesManager.cs
- DataServices.cs
- Image.cs
- EntryPointNotFoundException.cs
- EntityDataSourceEntityTypeFilterItem.cs
- EntityTypeEmitter.cs
- BindableTemplateBuilder.cs
- XmlHierarchicalEnumerable.cs
- DataPagerFieldCollection.cs
- WpfKnownMember.cs
- DropTarget.cs
- BodyWriter.cs
- XmlSchemaCollection.cs
- TimeoutException.cs
- ScrollViewer.cs
- GetPolicyDetailsRequest.cs
- FunctionUpdateCommand.cs
- ShutDownListener.cs
- PixelShader.cs
- FixedPageStructure.cs
- TypeConverterAttribute.cs
- UIElementAutomationPeer.cs
- Properties.cs
- FixedSOMTable.cs
- ListViewGroupConverter.cs
- ColorTransformHelper.cs
- DetailsViewRowCollection.cs
- Mapping.cs
- EventMappingSettingsCollection.cs
- AsynchronousChannel.cs
- DesignOnlyAttribute.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CustomErrorsSectionWrapper.cs
- AsyncStreamReader.cs
- XsltLibrary.cs
- ByteArrayHelperWithString.cs
- ModuleBuilder.cs
- ObjectAnimationBase.cs
- Ray3DHitTestResult.cs
- MediaTimeline.cs
- Pair.cs
- XmlHelper.cs
- nulltextcontainer.cs
- ConcurrentBag.cs
- XmlILStorageConverter.cs