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
- ExceptionHelpers.cs
- MethodCallConverter.cs
- SafeEventLogWriteHandle.cs
- TextSelectionHighlightLayer.cs
- UnmanagedMemoryStreamWrapper.cs
- DialogResultConverter.cs
- HotSpot.cs
- SafeUserTokenHandle.cs
- SubpageParagraph.cs
- UpdatePanel.cs
- DeviceSpecificChoiceCollection.cs
- XmlSignificantWhitespace.cs
- XmlElementAttributes.cs
- HashCodeCombiner.cs
- PageWrapper.cs
- SHA384.cs
- AppDomainEvidenceFactory.cs
- StringFreezingAttribute.cs
- DataGridViewAddColumnDialog.cs
- Converter.cs
- Calendar.cs
- Typeface.cs
- MediaEntryAttribute.cs
- Route.cs
- ZipIOLocalFileHeader.cs
- FormViewUpdateEventArgs.cs
- CompositeTypefaceMetrics.cs
- WebProxyScriptElement.cs
- VisualBasicReference.cs
- Environment.cs
- SecureConversationServiceCredential.cs
- DataStorage.cs
- PassportIdentity.cs
- UIElement3D.cs
- FontFamilyConverter.cs
- HttpHandlerActionCollection.cs
- DataGridViewRowHeaderCell.cs
- RuntimeWrappedException.cs
- XmlConvert.cs
- DirectoryObjectSecurity.cs
- AppDomainGrammarProxy.cs
- Typeface.cs
- SQLBytes.cs
- PriorityRange.cs
- GlobalizationAssembly.cs
- Visual3DCollection.cs
- MatrixTransform.cs
- SoapSchemaExporter.cs
- HttpWebResponse.cs
- InvalidAsynchronousStateException.cs
- ellipse.cs
- VariantWrapper.cs
- CopyOnWriteList.cs
- IndexerNameAttribute.cs
- LocalBuilder.cs
- EdmRelationshipRoleAttribute.cs
- CompositionCommandSet.cs
- UnsafePeerToPeerMethods.cs
- NodeLabelEditEvent.cs
- PrePrepareMethodAttribute.cs
- FormatException.cs
- KeyedQueue.cs
- ScrollViewerAutomationPeer.cs
- XpsFontSerializationService.cs
- InplaceBitmapMetadataWriter.cs
- MsmqSecureHashAlgorithm.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SchemaImporterExtension.cs
- ClientFactory.cs
- ViewBox.cs
- QueryResults.cs
- SqlDataSourceView.cs
- LinqDataSourceDeleteEventArgs.cs
- LightweightCodeGenerator.cs
- ScriptBehaviorDescriptor.cs
- RowType.cs
- EventLogPermission.cs
- ExtenderProvidedPropertyAttribute.cs
- RemotingServices.cs
- VariableQuery.cs
- PtsHost.cs
- Section.cs
- NavigationService.cs
- Aggregates.cs
- AdornerLayer.cs
- ELinqQueryState.cs
- DefaultPropertyAttribute.cs
- PageFunction.cs
- DesignRelation.cs
- ConstructorBuilder.cs
- ApplicationProxyInternal.cs
- UIElementIsland.cs
- SqlIdentifier.cs
- CancellationHandler.cs
- ValueTypeFixupInfo.cs
- TextRangeAdaptor.cs
- WebAdminConfigurationHelper.cs
- SqlUtil.cs
- FontDriver.cs
- RootBrowserWindow.cs