Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- OracleException.cs
- SpeechDetectedEventArgs.cs
- OutOfProcStateClientManager.cs
- MemberInfoSerializationHolder.cs
- UnmanagedMemoryStream.cs
- Monitor.cs
- SessionEndingEventArgs.cs
- FatalException.cs
- CookielessHelper.cs
- Sql8ConformanceChecker.cs
- BitFlagsGenerator.cs
- MaterializeFromAtom.cs
- TransformGroup.cs
- NumberSubstitution.cs
- ReadOnlyDataSource.cs
- XmlEncodedRawTextWriter.cs
- XMLDiffLoader.cs
- MessageSecurityOverTcpElement.cs
- SourceFileBuildProvider.cs
- DesignerProperties.cs
- HandlerFactoryWrapper.cs
- ListViewUpdateEventArgs.cs
- InnerItemCollectionView.cs
- DrawingAttributesDefaultValueFactory.cs
- XmlRootAttribute.cs
- BamlTreeMap.cs
- DataGridViewColumnTypeEditor.cs
- XmlAtomicValue.cs
- ValidatorCompatibilityHelper.cs
- PropertyChangedEventManager.cs
- EventTrigger.cs
- NumericUpDownAccelerationCollection.cs
- InvokePattern.cs
- DocumentProperties.cs
- SortedList.cs
- ParameterModifier.cs
- OperationContractAttribute.cs
- WindowVisualStateTracker.cs
- SmtpSection.cs
- SamlEvidence.cs
- DataTableClearEvent.cs
- NGCSerializerAsync.cs
- CodeCatchClauseCollection.cs
- DataMisalignedException.cs
- GeometryCombineModeValidation.cs
- ReturnEventArgs.cs
- JpegBitmapDecoder.cs
- Ray3DHitTestResult.cs
- WebPartsSection.cs
- SpellerInterop.cs
- SystemIPGlobalProperties.cs
- BrowserTree.cs
- OdbcDataReader.cs
- EntityCodeGenerator.cs
- StylusPointPropertyInfo.cs
- SoapReflectionImporter.cs
- NativeMethods.cs
- datacache.cs
- InheritanceService.cs
- PackageRelationshipSelector.cs
- RelatedEnd.cs
- Oid.cs
- WebPartVerbsEventArgs.cs
- Solver.cs
- NodeFunctions.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- RegexCharClass.cs
- XmlReader.cs
- DataControlFieldCell.cs
- Input.cs
- ListSortDescription.cs
- SmiMetaDataProperty.cs
- CodeDesigner.cs
- GPRECT.cs
- SqlDataReader.cs
- LeaseManager.cs
- CodeTypeReferenceCollection.cs
- BooleanExpr.cs
- ToolStripItemClickedEventArgs.cs
- TreeView.cs
- CacheHelper.cs
- _SSPIWrapper.cs
- X509Certificate2.cs
- ParameterRefs.cs
- TextTreeInsertElementUndoUnit.cs
- LayoutExceptionEventArgs.cs
- InstanceDataCollection.cs
- TextTabProperties.cs
- ComplusTypeValidator.cs
- IncrementalHitTester.cs
- NodeCounter.cs
- RemotingSurrogateSelector.cs
- DataGridViewTextBoxEditingControl.cs
- PagePropertiesChangingEventArgs.cs
- SHA384.cs
- TextParagraph.cs
- SiteMapPath.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- TextTreeRootNode.cs
- DataServiceProcessingPipeline.cs