Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- rsa.cs
- SoundPlayer.cs
- FixedDocument.cs
- CommandConverter.cs
- EntitySqlException.cs
- SoundPlayer.cs
- DependencyPropertyKind.cs
- HttpConfigurationContext.cs
- OleDbConnectionFactory.cs
- EventInfo.cs
- ContentDisposition.cs
- ItemsControlAutomationPeer.cs
- FormViewRow.cs
- AuthStoreRoleProvider.cs
- MultipartIdentifier.cs
- DataServiceEntityAttribute.cs
- EnumBuilder.cs
- ProfileManager.cs
- FamilyMapCollection.cs
- XamlTemplateSerializer.cs
- FileEnumerator.cs
- MetafileHeaderWmf.cs
- FormViewDeleteEventArgs.cs
- SchemaCompiler.cs
- Intellisense.cs
- ChtmlTextWriter.cs
- TTSVoice.cs
- _NestedSingleAsyncResult.cs
- Authorization.cs
- HealthMonitoringSection.cs
- _IPv6Address.cs
- StateMachineSubscriptionManager.cs
- LocatorPartList.cs
- MenuItem.cs
- BamlResourceDeserializer.cs
- RelationshipWrapper.cs
- NamespaceList.cs
- PermissionToken.cs
- linebase.cs
- WebPartConnection.cs
- DataGridViewCell.cs
- ImmutableClientRuntime.cs
- DataPointer.cs
- OpenTypeMethods.cs
- SoapInteropTypes.cs
- DomNameTable.cs
- ListControlConvertEventArgs.cs
- AutoCompleteStringCollection.cs
- ObjectDataSource.cs
- VersionValidator.cs
- ServiceOperationViewControl.cs
- CookieProtection.cs
- _FtpControlStream.cs
- EventProxy.cs
- StrongNameIdentityPermission.cs
- BuildProvider.cs
- MergePropertyDescriptor.cs
- Bold.cs
- DataReceivedEventArgs.cs
- MissingMemberException.cs
- Button.cs
- FileDataSourceCache.cs
- AsyncMethodInvoker.cs
- ServiceObjectContainer.cs
- EditorBrowsableAttribute.cs
- ContextMenuAutomationPeer.cs
- TextEditorContextMenu.cs
- HtmlString.cs
- Localizer.cs
- CodeCatchClauseCollection.cs
- FrameworkReadOnlyPropertyMetadata.cs
- EventsTab.cs
- IntegerValidatorAttribute.cs
- ImageDrawing.cs
- ColumnBinding.cs
- ReadOnlyTernaryTree.cs
- ConnectionProviderAttribute.cs
- StreamWithDictionary.cs
- _ListenerRequestStream.cs
- PtsHost.cs
- ExpressionVisitorHelpers.cs
- DesignSurfaceServiceContainer.cs
- WebResponse.cs
- BoolLiteral.cs
- QilTargetType.cs
- XmlSchemaException.cs
- ToolStripSystemRenderer.cs
- Highlights.cs
- WSFederationHttpSecurity.cs
- JsonReaderDelegator.cs
- XNodeSchemaApplier.cs
- DependencyObject.cs
- COM2ExtendedUITypeEditor.cs
- ProcessStartInfo.cs
- TemplateBindingExtension.cs
- WizardForm.cs
- JsonMessageEncoderFactory.cs
- ResourceContainer.cs
- GcHandle.cs
- LoadWorkflowByInstanceKeyCommand.cs