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
- DataGridViewSelectedRowCollection.cs
- Permission.cs
- Rotation3DAnimation.cs
- StringConcat.cs
- FrameworkReadOnlyPropertyMetadata.cs
- OleDbRowUpdatingEvent.cs
- FormViewRow.cs
- FileController.cs
- CompositeFontFamily.cs
- FloaterBaseParaClient.cs
- ActionFrame.cs
- Utils.cs
- ClientScriptManagerWrapper.cs
- LicenseProviderAttribute.cs
- OleDbException.cs
- Mapping.cs
- ApplicationDirectoryMembershipCondition.cs
- UIntPtr.cs
- FamilyMap.cs
- ReadWriteSpinLock.cs
- DBNull.cs
- PropertyEntry.cs
- CqlIdentifiers.cs
- SynchronizationContext.cs
- MenuCommandService.cs
- AssertUtility.cs
- Color.cs
- EmptyQuery.cs
- sitestring.cs
- RSAOAEPKeyExchangeDeformatter.cs
- WebPartEventArgs.cs
- DotExpr.cs
- UnsafeNativeMethods.cs
- TemplateNameScope.cs
- WindowCollection.cs
- AppSettingsExpressionEditor.cs
- ClassGenerator.cs
- NavigationPropertySingletonExpression.cs
- ImportCatalogPart.cs
- ToolStripPanelDesigner.cs
- SQLChars.cs
- DocumentPageViewAutomationPeer.cs
- RequestCacheManager.cs
- ProfilePropertyNameValidator.cs
- NominalTypeEliminator.cs
- DoubleLink.cs
- ILGenerator.cs
- Registry.cs
- Margins.cs
- TextTreeText.cs
- Panel.cs
- ColorComboBox.cs
- TemplateColumn.cs
- ResourceKey.cs
- SurrogateSelector.cs
- XmlSchemaExternal.cs
- FunctionGenerator.cs
- XmlRootAttribute.cs
- ScriptResourceInfo.cs
- SimpleType.cs
- XmlReaderDelegator.cs
- AlignmentYValidation.cs
- ConfigurationManager.cs
- SqlBuffer.cs
- ProfileService.cs
- SimpleHandlerFactory.cs
- SmiContextFactory.cs
- CFStream.cs
- SimpleRecyclingCache.cs
- DataGridRow.cs
- ExtendedProtectionPolicyElement.cs
- SystemIPv6InterfaceProperties.cs
- PackUriHelper.cs
- Timer.cs
- Rule.cs
- Double.cs
- FormsAuthenticationConfiguration.cs
- LockedActivityGlyph.cs
- EntityDataSourceState.cs
- CodeCatchClauseCollection.cs
- AlignmentYValidation.cs
- WhereQueryOperator.cs
- SQLMembershipProvider.cs
- QueryStringHandler.cs
- PropertyTabAttribute.cs
- figurelengthconverter.cs
- RegistryKey.cs
- TextEncodedRawTextWriter.cs
- unsafenativemethodsother.cs
- InternalBufferManager.cs
- WebScriptMetadataMessage.cs
- DataColumnPropertyDescriptor.cs
- oledbconnectionstring.cs
- HyperLink.cs
- RootContext.cs
- DataColumnPropertyDescriptor.cs
- filewebrequest.cs
- HtmlContainerControl.cs
- MediaSystem.cs
- TimeoutStream.cs