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
- ConfigurationManagerHelperFactory.cs
- basenumberconverter.cs
- ContentElement.cs
- X509CertificateCollection.cs
- UpdateRecord.cs
- TextFormatterHost.cs
- FileSystemInfo.cs
- Parser.cs
- ToolStripDropTargetManager.cs
- DataTemplateKey.cs
- CodeGeneratorAttribute.cs
- CatalogPartChrome.cs
- HtmlInputCheckBox.cs
- HtmlContainerControl.cs
- SpecularMaterial.cs
- CanonicalXml.cs
- Pen.cs
- FreeFormDesigner.cs
- Schema.cs
- GenericIdentity.cs
- EventBookmark.cs
- BoolExpression.cs
- Image.cs
- WebPartTransformerAttribute.cs
- XmlCountingReader.cs
- Size.cs
- RootBrowserWindowProxy.cs
- StringAnimationBase.cs
- ResourceManager.cs
- DoubleLinkList.cs
- ProjectionAnalyzer.cs
- PathGeometry.cs
- CompressedStack.cs
- PEFileEvidenceFactory.cs
- SchemaNames.cs
- QueryInterceptorAttribute.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- SchemaImporterExtensionElementCollection.cs
- SortQuery.cs
- LogicalExpressionEditor.cs
- PageParserFilter.cs
- Buffer.cs
- DelayLoadType.cs
- TrustLevel.cs
- CredentialManagerDialog.cs
- CodeExpressionStatement.cs
- SaveWorkflowAsyncResult.cs
- ExtendedPropertyCollection.cs
- FlowNode.cs
- FileDialogCustomPlacesCollection.cs
- DataGridViewToolTip.cs
- Confirm.cs
- EntityClientCacheEntry.cs
- CreateWorkflowOwnerCommand.cs
- GridItemPattern.cs
- DataGridViewCellValueEventArgs.cs
- FileDetails.cs
- SpeechSeg.cs
- BaseTemplateCodeDomTreeGenerator.cs
- LiteralText.cs
- ScriptReference.cs
- RIPEMD160Managed.cs
- HyperLink.cs
- EdmConstants.cs
- CodeVariableDeclarationStatement.cs
- ResourceDisplayNameAttribute.cs
- PropertyEmitterBase.cs
- XMLDiffLoader.cs
- PersonalizationStateInfoCollection.cs
- InternalBufferOverflowException.cs
- RulePatternOps.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- OperandQuery.cs
- XmlExceptionHelper.cs
- GlobalizationSection.cs
- SerializationObjectManager.cs
- AsyncOperationManager.cs
- ToolStripPanel.cs
- TemplateColumn.cs
- ToolStripSplitButton.cs
- WindowsListView.cs
- TextPointer.cs
- ItemMap.cs
- TypeElement.cs
- StreamGeometryContext.cs
- DataPagerField.cs
- BatchParser.cs
- IndexedEnumerable.cs
- ADConnectionHelper.cs
- ResizeGrip.cs
- DataViewManagerListItemTypeDescriptor.cs
- InheritanceContextHelper.cs
- BehaviorEditorPart.cs
- BinaryNegotiation.cs
- ExtendedPropertyDescriptor.cs
- XmlSchemaAny.cs
- SiteMapProvider.cs
- SelectionGlyph.cs
- HtmlCalendarAdapter.cs
- Camera.cs