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
- PostBackOptions.cs
- HttpHandlerActionCollection.cs
- HybridDictionary.cs
- WorkflowClientDeliverMessageWrapper.cs
- TextBoxBase.cs
- ActivityBindForm.Designer.cs
- XmlQualifiedName.cs
- IpcClientChannel.cs
- Soap.cs
- ObjectDataSourceFilteringEventArgs.cs
- EventProviderWriter.cs
- DataGridColumn.cs
- UniqueIdentifierService.cs
- ComAdminWrapper.cs
- DataGridHeaderBorder.cs
- SiteMapDataSource.cs
- ObjectItemCollection.cs
- Socket.cs
- SamlAuthenticationStatement.cs
- XmlSchemaCompilationSettings.cs
- PingOptions.cs
- TypeConverterHelper.cs
- OdbcCommandBuilder.cs
- AppDomainProtocolHandler.cs
- RequestCachePolicyConverter.cs
- FactoryGenerator.cs
- Base64Encoding.cs
- EUCJPEncoding.cs
- LineInfo.cs
- ScriptModule.cs
- ResourceCategoryAttribute.cs
- CommentEmitter.cs
- ToolBar.cs
- AssociationSet.cs
- ClientUrlResolverWrapper.cs
- ListViewCommandEventArgs.cs
- DesignerInterfaces.cs
- SocketConnection.cs
- MsmqReceiveHelper.cs
- HttpServerUtilityWrapper.cs
- ReliableSession.cs
- CodeSnippetStatement.cs
- ConnectionOrientedTransportChannelListener.cs
- ScriptRegistrationManager.cs
- DataGridViewImageColumn.cs
- InvalidTimeZoneException.cs
- PersonalizableTypeEntry.cs
- BinaryKeyIdentifierClause.cs
- Rectangle.cs
- LongPath.cs
- DataGridViewAddColumnDialog.cs
- TraceHandlerErrorFormatter.cs
- externdll.cs
- PersonalizableTypeEntry.cs
- PropertyGroupDescription.cs
- GacUtil.cs
- SimpleWebHandlerParser.cs
- AbandonedMutexException.cs
- InkCanvasFeedbackAdorner.cs
- WinFormsUtils.cs
- WebPartConnectionCollection.cs
- Baml6Assembly.cs
- PublishLicense.cs
- BackgroundFormatInfo.cs
- HostedHttpTransportManager.cs
- ToolBar.cs
- ContentFilePart.cs
- SamlConditions.cs
- DataTablePropertyDescriptor.cs
- CategoryGridEntry.cs
- Monitor.cs
- ExpressionBinding.cs
- GuidConverter.cs
- FormViewPagerRow.cs
- DataSourceXmlSubItemAttribute.cs
- InvalidBodyAccessException.cs
- DataControlFieldHeaderCell.cs
- LinqDataSourceView.cs
- NumericExpr.cs
- SourceItem.cs
- NavigationHelper.cs
- StructuralCache.cs
- SecurityContext.cs
- StaticExtension.cs
- DrawListViewColumnHeaderEventArgs.cs
- WhereaboutsReader.cs
- GenericEnumConverter.cs
- TypeHelpers.cs
- ViewKeyConstraint.cs
- GridViewPageEventArgs.cs
- StructuredType.cs
- IgnoreFileBuildProvider.cs
- UIElementHelper.cs
- InvalidEnumArgumentException.cs
- SortedList.cs
- IncrementalCompileAnalyzer.cs
- FormClosedEvent.cs
- MethodCallTranslator.cs
- OptimisticConcurrencyException.cs
- ActivityExecutionContextCollection.cs