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
- RuleConditionDialog.cs
- QuotaExceededException.cs
- LineServicesCallbacks.cs
- DbConnectionPoolOptions.cs
- HitTestFilterBehavior.cs
- TextServicesCompartmentEventSink.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ApplicationException.cs
- PeerNameRegistration.cs
- HitTestResult.cs
- TreeNodeCollectionEditor.cs
- DbDeleteCommandTree.cs
- ResolvedKeyFrameEntry.cs
- SoapProtocolImporter.cs
- TypeTypeConverter.cs
- SequenceDesignerAccessibleObject.cs
- AttributeTableBuilder.cs
- ConstrainedDataObject.cs
- InputBinder.cs
- UrlMappingsSection.cs
- CheckedListBox.cs
- ResolveMatchesMessageCD1.cs
- HttpCapabilitiesSectionHandler.cs
- initElementDictionary.cs
- XmlSchemaSequence.cs
- Duration.cs
- DesignerCapabilities.cs
- SQLInt32Storage.cs
- BevelBitmapEffect.cs
- EmptyEnumerable.cs
- SmtpNtlmAuthenticationModule.cs
- MultiSelectRootGridEntry.cs
- NumberEdit.cs
- AsyncPostBackErrorEventArgs.cs
- _emptywebproxy.cs
- Request.cs
- WhitespaceRuleReader.cs
- Form.cs
- EntitySetRetriever.cs
- ActivityScheduledRecord.cs
- ValueChangedEventManager.cs
- FocusChangedEventArgs.cs
- OptionalMessageQuery.cs
- Form.cs
- RepeatBehaviorConverter.cs
- BeginStoryboard.cs
- MailMessageEventArgs.cs
- CharConverter.cs
- ExceptQueryOperator.cs
- TextAdaptor.cs
- SettingsBindableAttribute.cs
- PerformanceCountersElement.cs
- ComponentRenameEvent.cs
- ProcessThread.cs
- CollectionCodeDomSerializer.cs
- PipeException.cs
- IntSecurity.cs
- CombinedGeometry.cs
- PageRequestManager.cs
- SubMenuStyleCollection.cs
- ReflectionPermission.cs
- WebException.cs
- AutomationPattern.cs
- MemoryFailPoint.cs
- ScriptingWebServicesSectionGroup.cs
- RemoteWebConfigurationHostServer.cs
- ProbeDuplexAsyncResult.cs
- DiscoveryClientChannelFactory.cs
- UrlPropertyAttribute.cs
- PeerNameRecord.cs
- ConnectionConsumerAttribute.cs
- WebBrowserProgressChangedEventHandler.cs
- RoutedUICommand.cs
- SortedSetDebugView.cs
- DataGridViewMethods.cs
- ExpressionLink.cs
- SspiWrapper.cs
- DataObjectSettingDataEventArgs.cs
- MediaEntryAttribute.cs
- FieldBuilder.cs
- ProfileProvider.cs
- DocumentXPathNavigator.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- MimeTypeAttribute.cs
- SqlRowUpdatingEvent.cs
- securitycriticaldataformultiplegetandset.cs
- XmlMemberMapping.cs
- ProtocolImporter.cs
- ProjectionCamera.cs
- EditorBrowsableAttribute.cs
- ArrayElementGridEntry.cs
- CodeMemberProperty.cs
- EventLogReader.cs
- Decimal.cs
- RegexCompilationInfo.cs
- ClassImporter.cs
- OleDbEnumerator.cs
- ReferenceSchema.cs
- HotSpotCollectionEditor.cs
- LocatorGroup.cs