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
- EntityReference.cs
- BackgroundWorker.cs
- XmlQualifiedName.cs
- TextTreeExtractElementUndoUnit.cs
- WebPartVerbCollection.cs
- InkCollectionBehavior.cs
- ReadOnlyMetadataCollection.cs
- OleDbReferenceCollection.cs
- BaseTreeIterator.cs
- RuntimeConfig.cs
- WorkflowViewManager.cs
- CompilerWrapper.cs
- QualifiedCellIdBoolean.cs
- QilStrConcat.cs
- GlobalEventManager.cs
- OptimisticConcurrencyException.cs
- WCFServiceClientProxyGenerator.cs
- ObjectConverter.cs
- AudioFormatConverter.cs
- ActivityExecutorOperation.cs
- ScriptManager.cs
- Metadata.cs
- HelpKeywordAttribute.cs
- DbConnectionPoolOptions.cs
- UInt16Storage.cs
- ReferenceEqualityComparer.cs
- UriSection.cs
- OleDbStruct.cs
- ContainerSelectorGlyph.cs
- BooleanSwitch.cs
- Util.cs
- _ConnectionGroup.cs
- PowerModeChangedEventArgs.cs
- TreeNodeCollection.cs
- BooleanProjectedSlot.cs
- SerializableTypeCodeDomSerializer.cs
- EdmTypeAttribute.cs
- PerspectiveCamera.cs
- Repeater.cs
- GrammarBuilderBase.cs
- DrawingAttributes.cs
- StylusButtonCollection.cs
- SortFieldComparer.cs
- MainMenu.cs
- NoneExcludedImageIndexConverter.cs
- Assert.cs
- SQLInt32Storage.cs
- PeerIPHelper.cs
- DetailsViewUpdateEventArgs.cs
- CardSpacePolicyElement.cs
- TableItemPattern.cs
- PermissionToken.cs
- XhtmlBasicValidationSummaryAdapter.cs
- BindToObject.cs
- DefinitionBase.cs
- IssuedSecurityTokenProvider.cs
- DateTimeUtil.cs
- ProfileSection.cs
- DashStyles.cs
- CorrelationManager.cs
- ToolboxItemAttribute.cs
- SpellCheck.cs
- WebRequestModuleElementCollection.cs
- CompilerCollection.cs
- MouseGestureConverter.cs
- Compiler.cs
- ZipIOLocalFileBlock.cs
- NetworkInterface.cs
- SimplePropertyEntry.cs
- FlowDocumentView.cs
- ContentTypeSettingClientMessageFormatter.cs
- MruCache.cs
- InvalidOperationException.cs
- UnwrappedTypesXmlSerializerManager.cs
- DataObjectFieldAttribute.cs
- _NtlmClient.cs
- dbdatarecord.cs
- SecurityRuntime.cs
- WebReferencesBuildProvider.cs
- ConfigurationValues.cs
- Evidence.cs
- BindingContext.cs
- TypeRefElement.cs
- TemplateComponentConnector.cs
- XPathMessageFilterElementComparer.cs
- ScriptingScriptResourceHandlerSection.cs
- XmlNavigatorStack.cs
- TypeConverterAttribute.cs
- DataTable.cs
- DBCSCodePageEncoding.cs
- DefaultWorkflowLoaderService.cs
- TextDecoration.cs
- FormViewPagerRow.cs
- WorkflowPageSetupDialog.cs
- ReachUIElementCollectionSerializer.cs
- AbsoluteQuery.cs
- File.cs
- InvariantComparer.cs
- TextEditorParagraphs.cs
- WebRequest.cs