Code:
/ DotNET / DotNET / 8.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
- ITreeGenerator.cs
- XXXInfos.cs
- PeerHelpers.cs
- AppDomainProtocolHandler.cs
- SpeechAudioFormatInfo.cs
- ListControlConvertEventArgs.cs
- DisplayInformation.cs
- SystemTcpConnection.cs
- RouteParametersHelper.cs
- ChameleonKey.cs
- PauseStoryboard.cs
- TextEditorTables.cs
- ApplicationCommands.cs
- KeyGesture.cs
- IDQuery.cs
- DBParameter.cs
- ToolBarPanel.cs
- MenuBindingsEditorForm.cs
- ConstraintConverter.cs
- ObjectDisposedException.cs
- GuidelineSet.cs
- RecognizerInfo.cs
- HtmlGenericControl.cs
- ConnectorRouter.cs
- Lasso.cs
- XmlSecureResolver.cs
- BigIntegerStorage.cs
- wgx_render.cs
- TrackingStringDictionary.cs
- FlowDocumentScrollViewer.cs
- ProtectedUri.cs
- DependencyPropertyHelper.cs
- ListViewGroupCollectionEditor.cs
- SafeFileMapViewHandle.cs
- XNameTypeConverter.cs
- MimeWriter.cs
- MouseEventArgs.cs
- InputLangChangeEvent.cs
- Stackframe.cs
- ComponentManagerBroker.cs
- ClientConfigurationHost.cs
- WebRequestModuleElementCollection.cs
- TimelineCollection.cs
- OutOfProcStateClientManager.cs
- CodeExporter.cs
- DesignerAutoFormatCollection.cs
- DeclaredTypeValidator.cs
- BaseParaClient.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ActiveXHelper.cs
- Triangle.cs
- TableRowCollection.cs
- MsmqProcessProtocolHandler.cs
- HttpListenerResponse.cs
- QilInvokeEarlyBound.cs
- XmlReaderDelegator.cs
- SchemaNames.cs
- DataGridViewElement.cs
- shaperfactoryquerycachekey.cs
- BamlTreeUpdater.cs
- DictionaryGlobals.cs
- EventLogPermissionAttribute.cs
- CellQuery.cs
- TextShapeableCharacters.cs
- OverrideMode.cs
- CellLabel.cs
- ProvidePropertyAttribute.cs
- validationstate.cs
- LinkedList.cs
- SingleKeyFrameCollection.cs
- XhtmlConformanceSection.cs
- HistoryEventArgs.cs
- EmptyEnumerator.cs
- UIElementAutomationPeer.cs
- QilLoop.cs
- InteropExecutor.cs
- ProtocolsSection.cs
- TextRangeSerialization.cs
- DataExpression.cs
- initElementDictionary.cs
- CompositeKey.cs
- FSWPathEditor.cs
- categoryentry.cs
- ImageIndexConverter.cs
- SoapCommonClasses.cs
- ProfilePropertySettings.cs
- Evidence.cs
- ExtendedPropertyDescriptor.cs
- TemplateParser.cs
- ChannelCacheSettings.cs
- BaseTemplatedMobileComponentEditor.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ObjectPropertyMapping.cs
- ValidationSummary.cs
- EventBookmark.cs
- UniqueIdentifierService.cs
- BypassElementCollection.cs
- EntityDataSourceContextCreatedEventArgs.cs
- TextParagraphProperties.cs
- RenderDataDrawingContext.cs