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
- LineVisual.cs
- CodeGeneratorOptions.cs
- StrokeNodeEnumerator.cs
- TemplateControl.cs
- ConsumerConnectionPoint.cs
- IChannel.cs
- MethodToken.cs
- ParameterReplacerVisitor.cs
- RemoteWebConfigurationHost.cs
- LinqMaximalSubtreeNominator.cs
- StrokeCollectionConverter.cs
- SecurityContextCookieSerializer.cs
- ClientData.cs
- MimeBasePart.cs
- SubMenuStyleCollection.cs
- HwndSubclass.cs
- ResourceReferenceExpressionConverter.cs
- SecurityContextCookieSerializer.cs
- StatusStrip.cs
- ResizingMessageFilter.cs
- ThreadStartException.cs
- Evaluator.cs
- BuildManagerHost.cs
- WorkflowInstanceSuspendedRecord.cs
- ToolStripTextBox.cs
- CachedRequestParams.cs
- StringAnimationUsingKeyFrames.cs
- MaterialGroup.cs
- ExtendedPropertyCollection.cs
- DeploymentExceptionMapper.cs
- Quad.cs
- SimpleWebHandlerParser.cs
- PassportAuthenticationEventArgs.cs
- NavigationWindowAutomationPeer.cs
- XmlAutoDetectWriter.cs
- PrintPageEvent.cs
- DataGridPageChangedEventArgs.cs
- FormsAuthenticationModule.cs
- ItemChangedEventArgs.cs
- UTF8Encoding.cs
- RemoteCryptoRsaServiceProvider.cs
- Attributes.cs
- DataSourceCache.cs
- HostingEnvironment.cs
- COM2ComponentEditor.cs
- SqlAliaser.cs
- PageWrapper.cs
- RowBinding.cs
- InternalBase.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- WorkflowApplicationAbortedEventArgs.cs
- FigureParaClient.cs
- AuthenticateEventArgs.cs
- IPPacketInformation.cs
- QilDataSource.cs
- XmlValidatingReader.cs
- XPathSingletonIterator.cs
- ConfigurationManagerHelperFactory.cs
- RelationshipSet.cs
- ContainerParagraph.cs
- DataGridViewCellStyleEditor.cs
- RequiredAttributeAttribute.cs
- Debugger.cs
- ProvidersHelper.cs
- XPathSelfQuery.cs
- CacheAxisQuery.cs
- ThicknessKeyFrameCollection.cs
- ProviderSettingsCollection.cs
- MultipleViewPattern.cs
- SplayTreeNode.cs
- SerTrace.cs
- AccessedThroughPropertyAttribute.cs
- DataGridAddNewRow.cs
- ObjectViewListener.cs
- ObjectReferenceStack.cs
- Attachment.cs
- CodeFieldReferenceExpression.cs
- HealthMonitoringSectionHelper.cs
- IconEditor.cs
- FloaterBaseParaClient.cs
- GridViewRowCollection.cs
- UnsafeNativeMethods.cs
- ValueTypePropertyReference.cs
- TextInfo.cs
- WebPartHelpVerb.cs
- XmlQualifiedNameTest.cs
- QilTernary.cs
- VisualTarget.cs
- DATA_BLOB.cs
- KnownAssemblyEntry.cs
- XsltContext.cs
- BuildProvider.cs
- StoreAnnotationsMap.cs
- StyleCollection.cs
- GridItemPattern.cs
- TimeZoneNotFoundException.cs
- RadioButton.cs
- DataGridViewImageColumn.cs
- ListDictionaryInternal.cs
- securitymgrsite.cs