Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- PackageController.cs
- WebPartDescription.cs
- WebPageTraceListener.cs
- ExpressionEvaluator.cs
- translator.cs
- FileNotFoundException.cs
- UpdatePanel.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- MetaType.cs
- PipeStream.cs
- DataServiceCollectionOfT.cs
- WebPartAuthorizationEventArgs.cs
- OrderByBuilder.cs
- designeractionlistschangedeventargs.cs
- Console.cs
- CommandDevice.cs
- ListViewTableCell.cs
- MDIClient.cs
- ToolBarButtonClickEvent.cs
- MessageUtil.cs
- AdPostCacheSubstitution.cs
- CriticalFinalizerObject.cs
- Int32EqualityComparer.cs
- XmlCharType.cs
- QuaternionKeyFrameCollection.cs
- RowToFieldTransformer.cs
- recordstatefactory.cs
- TextRangeEditLists.cs
- DateTimeOffsetConverter.cs
- SrgsRulesCollection.cs
- ItemContainerGenerator.cs
- httpstaticobjectscollection.cs
- SourceSwitch.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- HttpRuntime.cs
- DataGridViewCellEventArgs.cs
- SByteConverter.cs
- Frame.cs
- FrameDimension.cs
- XamlVector3DCollectionSerializer.cs
- InstanceData.cs
- BordersPage.cs
- RecordsAffectedEventArgs.cs
- PageParserFilter.cs
- AutoScrollHelper.cs
- FormsAuthenticationCredentials.cs
- FileDialog_Vista.cs
- XmlTextEncoder.cs
- MetadataArtifactLoaderResource.cs
- SqlInternalConnectionTds.cs
- SiteOfOriginPart.cs
- CodeGotoStatement.cs
- ZeroOpNode.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ResXResourceSet.cs
- EventTask.cs
- Encoding.cs
- SerializerProvider.cs
- Cursor.cs
- TemporaryBitmapFile.cs
- printdlgexmarshaler.cs
- MessagePartProtectionMode.cs
- LingerOption.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ChangeNode.cs
- TdsEnums.cs
- RelativeSource.cs
- ExceptionRoutedEventArgs.cs
- FigureHelper.cs
- XPathException.cs
- _AuthenticationState.cs
- sqlpipe.cs
- LoaderAllocator.cs
- WindowsStatusBar.cs
- ProcessManager.cs
- TreeViewItemAutomationPeer.cs
- MarkupExtensionReturnTypeAttribute.cs
- SpecularMaterial.cs
- TypeUtils.cs
- MemberDescriptor.cs
- HitTestWithGeometryDrawingContextWalker.cs
- PagesChangedEventArgs.cs
- Decoder.cs
- ConnectionStringsExpressionBuilder.cs
- DescendantOverDescendantQuery.cs
- Logging.cs
- CheckableControlBaseAdapter.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- XmlNamespaceDeclarationsAttribute.cs
- ValidatingReaderNodeData.cs
- Rotation3D.cs
- OleDbRowUpdatedEvent.cs
- SecurityException.cs
- TdsParserSessionPool.cs
- SqlProfileProvider.cs
- BinaryParser.cs
- UserPreferenceChangedEventArgs.cs
- StringPropertyBuilder.cs
- WebPartDescriptionCollection.cs
- ToolboxItem.cs