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
- StatusBarPanelClickEvent.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- RedBlackList.cs
- XPathSelectionIterator.cs
- ConditionBrowserDialog.cs
- ZipIOExtraFieldPaddingElement.cs
- WebResourceAttribute.cs
- LinqDataSourceDeleteEventArgs.cs
- webclient.cs
- MailMessage.cs
- StreamInfo.cs
- Vector3DCollectionValueSerializer.cs
- Label.cs
- PaginationProgressEventArgs.cs
- SqlCharStream.cs
- SoapDocumentServiceAttribute.cs
- BuildResultCache.cs
- AccessedThroughPropertyAttribute.cs
- HttpHandlersSection.cs
- WebPartMenuStyle.cs
- ComPersistableTypeElementCollection.cs
- HMAC.cs
- OleDbMetaDataFactory.cs
- Inflater.cs
- TlsnegoTokenProvider.cs
- Compress.cs
- CompositeCollectionView.cs
- precedingquery.cs
- PartialCachingAttribute.cs
- SafeNativeMethodsCLR.cs
- TableParaClient.cs
- AttributeQuery.cs
- FileUtil.cs
- XmlILModule.cs
- NativeMethods.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- Bezier.cs
- AnnotationStore.cs
- EpmSyndicationContentSerializer.cs
- ToolboxItemCollection.cs
- oledbconnectionstring.cs
- MsmqTransportReceiveParameters.cs
- Vars.cs
- ViewStateException.cs
- DataGridRelationshipRow.cs
- DataServiceQuery.cs
- RsaElement.cs
- PropertyDescriptor.cs
- ResourceContainer.cs
- EnumMemberAttribute.cs
- BamlResourceDeserializer.cs
- WebPartConnectionsCloseVerb.cs
- SqlOuterApplyReducer.cs
- Span.cs
- SvcMapFileSerializer.cs
- BaseUriHelper.cs
- ExtendedPropertyDescriptor.cs
- CellIdBoolean.cs
- DesignerTextWriter.cs
- CodeObject.cs
- XmlElementAttributes.cs
- OdbcConnectionOpen.cs
- DefaultWorkflowSchedulerService.cs
- ModelItem.cs
- ScaleTransform.cs
- OutputCacheProfile.cs
- MarginsConverter.cs
- DataGridItemEventArgs.cs
- BaseCollection.cs
- x509utils.cs
- XmlMembersMapping.cs
- FlowDocumentScrollViewer.cs
- StyleSheetDesigner.cs
- Utilities.cs
- WindowPattern.cs
- X509WindowsSecurityToken.cs
- HtmlControlDesigner.cs
- BaseParser.cs
- ElementProxy.cs
- SqlGatherProducedAliases.cs
- MembershipSection.cs
- FormatSettings.cs
- _OverlappedAsyncResult.cs
- HttpBrowserCapabilitiesWrapper.cs
- ProviderMetadata.cs
- PreservationFileReader.cs
- LostFocusEventManager.cs
- InteropAutomationProvider.cs
- Literal.cs
- ImageSourceValueSerializer.cs
- DocumentXmlWriter.cs
- ImplicitInputBrush.cs
- NativeMethods.cs
- Executor.cs
- DataSourceConverter.cs
- RawContentTypeMapper.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- PermissionSet.cs
- SimpleBitVector32.cs
- OleDbStruct.cs