Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / InvalidComObjectException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- BufferedOutputStream.cs
- Splitter.cs
- XmlCharCheckingReader.cs
- InvokeMethodActivityDesigner.cs
- GridEntry.cs
- CorePropertiesFilter.cs
- PageAdapter.cs
- TypeUnloadedException.cs
- ExpressionBuilderCollection.cs
- DebugInfoExpression.cs
- WrapPanel.cs
- TransformCryptoHandle.cs
- MetricEntry.cs
- IsolatedStorage.cs
- WhitespaceRule.cs
- StringFormat.cs
- IgnoreDeviceFilterElement.cs
- DefaultAssemblyResolver.cs
- AlignmentXValidation.cs
- XmlQueryType.cs
- DbProviderSpecificTypePropertyAttribute.cs
- HtmlFormWrapper.cs
- ILGen.cs
- BuildProviderAppliesToAttribute.cs
- ResourceDisplayNameAttribute.cs
- Material.cs
- NumberFormatInfo.cs
- DataGridViewCellPaintingEventArgs.cs
- WebPartHelpVerb.cs
- ScrollPatternIdentifiers.cs
- AttachedPropertyMethodSelector.cs
- DesignerActionHeaderItem.cs
- ErrorFormatter.cs
- ExeContext.cs
- MarshalByRefObject.cs
- GrammarBuilderRuleRef.cs
- Message.cs
- FormViewUpdatedEventArgs.cs
- Decimal.cs
- ControlPaint.cs
- WaitHandleCannotBeOpenedException.cs
- MatrixAnimationUsingKeyFrames.cs
- ResourceDictionaryCollection.cs
- WorkflowTransactionOptions.cs
- metrodevice.cs
- CodeTypeDelegate.cs
- MenuItem.cs
- TextElementEnumerator.cs
- NegotiateStream.cs
- SchemaSetCompiler.cs
- BinaryNode.cs
- VirtualPathProvider.cs
- TraceHandler.cs
- DurableRuntimeValidator.cs
- DoubleCollectionConverter.cs
- UidManager.cs
- GeneralTransformGroup.cs
- GuidConverter.cs
- RepeatBehaviorConverter.cs
- SettingsPropertyNotFoundException.cs
- Adorner.cs
- StringInfo.cs
- GraphicsContainer.cs
- TransactionInterop.cs
- AnnotationService.cs
- RegisteredDisposeScript.cs
- TcpAppDomainProtocolHandler.cs
- RefExpr.cs
- CustomCategoryAttribute.cs
- DocumentApplicationJournalEntry.cs
- FieldToken.cs
- MemberPath.cs
- GridViewRowEventArgs.cs
- TextTreeTextNode.cs
- ReadOnlyObservableCollection.cs
- TemplateDefinition.cs
- GenericIdentity.cs
- TransactionFlowAttribute.cs
- SecurityPolicySection.cs
- dsa.cs
- CaseInsensitiveComparer.cs
- WebSysDescriptionAttribute.cs
- Msec.cs
- HttpFileCollectionWrapper.cs
- ToolStripOverflow.cs
- httpstaticobjectscollection.cs
- _DomainName.cs
- CachedPathData.cs
- TemplateDefinition.cs
- BamlLocalizableResourceKey.cs
- HttpFileCollectionBase.cs
- KeyTimeConverter.cs
- Pts.cs
- HMACSHA256.cs
- CodeAttributeArgumentCollection.cs
- DotExpr.cs
- BaseAppDomainProtocolHandler.cs
- WebPartHelpVerb.cs
- XmlElement.cs
- TimelineClockCollection.cs