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
- DataServiceQueryException.cs
- DataBindingCollectionEditor.cs
- PositiveTimeSpanValidator.cs
- ApplicationCommands.cs
- Stroke2.cs
- ServicePerformanceCounters.cs
- BitVector32.cs
- CodeAttributeDeclaration.cs
- WindowsFormsHelpers.cs
- CellTreeSimplifier.cs
- ClientCredentialsElement.cs
- PartitionerQueryOperator.cs
- TextRunCacheImp.cs
- NetMsmqBindingCollectionElement.cs
- DbParameterHelper.cs
- RankException.cs
- StateManagedCollection.cs
- ArrangedElement.cs
- RelationshipEndCollection.cs
- CompilerResults.cs
- XmlArrayItemAttribute.cs
- SoapSchemaMember.cs
- BidPrivateBase.cs
- ListViewHitTestInfo.cs
- XmlILStorageConverter.cs
- DBAsyncResult.cs
- InkCanvasSelectionAdorner.cs
- BitmapEffectInput.cs
- SQLDoubleStorage.cs
- DefaultHttpHandler.cs
- SuppressedPackageProperties.cs
- LateBoundBitmapDecoder.cs
- WinFormsSpinner.cs
- UnconditionalPolicy.cs
- TextRangeEdit.cs
- DictionaryTraceRecord.cs
- LinqDataSourceUpdateEventArgs.cs
- CompleteWizardStep.cs
- ObjectAnimationBase.cs
- ProjectionCamera.cs
- HttpDebugHandler.cs
- XmlNodeComparer.cs
- ToolbarAUtomationPeer.cs
- BufferBuilder.cs
- SqlServices.cs
- DeclarationUpdate.cs
- SwitchAttribute.cs
- BuildProviderCollection.cs
- ProfileEventArgs.cs
- TableLayoutRowStyleCollection.cs
- RawMouseInputReport.cs
- ConcurrencyMode.cs
- TextWriterEngine.cs
- Empty.cs
- _DisconnectOverlappedAsyncResult.cs
- DataSourceXmlAttributeAttribute.cs
- RIPEMD160.cs
- SQLDateTime.cs
- TextBlockAutomationPeer.cs
- PolicyException.cs
- BitmapEffectGroup.cs
- DesignerDataStoredProcedure.cs
- MediaContext.cs
- DependencyObjectPropertyDescriptor.cs
- Int32Converter.cs
- LoadItemsEventArgs.cs
- metadatamappinghashervisitor.cs
- EnumValAlphaComparer.cs
- WebPartManagerInternals.cs
- PointIndependentAnimationStorage.cs
- ThreadInterruptedException.cs
- WebPartTransformerCollection.cs
- PolicyException.cs
- PatternMatcher.cs
- MaterialCollection.cs
- MenuScrollingVisibilityConverter.cs
- ObjRef.cs
- IEnumerable.cs
- ContextProperty.cs
- DrawingBrush.cs
- SiteMapNodeItem.cs
- LogLogRecord.cs
- ListItemParagraph.cs
- Help.cs
- ChangeDirector.cs
- TextLineResult.cs
- BindingEntityInfo.cs
- ReadOnlyHierarchicalDataSource.cs
- DeviceSpecificDesigner.cs
- DSGeneratorProblem.cs
- ObjectDataSourceMethodEventArgs.cs
- TailCallAnalyzer.cs
- RoleManagerModule.cs
- ClassHandlersStore.cs
- Pair.cs
- Int16Storage.cs
- TabControl.cs
- UpdateInfo.cs
- QueryTaskGroupState.cs
- ScalarConstant.cs