Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Knowncolors.cs
- PersonalizableTypeEntry.cs
- Int32Converter.cs
- SQLInt64.cs
- LoginCancelEventArgs.cs
- ExecutionContext.cs
- ColumnMapProcessor.cs
- CodeRemoveEventStatement.cs
- Clause.cs
- HwndTarget.cs
- ExecutionContext.cs
- StorageComplexPropertyMapping.cs
- AccessibleObject.cs
- ConfigXmlWhitespace.cs
- BindValidator.cs
- AlphabeticalEnumConverter.cs
- TextElement.cs
- EnumValAlphaComparer.cs
- XPathBinder.cs
- TitleStyle.cs
- XmlMemberMapping.cs
- ShellProvider.cs
- CorrelationHandle.cs
- AttachmentCollection.cs
- ResourceExpression.cs
- Facet.cs
- LinkedResourceCollection.cs
- OpenTypeLayoutCache.cs
- ByteArrayHelperWithString.cs
- RowBinding.cs
- TreeViewItem.cs
- ChannelCacheSettings.cs
- SqlDataReader.cs
- DrawingImage.cs
- UriExt.cs
- Speller.cs
- WpfKnownMemberInvoker.cs
- Visual.cs
- SecurityBindingElement.cs
- InputReferenceExpression.cs
- WebBrowserProgressChangedEventHandler.cs
- DrawingVisualDrawingContext.cs
- XamlToRtfParser.cs
- Brush.cs
- VisualBasicReference.cs
- AttachedAnnotation.cs
- AppModelKnownContentFactory.cs
- KeyNotFoundException.cs
- objectquery_tresulttype.cs
- TargetParameterCountException.cs
- SqlCacheDependencySection.cs
- _LocalDataStoreMgr.cs
- SQLGuid.cs
- CodeChecksumPragma.cs
- DataControlPagerLinkButton.cs
- ThreadExceptionDialog.cs
- OrthographicCamera.cs
- HttpListenerResponse.cs
- ListSortDescription.cs
- OleDbRowUpdatingEvent.cs
- Lookup.cs
- CommonRemoteMemoryBlock.cs
- SplineKeyFrames.cs
- WebPartZoneAutoFormat.cs
- AbsoluteQuery.cs
- ExpressionSelection.cs
- NativeMethods.cs
- WindowsPrincipal.cs
- BitmapImage.cs
- XmlSchemaSimpleTypeRestriction.cs
- DragAssistanceManager.cs
- BaseCollection.cs
- RequestCacheValidator.cs
- _ListenerAsyncResult.cs
- ClientBuildManagerCallback.cs
- GlyphRunDrawing.cs
- MethodBuilderInstantiation.cs
- TargetControlTypeAttribute.cs
- SqlNotificationRequest.cs
- RequestContext.cs
- PersonalizationState.cs
- HtmlTextArea.cs
- RepeaterItemCollection.cs
- TextBox.cs
- DeferredElementTreeState.cs
- MulticastOption.cs
- Pair.cs
- Converter.cs
- VirtualPathUtility.cs
- DataSourceCacheDurationConverter.cs
- CheckBoxList.cs
- SqlUDTStorage.cs
- InternalTypeHelper.cs
- GenericTypeParameterBuilder.cs
- TableCell.cs
- BindingMemberInfo.cs
- Atom10FeedFormatter.cs
- SourceSwitch.cs
- RegionIterator.cs
- StylusButtonCollection.cs