Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / InteropServices / SafeArrayTypeMismatchException.cs / 1 / SafeArrayTypeMismatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SafeArrayTypeMismatchException ** ** Purpose: This exception is thrown when the runtime type of an array ** is different than the safe array sub type specified in the ** metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayTypeMismatchException : SystemException { public SafeArrayTypeMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayTypeMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } protected SafeArrayTypeMismatchException(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: SafeArrayTypeMismatchException ** ** Purpose: This exception is thrown when the runtime type of an array ** is different than the safe array sub type specified in the ** metadata. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class SafeArrayTypeMismatchException : SystemException { public SafeArrayTypeMismatchException() : base(Environment.GetResourceString("Arg_SafeArrayTypeMismatchException")) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } public SafeArrayTypeMismatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); } protected SafeArrayTypeMismatchException(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
- WebPartConnectionCollection.cs
- InternalResources.cs
- CultureTableRecord.cs
- WebServiceResponse.cs
- DataSetFieldSchema.cs
- URLIdentityPermission.cs
- DirectoryNotFoundException.cs
- ComboBox.cs
- TypedMessageConverter.cs
- DelayLoadType.cs
- SaveFileDialog.cs
- XamlLoadErrorInfo.cs
- TextEditorLists.cs
- KeySpline.cs
- NetStream.cs
- InteropDesigner.xaml.cs
- VariableQuery.cs
- UnknownBitmapDecoder.cs
- EntityException.cs
- BridgeDataRecord.cs
- TimeSpanMinutesConverter.cs
- XmlDataLoader.cs
- RegexParser.cs
- DocumentApplicationDocumentViewer.cs
- ContentDesigner.cs
- ObjectManager.cs
- XmlElementList.cs
- IndexedString.cs
- PipelineModuleStepContainer.cs
- HostExecutionContextManager.cs
- Number.cs
- ZipFileInfoCollection.cs
- ResourceProviderFactory.cs
- VerticalAlignConverter.cs
- PropertyItemInternal.cs
- CellLabel.cs
- EntityObject.cs
- EpmCustomContentWriterNodeData.cs
- Variable.cs
- Permission.cs
- LocalValueEnumerator.cs
- EndPoint.cs
- StateItem.cs
- sqlstateclientmanager.cs
- ADMembershipUser.cs
- IResourceProvider.cs
- DataGridComboBoxColumn.cs
- FormatterConverter.cs
- ConstraintStruct.cs
- TransformConverter.cs
- WebConfigurationHost.cs
- Debug.cs
- RMEnrollmentPage1.cs
- StylusPointPropertyInfo.cs
- EditableTreeList.cs
- ContentFilePart.cs
- DetailsViewRow.cs
- GiveFeedbackEvent.cs
- WebControlsSection.cs
- ObjectAnimationUsingKeyFrames.cs
- ServerValidateEventArgs.cs
- ThreadStateException.cs
- ListBoxItem.cs
- ResourcePermissionBaseEntry.cs
- PersonalizationAdministration.cs
- FormDocumentDesigner.cs
- QilDataSource.cs
- DtdParser.cs
- ConfigXmlElement.cs
- PagePropertiesChangingEventArgs.cs
- TypeNameConverter.cs
- CqlIdentifiers.cs
- TagPrefixAttribute.cs
- Socket.cs
- PerformanceCounterManager.cs
- Timer.cs
- CellTreeSimplifier.cs
- WebBrowserProgressChangedEventHandler.cs
- MaterializeFromAtom.cs
- FrugalMap.cs
- TransformerConfigurationWizardBase.cs
- Cell.cs
- DecimalAverageAggregationOperator.cs
- BitmapSourceSafeMILHandle.cs
- DecimalKeyFrameCollection.cs
- EndEvent.cs
- FileResponseElement.cs
- ParameterExpression.cs
- FieldInfo.cs
- XmlName.cs
- ListBase.cs
- HelpExampleGenerator.cs
- MultiPartWriter.cs
- FunctionImportElement.cs
- ModifierKeysConverter.cs
- DictionarySectionHandler.cs
- ToolTip.cs
- BrowserCapabilitiesCompiler.cs
- PropertyDescriptorComparer.cs
- EmptyImpersonationContext.cs