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
- SqlDelegatedTransaction.cs
- SimpleType.cs
- DesignerActionUIService.cs
- SqlClientMetaDataCollectionNames.cs
- SchemaNamespaceManager.cs
- DateTimeParse.cs
- FieldCollectionEditor.cs
- DesignerLoader.cs
- GridViewColumnCollection.cs
- AttributeEmitter.cs
- OrthographicCamera.cs
- TdsParserStateObject.cs
- CurrencyManager.cs
- AssemblyAttributes.cs
- BlockCollection.cs
- _emptywebproxy.cs
- SQLMoneyStorage.cs
- UrlPropertyAttribute.cs
- SafeArrayTypeMismatchException.cs
- SqlDataSourceEnumerator.cs
- DataBindingCollectionConverter.cs
- CustomAttributeBuilder.cs
- ScrollViewer.cs
- DocumentPageView.cs
- EdmRelationshipRoleAttribute.cs
- HtmlInputSubmit.cs
- QueryCacheKey.cs
- SelectionChangedEventArgs.cs
- DoubleLinkList.cs
- SqlEnums.cs
- XmlIlTypeHelper.cs
- httpstaticobjectscollection.cs
- XmlDataImplementation.cs
- Propagator.Evaluator.cs
- StorageSetMapping.cs
- wmiprovider.cs
- MemoryResponseElement.cs
- TypeUsage.cs
- XmlWrappingReader.cs
- RegularExpressionValidator.cs
- SpellerStatusTable.cs
- VisualBasicReference.cs
- HtmlTableRowCollection.cs
- DesignerTransaction.cs
- FixedSOMPageConstructor.cs
- ListViewItemMouseHoverEvent.cs
- IUnknownConstantAttribute.cs
- UrlPropertyAttribute.cs
- TemplateControl.cs
- MultiView.cs
- FunctionDetailsReader.cs
- ChangeInterceptorAttribute.cs
- EntityWrapperFactory.cs
- Scalars.cs
- SecureUICommand.cs
- VersionConverter.cs
- GeneralTransformGroup.cs
- CompilationSection.cs
- ItemCollection.cs
- RoutedEvent.cs
- FileDialog.cs
- ButtonField.cs
- DbParameterHelper.cs
- DesignTimeType.cs
- TextTreeText.cs
- NaturalLanguageHyphenator.cs
- FileEnumerator.cs
- JapaneseCalendar.cs
- TextElementEnumerator.cs
- DelayDesigner.cs
- ExternalException.cs
- DrawToolTipEventArgs.cs
- MruCache.cs
- ColorIndependentAnimationStorage.cs
- DetectRunnableInstancesTask.cs
- EventDescriptorCollection.cs
- SplitterEvent.cs
- ApplicationProxyInternal.cs
- BindingExpressionUncommonField.cs
- GlobalizationSection.cs
- RegexGroupCollection.cs
- ToolboxItemFilterAttribute.cs
- WindowsFormsHostAutomationPeer.cs
- DataGridTablesFactory.cs
- CallbackValidatorAttribute.cs
- FilteredXmlReader.cs
- assemblycache.cs
- AlternateView.cs
- OleDbReferenceCollection.cs
- DataGridView.cs
- EntityCommandExecutionException.cs
- OracleCommand.cs
- SqlHelper.cs
- MatchingStyle.cs
- IntegrationExceptionEventArgs.cs
- Buffer.cs
- DesignerAttribute.cs
- StringTraceRecord.cs
- CrossContextChannel.cs
- IIS7WorkerRequest.cs