Code:
/ FX-1434 / FX-1434 / 1.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
- ApplicationTrust.cs
- ListViewEditEventArgs.cs
- SafeEventLogWriteHandle.cs
- CapabilitiesPattern.cs
- HttpServerUtilityWrapper.cs
- RenderData.cs
- PreProcessor.cs
- BitmapEffectGroup.cs
- Selection.cs
- InputScopeConverter.cs
- Pointer.cs
- CorrelationService.cs
- CommonProperties.cs
- FrameworkContentElement.cs
- TypefaceCollection.cs
- SafeProcessHandle.cs
- EventDescriptor.cs
- ISessionStateStore.cs
- PersonalizationDictionary.cs
- SystemUnicastIPAddressInformation.cs
- Pkcs7Recipient.cs
- XsltInput.cs
- XmlAttributeAttribute.cs
- WorkflowQueuingService.cs
- Rotation3DAnimationBase.cs
- OperationAbortedException.cs
- XXXOnTypeBuilderInstantiation.cs
- Regex.cs
- TemplateInstanceAttribute.cs
- PopupEventArgs.cs
- WhileDesigner.xaml.cs
- AsyncResult.cs
- IndexedString.cs
- ToolTipService.cs
- GenericPrincipal.cs
- ControlCachePolicy.cs
- QilName.cs
- connectionpool.cs
- ReturnEventArgs.cs
- FixedDocument.cs
- ValidationSummary.cs
- WebPartsPersonalizationAuthorization.cs
- AsymmetricAlgorithm.cs
- ImageSourceValueSerializer.cs
- HttpResponse.cs
- ItemsPanelTemplate.cs
- TemplateBamlRecordReader.cs
- XsdValidatingReader.cs
- ComponentSerializationService.cs
- InputLangChangeEvent.cs
- DataGridViewBindingCompleteEventArgs.cs
- PrintPreviewGraphics.cs
- OptimalBreakSession.cs
- AnnotationStore.cs
- TreeViewBindingsEditorForm.cs
- OutputCacheSection.cs
- SqlResolver.cs
- HtmlInputRadioButton.cs
- StatusBar.cs
- InputLangChangeRequestEvent.cs
- XmlEventCache.cs
- SocketPermission.cs
- Confirm.cs
- Line.cs
- DescendantBaseQuery.cs
- OpenTypeLayout.cs
- DiscoveryUtility.cs
- FreeFormDragDropManager.cs
- TextEditorSelection.cs
- LinkTarget.cs
- ModifierKeysValueSerializer.cs
- _WinHttpWebProxyDataBuilder.cs
- CustomAttribute.cs
- SchemaContext.cs
- XamlPointCollectionSerializer.cs
- WindowsGraphicsWrapper.cs
- SmtpMail.cs
- Maps.cs
- X509ThumbprintKeyIdentifierClause.cs
- SourceFileBuildProvider.cs
- BoolExpr.cs
- NavigatingCancelEventArgs.cs
- IsolatedStorageFile.cs
- HttpDigestClientElement.cs
- AliasGenerator.cs
- RolePrincipal.cs
- TabItemAutomationPeer.cs
- SecureEnvironment.cs
- HMACRIPEMD160.cs
- PrtTicket_Public_Simple.cs
- CompensatableSequenceActivity.cs
- OutOfProcStateClientManager.cs
- DataServiceEntityAttribute.cs
- ObjectAssociationEndMapping.cs
- SmtpFailedRecipientsException.cs
- RoleGroupCollection.cs
- InvalidOperationException.cs
- HuffModule.cs
- Permission.cs
- DataGridViewCell.cs