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
- EditingScopeUndoUnit.cs
- SmtpCommands.cs
- DataShape.cs
- ScrollItemPatternIdentifiers.cs
- UserControlParser.cs
- OdbcConnectionPoolProviderInfo.cs
- _NTAuthentication.cs
- basecomparevalidator.cs
- RelativeSource.cs
- TaiwanCalendar.cs
- UInt16Storage.cs
- DataGridViewCellValueEventArgs.cs
- SynchronizationLockException.cs
- IPAddressCollection.cs
- SchemaLookupTable.cs
- AsnEncodedData.cs
- KeyManager.cs
- TraceInternal.cs
- ParameterBuilder.cs
- InstanceKeyCompleteException.cs
- TextPointerBase.cs
- Normalization.cs
- SingleObjectCollection.cs
- bidPrivateBase.cs
- ReservationCollection.cs
- IPGlobalProperties.cs
- GlyphShapingProperties.cs
- DbParameterCollectionHelper.cs
- InstanceOwnerException.cs
- M3DUtil.cs
- UnhandledExceptionEventArgs.cs
- ProxyWebPart.cs
- WebConfigManager.cs
- RowToParametersTransformer.cs
- ContainerUIElement3D.cs
- Location.cs
- GeneralTransform3D.cs
- SoapClientProtocol.cs
- PrintDialogDesigner.cs
- ThumbButtonInfo.cs
- hresults.cs
- ConcurrencyMode.cs
- TableRowGroup.cs
- Dictionary.cs
- Timer.cs
- DataKey.cs
- StringComparer.cs
- MediaElementAutomationPeer.cs
- SHA512.cs
- WindowsNonControl.cs
- Rule.cs
- AsymmetricSignatureDeformatter.cs
- Application.cs
- PathTooLongException.cs
- Fx.cs
- MasterPageParser.cs
- Viewport3DAutomationPeer.cs
- wgx_commands.cs
- WinEventTracker.cs
- KeyNameIdentifierClause.cs
- HostedElements.cs
- AdapterUtil.cs
- storepermissionattribute.cs
- UnsafeNativeMethods.cs
- RepeaterCommandEventArgs.cs
- TemplateBuilder.cs
- HtmlTextArea.cs
- ConfigurationStrings.cs
- RegexBoyerMoore.cs
- SubpageParagraph.cs
- MatrixCamera.cs
- SelectionRangeConverter.cs
- TreeNodeCollectionEditor.cs
- MachineKeySection.cs
- GenerateTemporaryTargetAssembly.cs
- GeometryConverter.cs
- log.cs
- XLinq.cs
- CheckedPointers.cs
- ConstraintStruct.cs
- SafeLibraryHandle.cs
- PersonalizableTypeEntry.cs
- DataPager.cs
- AssemblySettingAttributes.cs
- CanonicalFontFamilyReference.cs
- PropertyNames.cs
- AccessedThroughPropertyAttribute.cs
- ToolStripRendererSwitcher.cs
- TreeViewImageGenerator.cs
- InfoCardHelper.cs
- InteropBitmapSource.cs
- XmlTypeMapping.cs
- EditorPart.cs
- RuntimeArgumentHandle.cs
- PeerTransportBindingElement.cs
- Bidi.cs
- StylusPointPropertyUnit.cs
- MetadataSerializer.cs
- RuntimeConfigLKG.cs
- TreeNodeConverter.cs