Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / InteropServices / InvalidComObjectException.cs / 1 / InvalidComObjectException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: InvalidComObjectException ** ** Purpose: This exception is thrown when an invalid COM object is used. This ** happens when a the __ComObject type is used directly without ** having a backing class factory. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class InvalidComObjectException : SystemException { public InvalidComObjectException() : base(Environment.GetResourceString("Arg_InvalidComObjectException")) { SetErrorCode(__HResults.COR_E_INVALIDCOMOBJECT); } public InvalidComObjectException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INVALIDCOMOBJECT); } public InvalidComObjectException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_INVALIDCOMOBJECT); } protected InvalidComObjectException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RulePatternOps.cs
- _DisconnectOverlappedAsyncResult.cs
- TransformerInfoCollection.cs
- FixUpCollection.cs
- StorageSetMapping.cs
- SoapConverter.cs
- SecurityRuntime.cs
- AnnotationMap.cs
- StringValueSerializer.cs
- TextBoxBase.cs
- ThrowHelper.cs
- FontSource.cs
- SqlDeflator.cs
- FastEncoderWindow.cs
- Brush.cs
- ObjectList.cs
- MiniLockedBorderGlyph.cs
- ExpandSegmentCollection.cs
- SecurityTokenParameters.cs
- WindowsFormsSectionHandler.cs
- XmlToDatasetMap.cs
- RemoteEndpointMessageProperty.cs
- QilFunction.cs
- SimpleHandlerFactory.cs
- TextSelectionProcessor.cs
- Image.cs
- UdpDiscoveryEndpointProvider.cs
- BitmapSourceSafeMILHandle.cs
- SqlBulkCopyColumnMappingCollection.cs
- EDesignUtil.cs
- Certificate.cs
- ElementProxy.cs
- HandlerBase.cs
- CompModSwitches.cs
- MetaChildrenColumn.cs
- ToolStripSettings.cs
- MetadataCache.cs
- WorkflowQueuingService.cs
- sqlpipe.cs
- FixedTextSelectionProcessor.cs
- SrgsRule.cs
- WebControlParameterProxy.cs
- Scheduler.cs
- LinearGradientBrush.cs
- LinkButton.cs
- FilterEventArgs.cs
- Opcode.cs
- FlowDocumentView.cs
- SelectedDatesCollection.cs
- DocumentViewerConstants.cs
- XmlSchemaAll.cs
- AnnotationResource.cs
- TableRowCollection.cs
- AutomationIdentifierGuids.cs
- CompositeActivityCodeGenerator.cs
- ThemeInfoAttribute.cs
- ContentIterators.cs
- FontEditor.cs
- DeferredReference.cs
- ActiveXMessageFormatter.cs
- ImageSourceValueSerializer.cs
- OleDbCommandBuilder.cs
- StorageMappingItemLoader.cs
- ContextProperty.cs
- Visual.cs
- WindowsGraphicsWrapper.cs
- WindowPatternIdentifiers.cs
- RenderingBiasValidation.cs
- FormConverter.cs
- LinearGradientBrush.cs
- BuildResult.cs
- JournalEntryStack.cs
- TextContainerChangeEventArgs.cs
- SinglePageViewer.cs
- StringSorter.cs
- TemplateManager.cs
- MailMessage.cs
- SqlError.cs
- RemoteWebConfigurationHost.cs
- IsolatedStorageFile.cs
- WarningException.cs
- XmlSchemaSequence.cs
- UIPropertyMetadata.cs
- XmlSchemaSimpleContentRestriction.cs
- DurableEnlistmentState.cs
- IriParsingElement.cs
- UIAgentRequest.cs
- AssociationSet.cs
- QuaternionRotation3D.cs
- RestHandler.cs
- DataBoundControlAdapter.cs
- SqlDataSourceSelectingEventArgs.cs
- CharAnimationBase.cs
- ButtonPopupAdapter.cs
- DataGridViewCellFormattingEventArgs.cs
- TextServicesContext.cs
- ComboBoxItem.cs
- ExpressionBuilderContext.cs
- RenderTargetBitmap.cs
- QueryUtil.cs