Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- WebPartEditorApplyVerb.cs
- WindowsSolidBrush.cs
- NonBatchDirectoryCompiler.cs
- DataReceivedEventArgs.cs
- ZipFileInfo.cs
- RequestCachingSection.cs
- CreateUserErrorEventArgs.cs
- TableAdapterManagerNameHandler.cs
- PerformanceCounterLib.cs
- GuidelineCollection.cs
- HierarchicalDataTemplate.cs
- TCPClient.cs
- WebPartTransformerCollection.cs
- WindowsFormsHost.cs
- RecognizerBase.cs
- RpcResponse.cs
- MobileCategoryAttribute.cs
- ToolStripRenderEventArgs.cs
- GridLength.cs
- CompilerErrorCollection.cs
- WebServiceTypeData.cs
- WebBrowserEvent.cs
- ListItemCollection.cs
- Identifier.cs
- IdentityModelStringsVersion1.cs
- TableAutomationPeer.cs
- PairComparer.cs
- StructuredTypeEmitter.cs
- ProgressBar.cs
- ConsoleTraceListener.cs
- DataGridViewRowConverter.cs
- AttributeCollection.cs
- WindowsRichEdit.cs
- XComponentModel.cs
- RuntimeIdentifierPropertyAttribute.cs
- EntityDataReader.cs
- QilTargetType.cs
- PageEventArgs.cs
- __ComObject.cs
- ControlDesigner.cs
- Internal.cs
- DecodeHelper.cs
- Pair.cs
- NavigateEvent.cs
- RangeValueProviderWrapper.cs
- SafeSecurityHandles.cs
- DesignerActionItem.cs
- AssemblyCache.cs
- RegexCompilationInfo.cs
- SizeAnimationBase.cs
- EntityDataSourceReferenceGroup.cs
- GridViewSortEventArgs.cs
- AnonymousIdentificationSection.cs
- IOException.cs
- CodeLabeledStatement.cs
- ImageMapEventArgs.cs
- Matrix3DStack.cs
- ObjectManager.cs
- SystemTcpConnection.cs
- FixedDSBuilder.cs
- BufferedGraphicsManager.cs
- Walker.cs
- Tracking.cs
- GroupDescription.cs
- MenuItemBinding.cs
- OutputScopeManager.cs
- DbgCompiler.cs
- DataControlCommands.cs
- Size3DValueSerializer.cs
- SqlUtil.cs
- MsmqAuthenticationMode.cs
- MimeWriter.cs
- ProcessModelSection.cs
- DefaultParameterValueAttribute.cs
- ConnectionPool.cs
- XmlSubtreeReader.cs
- BinaryConverter.cs
- LicenseProviderAttribute.cs
- SortQuery.cs
- File.cs
- StrongBox.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Int64.cs
- RestHandlerFactory.cs
- PlainXmlDeserializer.cs
- RijndaelManaged.cs
- UserControlAutomationPeer.cs
- _SslSessionsCache.cs
- FlowDocumentScrollViewer.cs
- BrowserCapabilitiesFactoryBase.cs
- RegexMatch.cs
- DataContractSerializer.cs
- AutomationPatternInfo.cs
- DecimalSumAggregationOperator.cs
- DBProviderConfigurationHandler.cs
- FastPropertyAccessor.cs
- TextHidden.cs
- XmlSchemaExporter.cs
- LinqDataSourceUpdateEventArgs.cs
- streamingZipPartStream.cs