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
- SeekStoryboard.cs
- MediaCommands.cs
- GridViewEditEventArgs.cs
- PreProcessInputEventArgs.cs
- EncoderParameters.cs
- TextDecorations.cs
- Vector3DCollectionValueSerializer.cs
- ChineseLunisolarCalendar.cs
- DBPropSet.cs
- TransactionManager.cs
- Util.cs
- NativeMethods.cs
- Splitter.cs
- SecurityException.cs
- COM2ExtendedTypeConverter.cs
- ChannelBase.cs
- CryptoProvider.cs
- XmlElementList.cs
- SafeEventLogReadHandle.cs
- BufferedResponseStream.cs
- XappLauncher.cs
- OdbcInfoMessageEvent.cs
- SessionStateModule.cs
- Convert.cs
- NameValuePermission.cs
- ActivityMarkupSerializationProvider.cs
- CharAnimationUsingKeyFrames.cs
- Match.cs
- WindowProviderWrapper.cs
- TypeRefElement.cs
- Property.cs
- ExpressionValueEditor.cs
- PublisherIdentityPermission.cs
- Int64AnimationBase.cs
- SQLRoleProvider.cs
- XPathAncestorQuery.cs
- ItemCollection.cs
- FontWeights.cs
- SchemaImporter.cs
- JoinTreeSlot.cs
- OdbcConnectionOpen.cs
- SessionEndedEventArgs.cs
- DbConvert.cs
- BaseHashHelper.cs
- Internal.cs
- Int16AnimationBase.cs
- TypeContext.cs
- RemotingSurrogateSelector.cs
- InputScope.cs
- EditCommandColumn.cs
- Stylus.cs
- X509RawDataKeyIdentifierClause.cs
- ToolStripItemDataObject.cs
- XmlAttributeOverrides.cs
- ErrorInfoXmlDocument.cs
- WaitForChangedResult.cs
- NumberSubstitution.cs
- PreviewPageInfo.cs
- SizeChangedEventArgs.cs
- SmtpClient.cs
- GroupQuery.cs
- CurrencyWrapper.cs
- AppSettings.cs
- HostingEnvironmentSection.cs
- AnimationTimeline.cs
- DispatcherSynchronizationContext.cs
- XNodeSchemaApplier.cs
- StreamProxy.cs
- MissingManifestResourceException.cs
- RowToFieldTransformer.cs
- TraceData.cs
- QueryCacheKey.cs
- DataGridRelationshipRow.cs
- InputScopeAttribute.cs
- SystemIcmpV4Statistics.cs
- ResolveMatchesMessage11.cs
- EventProperty.cs
- ComponentDispatcher.cs
- DataGridViewLinkColumn.cs
- DateTimeFormatInfoScanner.cs
- ClickablePoint.cs
- TryExpression.cs
- RefreshEventArgs.cs
- Package.cs
- ParsedAttributeCollection.cs
- MDIWindowDialog.cs
- ResXDataNode.cs
- CommandLineParser.cs
- GPPOINTF.cs
- X509CertificateCollection.cs
- TemplateParser.cs
- FullTrustAssemblyCollection.cs
- PropertyGrid.cs
- TransportDefaults.cs
- ThreadLocal.cs
- TaskFileService.cs
- MediaPlayer.cs
- ComponentSerializationService.cs
- XmlSchemaImport.cs
- ScriptManager.cs