Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FilePrompt.cs
- BindableTemplateBuilder.cs
- ContractMapping.cs
- NullExtension.cs
- XPathSelectionIterator.cs
- CultureInfoConverter.cs
- SQLUtility.cs
- SectionInput.cs
- MyContact.cs
- ReadOnlyNameValueCollection.cs
- ProxyElement.cs
- StrokeCollection.cs
- TextBoxRenderer.cs
- TextDpi.cs
- DelegatedStream.cs
- GACIdentityPermission.cs
- DataGridViewRowHeaderCell.cs
- AttributeUsageAttribute.cs
- ActivityDesignerAccessibleObject.cs
- TypedTableBase.cs
- Msec.cs
- SyndicationLink.cs
- WmlLiteralTextAdapter.cs
- FormView.cs
- EditorZoneBase.cs
- ListenerAdaptersInstallComponent.cs
- TextWriter.cs
- AttributeCallbackBuilder.cs
- PeerResolver.cs
- FixUp.cs
- ExternalFile.cs
- Token.cs
- MaterializeFromAtom.cs
- OleDbRowUpdatingEvent.cs
- DocumentViewerBase.cs
- SimpleWebHandlerParser.cs
- VisualBrush.cs
- WebPartConnection.cs
- ExceptionValidationRule.cs
- RetriableClipboard.cs
- XmlnsDefinitionAttribute.cs
- ProjectionPlan.cs
- BamlRecordHelper.cs
- OleDbRowUpdatingEvent.cs
- HotSpot.cs
- ExpandedProjectionNode.cs
- BmpBitmapDecoder.cs
- CompiledAction.cs
- LinkedList.cs
- DictionaryBase.cs
- PrimitiveType.cs
- EntitySetBaseCollection.cs
- WebConfigurationManager.cs
- ChangeBlockUndoRecord.cs
- NamedPipeHostedTransportConfiguration.cs
- SapiRecoInterop.cs
- PropertyChangeTracker.cs
- DependencyProperty.cs
- PointCollection.cs
- CacheEntry.cs
- UnknownWrapper.cs
- FrameworkElementFactory.cs
- StyleTypedPropertyAttribute.cs
- CancelAsyncOperationRequest.cs
- SerializationSectionGroup.cs
- ImageDrawing.cs
- SharedUtils.cs
- BitmapEffectDrawingContent.cs
- ColorBlend.cs
- _SpnDictionary.cs
- FilterException.cs
- BatchWriter.cs
- MarshalByRefObject.cs
- MsmqDiagnostics.cs
- ProfileProvider.cs
- Int32CollectionConverter.cs
- WebPartTracker.cs
- SqlWebEventProvider.cs
- XmlNodeChangedEventManager.cs
- StrokeRenderer.cs
- DocumentPageView.cs
- IImplicitResourceProvider.cs
- SmtpLoginAuthenticationModule.cs
- DbLambda.cs
- PbrsForward.cs
- IntPtr.cs
- TrustManager.cs
- TextTreeUndoUnit.cs
- UInt64.cs
- XmlQueryType.cs
- CompositeFontParser.cs
- EntityDataSourceSelectingEventArgs.cs
- DataSetUtil.cs
- Label.cs
- RectConverter.cs
- OrderedDictionary.cs
- UserControl.cs
- TreeViewItem.cs
- XmlSchemaIdentityConstraint.cs
- GridViewHeaderRowPresenterAutomationPeer.cs