Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UiaCoreTypesApi.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- IPGlobalProperties.cs
- ProbeDuplexCD1AsyncResult.cs
- UnsafeNativeMethods.cs
- SuppressIldasmAttribute.cs
- BevelBitmapEffect.cs
- MarshalByValueComponent.cs
- httpstaticobjectscollection.cs
- OuterGlowBitmapEffect.cs
- CallbackValidator.cs
- WebDisplayNameAttribute.cs
- HtmlElementErrorEventArgs.cs
- SortedDictionary.cs
- SimpleWorkerRequest.cs
- BooleanKeyFrameCollection.cs
- XamlVector3DCollectionSerializer.cs
- StrongNameKeyPair.cs
- PrinterResolution.cs
- EndpointDiscoveryMetadata11.cs
- OdbcPermission.cs
- Int32EqualityComparer.cs
- WebBrowser.cs
- DefaultPrintController.cs
- GlyphsSerializer.cs
- EncodingFallbackAwareXmlTextWriter.cs
- BitmapEffectGroup.cs
- PropertyMapper.cs
- DataTrigger.cs
- ComponentChangedEvent.cs
- ComponentEditorForm.cs
- XmlCustomFormatter.cs
- Pair.cs
- HttpCapabilitiesBase.cs
- DBCommandBuilder.cs
- EdmComplexPropertyAttribute.cs
- TextSelectionHighlightLayer.cs
- StringValueSerializer.cs
- UInt32Converter.cs
- HtmlButton.cs
- DecoratedNameAttribute.cs
- RTLAwareMessageBox.cs
- AssertUtility.cs
- SetStateDesigner.cs
- TaskHelper.cs
- ResourceExpressionBuilder.cs
- DeclaredTypeElement.cs
- DbConnectionPoolGroupProviderInfo.cs
- ArgumentOutOfRangeException.cs
- FastEncoder.cs
- ListBox.cs
- Bits.cs
- TextOutput.cs
- TreeIterators.cs
- Latin1Encoding.cs
- SqlDataSourceCustomCommandPanel.cs
- DataTransferEventArgs.cs
- TextFormatterContext.cs
- XmlIgnoreAttribute.cs
- TypeNameConverter.cs
- CustomValidator.cs
- WebPartConnectionCollection.cs
- XmlWrappingReader.cs
- EventDescriptor.cs
- RbTree.cs
- PowerStatus.cs
- ExpressionHelper.cs
- ControlFilterExpression.cs
- GridView.cs
- ResourceSet.cs
- PrimitiveXmlSerializers.cs
- FixedTextView.cs
- RemoteWebConfigurationHostServer.cs
- MdiWindowListItemConverter.cs
- RelationshipType.cs
- WebPartCancelEventArgs.cs
- FocusChangedEventArgs.cs
- ISAPIRuntime.cs
- ComponentFactoryHelpers.cs
- XmlBindingWorker.cs
- AttachedPropertyDescriptor.cs
- LinqDataSourceView.cs
- HttpApplicationFactory.cs
- IntMinMaxAggregationOperator.cs
- StylusCollection.cs
- CqlParser.cs
- Listbox.cs
- EmptyCollection.cs
- ParameterCollectionEditor.cs
- TranslateTransform.cs
- DebugHandleTracker.cs
- InternalPermissions.cs
- DebugHandleTracker.cs
- GACMembershipCondition.cs
- _ScatterGatherBuffers.cs
- HelpInfo.cs
- PrivateFontCollection.cs
- TextRunCacheImp.cs
- ThemeableAttribute.cs
- EventLogPermissionEntry.cs