Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / InteropServices / InvalidOleVariantTypeException.cs / 1 / InvalidOleVariantTypeException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: InvalidOleVariantTypeException ** ** Purpose: The type of an OLE variant that was passed into the runtime is ** invalid. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class InvalidOleVariantTypeException : SystemException { public InvalidOleVariantTypeException() : base(Environment.GetResourceString("Arg_InvalidOleVariantTypeException")) { SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE); } public InvalidOleVariantTypeException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE); } public InvalidOleVariantTypeException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE); } protected InvalidOleVariantTypeException(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: InvalidOleVariantTypeException ** ** Purpose: The type of an OLE variant that was passed into the runtime is ** invalid. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class InvalidOleVariantTypeException : SystemException { public InvalidOleVariantTypeException() : base(Environment.GetResourceString("Arg_InvalidOleVariantTypeException")) { SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE); } public InvalidOleVariantTypeException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE); } public InvalidOleVariantTypeException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE); } protected InvalidOleVariantTypeException(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
- ModifierKeysConverter.cs
- ObjectListCommand.cs
- VirtualDirectoryMapping.cs
- SocketPermission.cs
- CodeArrayCreateExpression.cs
- Win32KeyboardDevice.cs
- LayoutEngine.cs
- SByteConverter.cs
- DiagnosticsConfigurationHandler.cs
- PrintDocument.cs
- UndoUnit.cs
- TextParagraphCache.cs
- GlyphRunDrawing.cs
- AuthenticationModuleElementCollection.cs
- DataGridDesigner.cs
- ValidatingPropertiesEventArgs.cs
- HttpCookie.cs
- TextChange.cs
- XmlSchemaComplexType.cs
- FullTextBreakpoint.cs
- StronglyTypedResourceBuilder.cs
- SchemaImporterExtensionsSection.cs
- ComplexType.cs
- EntityObject.cs
- ToolStripSeparator.cs
- CopyOnWriteList.cs
- SqlClientMetaDataCollectionNames.cs
- ServiceReference.cs
- MetadataItemEmitter.cs
- HttpWebRequestElement.cs
- ReadWriteObjectLock.cs
- RenameRuleObjectDialog.cs
- HttpModuleCollection.cs
- ExpressionBinding.cs
- ProfilePropertySettingsCollection.cs
- SourceFileBuildProvider.cs
- _BaseOverlappedAsyncResult.cs
- Activation.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- TextChangedEventArgs.cs
- MouseWheelEventArgs.cs
- ControlUtil.cs
- AuthStoreRoleProvider.cs
- FormParameter.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- Transform3DCollection.cs
- TrustLevel.cs
- OracleConnectionFactory.cs
- ExpressionBuilderContext.cs
- QuaternionKeyFrameCollection.cs
- UnsafeNativeMethodsPenimc.cs
- LinearGradientBrush.cs
- InfiniteIntConverter.cs
- BoolExpression.cs
- Char.cs
- sqlser.cs
- ExpressionsCollectionEditor.cs
- SendingRequestEventArgs.cs
- Visual3DCollection.cs
- TextTreeExtractElementUndoUnit.cs
- ByteStreamMessageEncodingElement.cs
- ObjectListTitleAttribute.cs
- TreeViewItem.cs
- LookupNode.cs
- WebPartMenuStyle.cs
- XmlSchemaGroupRef.cs
- Expression.cs
- ToolStripGrip.cs
- ItemList.cs
- CodeIdentifier.cs
- FormDocumentDesigner.cs
- Command.cs
- XmlElementList.cs
- LicenseManager.cs
- Soap.cs
- ServiceModelSecurityTokenTypes.cs
- PageAsyncTaskManager.cs
- MetaModel.cs
- GridProviderWrapper.cs
- RowUpdatingEventArgs.cs
- ListItem.cs
- RadioButton.cs
- bidPrivateBase.cs
- XmlSerializerFactory.cs
- ToolStripContainerDesigner.cs
- DesignerValidationSummaryAdapter.cs
- MetadataItem.cs
- HttpApplication.cs
- SHA512.cs
- RowUpdatingEventArgs.cs
- IISMapPath.cs
- BrowserCapabilitiesCompiler.cs
- DurableEnlistmentState.cs
- XmlEnumAttribute.cs
- util.cs
- SmtpNtlmAuthenticationModule.cs
- TextTreeText.cs
- XhtmlBasicPhoneCallAdapter.cs
- Process.cs
- EventQueueState.cs