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
- securitycriticaldataformultiplegetandset.cs
- OpCellTreeNode.cs
- SqlConnectionPoolGroupProviderInfo.cs
- unsafenativemethodsother.cs
- BitmapEffectInput.cs
- _SpnDictionary.cs
- PerformanceCountersBase.cs
- FontFamilyValueSerializer.cs
- ConsoleKeyInfo.cs
- RIPEMD160Managed.cs
- Utility.cs
- HtmlTableCell.cs
- sqlstateclientmanager.cs
- PolicyStatement.cs
- TypedTableHandler.cs
- MouseCaptureWithinProperty.cs
- CustomSignedXml.cs
- ConfigurationException.cs
- IndexedString.cs
- Html32TextWriter.cs
- SqlDataSource.cs
- TraceSource.cs
- TextMessageEncodingElement.cs
- ExpressionCopier.cs
- IntegerValidatorAttribute.cs
- XmlSchemaAttributeGroup.cs
- StylusCaptureWithinProperty.cs
- DesignTimeParseData.cs
- NameScopePropertyAttribute.cs
- KeyGestureValueSerializer.cs
- ThemeDirectoryCompiler.cs
- PackWebRequestFactory.cs
- NullExtension.cs
- CapabilitiesSection.cs
- OLEDB_Enum.cs
- DataTableNewRowEvent.cs
- KnownTypesProvider.cs
- _FtpControlStream.cs
- SqlDuplicator.cs
- CodeDomDesignerLoader.cs
- fixedPageContentExtractor.cs
- CodeChecksumPragma.cs
- DataSourceSerializationException.cs
- Repeater.cs
- BlobPersonalizationState.cs
- UnsignedPublishLicense.cs
- OdbcReferenceCollection.cs
- PhysicalOps.cs
- ToolStripItemEventArgs.cs
- Subtree.cs
- AccessDataSource.cs
- SafeBitVector32.cs
- RegexGroup.cs
- dsa.cs
- DataControlButton.cs
- OpenFileDialog.cs
- CacheMemory.cs
- XmlComplianceUtil.cs
- FixedSOMGroup.cs
- ExpandButtonVisibilityConverter.cs
- ComponentChangingEvent.cs
- panel.cs
- ServiceHttpModule.cs
- ReferentialConstraint.cs
- DBNull.cs
- InstallerTypeAttribute.cs
- BinaryFormatterWriter.cs
- UntrustedRecipientException.cs
- Win32SafeHandles.cs
- SqlColumnizer.cs
- PreservationFileWriter.cs
- VisualTreeUtils.cs
- Point3DCollection.cs
- StyleXamlTreeBuilder.cs
- FrameAutomationPeer.cs
- TextRangeEdit.cs
- IPPacketInformation.cs
- ProgressPage.cs
- SimpleMailWebEventProvider.cs
- TextBoxView.cs
- AsyncDataRequest.cs
- LinearQuaternionKeyFrame.cs
- ThreadStaticAttribute.cs
- DataGridViewCellStyleConverter.cs
- SHA512.cs
- xamlnodes.cs
- PropertyPath.cs
- LinkedResourceCollection.cs
- WeakReference.cs
- Schedule.cs
- Merger.cs
- safelinkcollection.cs
- CompositeControl.cs
- Transform3DGroup.cs
- ShaperBuffers.cs
- SelectedGridItemChangedEvent.cs
- Random.cs
- DynamicILGenerator.cs
- ReverseComparer.cs
- CommittableTransaction.cs