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
- DataGridRow.cs
- OciEnlistContext.cs
- SourceSwitch.cs
- ContractInstanceProvider.cs
- RbTree.cs
- BindableTemplateBuilder.cs
- PartitionerStatic.cs
- ThousandthOfEmRealDoubles.cs
- PackagingUtilities.cs
- SpecialFolderEnumConverter.cs
- CopyAttributesAction.cs
- WebRequestModulesSection.cs
- IndependentlyAnimatedPropertyMetadata.cs
- CheckedPointers.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- FigureHelper.cs
- TemplateBindingExpressionConverter.cs
- HashMembershipCondition.cs
- SharedRuntimeState.cs
- XmlSchemaExternal.cs
- ProtocolsConfigurationHandler.cs
- DateTimeValueSerializerContext.cs
- DependencyObject.cs
- GPStream.cs
- LocationUpdates.cs
- HMACSHA1.cs
- AccessDataSource.cs
- TakeOrSkipWhileQueryOperator.cs
- FixedHighlight.cs
- MemberDescriptor.cs
- VirtualPathExtension.cs
- Label.cs
- MetadataSource.cs
- __TransparentProxy.cs
- DatatypeImplementation.cs
- Pair.cs
- TransformedBitmap.cs
- ErrorWrapper.cs
- SettingsAttributeDictionary.cs
- StandardBindingOptionalReliableSessionElement.cs
- ValidationErrorCollection.cs
- VerificationAttribute.cs
- CompositeActivityTypeDescriptor.cs
- ConcurrentDictionary.cs
- EntityDataReader.cs
- InputMethod.cs
- SectionRecord.cs
- XmlDigitalSignatureProcessor.cs
- ContentFilePart.cs
- X500Name.cs
- ValuePattern.cs
- Thickness.cs
- DataGridTableCollection.cs
- FigureParaClient.cs
- XmlStreamNodeWriter.cs
- BrowserCapabilitiesCompiler.cs
- PageBorderless.cs
- SafeCoTaskMem.cs
- ParseElement.cs
- HttpRuntimeSection.cs
- DependencySource.cs
- ListViewItemMouseHoverEvent.cs
- BulletedListEventArgs.cs
- ScaleTransform.cs
- MailWriter.cs
- StrokeNodeEnumerator.cs
- InProcStateClientManager.cs
- ArcSegment.cs
- ChtmlTextWriter.cs
- XmlNamespaceMapping.cs
- EntityType.cs
- IOException.cs
- BindingManagerDataErrorEventArgs.cs
- InfoCardRSACryptoProvider.cs
- NotImplementedException.cs
- ContentElementAutomationPeer.cs
- InvalidCastException.cs
- SqlClientFactory.cs
- IApplicationTrustManager.cs
- diagnosticsswitches.cs
- TdsParserStateObject.cs
- ServerIdentity.cs
- OrderingQueryOperator.cs
- Rect.cs
- StringReader.cs
- CharStorage.cs
- BrowserInteropHelper.cs
- SQLDateTimeStorage.cs
- XmlHelper.cs
- DbParameterHelper.cs
- Image.cs
- JsonEncodingStreamWrapper.cs
- RequiredAttributeAttribute.cs
- RegistrySecurity.cs
- ClassicBorderDecorator.cs
- RegexStringValidator.cs
- SimpleBitVector32.cs
- WebServiceTypeData.cs
- TreeNodeBindingCollection.cs
- DataServiceProcessingPipeline.cs