Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / InvalidOleVariantTypeException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- BinaryCommonClasses.cs
- DashStyle.cs
- RelationshipEndMember.cs
- StrongName.cs
- TypeUsage.cs
- EntityModelBuildProvider.cs
- GeneralTransform3DCollection.cs
- BinaryObjectReader.cs
- CodeIterationStatement.cs
- HttpConfigurationSystem.cs
- PropertyPathConverter.cs
- WebPartTransformerAttribute.cs
- QilName.cs
- DataGridViewIntLinkedList.cs
- MDIWindowDialog.cs
- DataGridViewLinkColumn.cs
- RecognizerInfo.cs
- DataPagerCommandEventArgs.cs
- ReadOnlyState.cs
- EventSinkHelperWriter.cs
- LineUtil.cs
- FrameworkElement.cs
- DataGridViewCellConverter.cs
- SimpleBitVector32.cs
- XmlCodeExporter.cs
- XmlILStorageConverter.cs
- PaintValueEventArgs.cs
- ListViewContainer.cs
- TrackingProfile.cs
- FixedPageAutomationPeer.cs
- MulticastIPAddressInformationCollection.cs
- ProcessActivityTreeOptions.cs
- GlyphsSerializer.cs
- CookielessHelper.cs
- CompilationSection.cs
- DeclaredTypeValidator.cs
- SqlUnionizer.cs
- __TransparentProxy.cs
- FrameworkElement.cs
- Repeater.cs
- HtmlInputCheckBox.cs
- XmlDocumentType.cs
- DesignerLabelAdapter.cs
- OracleRowUpdatedEventArgs.cs
- DateTimeValueSerializer.cs
- XmlNodeComparer.cs
- DataGridViewAdvancedBorderStyle.cs
- OutputScopeManager.cs
- SessionSwitchEventArgs.cs
- JsonQNameDataContract.cs
- ListBoxItem.cs
- OrthographicCamera.cs
- CryptoConfig.cs
- InputEventArgs.cs
- ArraySet.cs
- ObjectTag.cs
- TrustManagerMoreInformation.cs
- TabRenderer.cs
- SendingRequestEventArgs.cs
- DbConnectionPoolOptions.cs
- ScopelessEnumAttribute.cs
- WebDisplayNameAttribute.cs
- EventHandlersStore.cs
- XmlSignatureProperties.cs
- X509RecipientCertificateServiceElement.cs
- SingleKeyFrameCollection.cs
- Win32.cs
- RootDesignerSerializerAttribute.cs
- ExtendedProtectionPolicyTypeConverter.cs
- TypeListConverter.cs
- ToolstripProfessionalRenderer.cs
- HtmlTextArea.cs
- ListViewDeleteEventArgs.cs
- ResourceAttributes.cs
- ColorPalette.cs
- RegionData.cs
- SqlConnectionFactory.cs
- ObjectResult.cs
- SoundPlayer.cs
- RadioButton.cs
- AttributeData.cs
- SmtpNetworkElement.cs
- TextTreeInsertElementUndoUnit.cs
- ViewPort3D.cs
- BinaryParser.cs
- XmlRawWriter.cs
- JpegBitmapEncoder.cs
- WebPartDisplayMode.cs
- Rfc2898DeriveBytes.cs
- DateTimeStorage.cs
- AppSecurityManager.cs
- ParagraphResult.cs
- dataprotectionpermission.cs
- WebPartManagerDesigner.cs
- ClassData.cs
- CompositeFontFamily.cs
- XmlSchemaAll.cs
- OlePropertyStructs.cs
- CodeAccessPermission.cs
- ImageDrawing.cs