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
- FontCacheLogic.cs
- sortedlist.cs
- UnmanagedMarshal.cs
- IisTraceWebEventProvider.cs
- Calendar.cs
- VirtualizedCellInfoCollection.cs
- ModelFactory.cs
- Preprocessor.cs
- ValidationPropertyAttribute.cs
- XamlTemplateSerializer.cs
- XmlParser.cs
- WmlLiteralTextAdapter.cs
- XmlSchemaInfo.cs
- OutputCacheSection.cs
- WebDisplayNameAttribute.cs
- AccessDataSourceDesigner.cs
- Expressions.cs
- PanelDesigner.cs
- XmlStringTable.cs
- IpcPort.cs
- TextFormatterContext.cs
- AuthenticatedStream.cs
- DispatcherOperation.cs
- ScriptReferenceEventArgs.cs
- StringWriter.cs
- ValidationUtility.cs
- VisualStyleRenderer.cs
- BamlCollectionHolder.cs
- _KerberosClient.cs
- VerificationException.cs
- WindowInteropHelper.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- linebase.cs
- CodeDirectoryCompiler.cs
- OdbcHandle.cs
- ResourceDescriptionAttribute.cs
- Int16AnimationUsingKeyFrames.cs
- DataGridViewLinkCell.cs
- XmlSchemaFacet.cs
- FontSourceCollection.cs
- Avt.cs
- GenericUriParser.cs
- XmlDataSourceNodeDescriptor.cs
- TargetControlTypeCache.cs
- IPCCacheManager.cs
- PropertyGrid.cs
- StreamGeometry.cs
- FontCollection.cs
- _OSSOCK.cs
- __FastResourceComparer.cs
- IdnElement.cs
- FtpCachePolicyElement.cs
- PersistChildrenAttribute.cs
- VirtualDirectoryMappingCollection.cs
- smtppermission.cs
- CustomActivityDesigner.cs
- HttpListenerContext.cs
- TextParagraph.cs
- SingleObjectCollection.cs
- Query.cs
- Container.cs
- Color.cs
- RichTextBoxConstants.cs
- RepeaterCommandEventArgs.cs
- TypeResolver.cs
- ControlType.cs
- SelectionChangedEventArgs.cs
- ClassHandlersStore.cs
- WebServiceResponse.cs
- NotifyCollectionChangedEventArgs.cs
- RSAPKCS1SignatureDeformatter.cs
- BooleanFunctions.cs
- BulletChrome.cs
- ObjectDataSourceStatusEventArgs.cs
- HttpRequestCacheValidator.cs
- DragStartedEventArgs.cs
- SByteStorage.cs
- ToolboxItemCollection.cs
- DataGridViewAccessibleObject.cs
- DbDataAdapter.cs
- HMACSHA1.cs
- SizeAnimationBase.cs
- DataExpression.cs
- BitmapDownload.cs
- TableStyle.cs
- ActivationArguments.cs
- ConfigXmlComment.cs
- PropertyCollection.cs
- SortAction.cs
- ByteAnimationBase.cs
- SkinBuilder.cs
- XPathNodeInfoAtom.cs
- GeometryCombineModeValidation.cs
- WsatServiceAddress.cs
- FunctionParameter.cs
- GeometryModel3D.cs
- UnsafeNativeMethods.cs
- webclient.cs
- GenerateScriptTypeAttribute.cs
- WeakReference.cs