Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- EntityType.cs
- StringStorage.cs
- DrawingImage.cs
- NumericUpDownAccelerationCollection.cs
- CatalogZone.cs
- FilteredSchemaElementLookUpTable.cs
- CommonProperties.cs
- SapiAttributeParser.cs
- FileStream.cs
- XmlNullResolver.cs
- Trace.cs
- RepeaterCommandEventArgs.cs
- XPathDocumentNavigator.cs
- DataControlReference.cs
- SimpleLine.cs
- TextTabProperties.cs
- Certificate.cs
- ControlBuilderAttribute.cs
- BaseHashHelper.cs
- CodeLinePragma.cs
- Setter.cs
- ThrowOnMultipleAssignment.cs
- GroupBoxAutomationPeer.cs
- ScaleTransform.cs
- IsolatedStorageException.cs
- MediaElementAutomationPeer.cs
- CompilationPass2TaskInternal.cs
- Pen.cs
- RunClient.cs
- DoubleCollectionValueSerializer.cs
- MdiWindowListItemConverter.cs
- CaseInsensitiveComparer.cs
- XmlSchemaCompilationSettings.cs
- JoinCqlBlock.cs
- Visual3D.cs
- InputMethod.cs
- BeginGetFileNameFromUserRequest.cs
- RequestCacheValidator.cs
- QilName.cs
- PeerNearMe.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- FilteredReadOnlyMetadataCollection.cs
- MembershipUser.cs
- TrustLevelCollection.cs
- ToolStripGrip.cs
- ClusterSafeNativeMethods.cs
- HttpRequest.cs
- XmlSchemaInfo.cs
- PropVariant.cs
- ReferencedAssembly.cs
- SocketPermission.cs
- Simplifier.cs
- VScrollBar.cs
- SecurityElement.cs
- XmlObjectSerializerReadContext.cs
- EntitySetDataBindingList.cs
- SqlTypesSchemaImporter.cs
- ExpressionBinding.cs
- ParserContext.cs
- SqlUserDefinedTypeAttribute.cs
- ConcurrentDictionary.cs
- DataObjectAttribute.cs
- OdbcParameter.cs
- Single.cs
- TokenDescriptor.cs
- CompoundFileIOPermission.cs
- CharAnimationBase.cs
- HashCryptoHandle.cs
- DrawingContext.cs
- TransactionFlowProperty.cs
- Drawing.cs
- BufferedWebEventProvider.cs
- XmlValidatingReader.cs
- RegisteredScript.cs
- CharacterHit.cs
- XmlILOptimizerVisitor.cs
- DataColumnPropertyDescriptor.cs
- WindowInteractionStateTracker.cs
- HtmlElementEventArgs.cs
- VirtualStackFrame.cs
- Rule.cs
- InputLangChangeRequestEvent.cs
- CharacterHit.cs
- InfocardChannelParameter.cs
- SafeNativeMethodsCLR.cs
- WorkflowItemPresenter.cs
- DataGridViewCellConverter.cs
- DesignerActionListCollection.cs
- XpsPartBase.cs
- Baml2006ReaderFrame.cs
- FlowPosition.cs
- SafeSecurityHelper.cs
- ApplicationServiceManager.cs
- PropertyValidationContext.cs
- AtomParser.cs
- DataGridLinkButton.cs
- SpellerHighlightLayer.cs
- versioninfo.cs
- XmlUnspecifiedAttribute.cs
- IgnoreSection.cs