Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / InvalidOleVariantTypeException.cs / 1305376 / 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);
}
[System.Security.SecuritySafeCritical] // auto-generated
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);
}
[System.Security.SecuritySafeCritical] // auto-generated
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
- _NestedMultipleAsyncResult.cs
- Double.cs
- WebPartCloseVerb.cs
- EnumValidator.cs
- WorkerRequest.cs
- HwndTarget.cs
- SchemaImporterExtensionElement.cs
- GPPOINTF.cs
- ExtentKey.cs
- SimpleMailWebEventProvider.cs
- InkCanvasFeedbackAdorner.cs
- XmlDocumentSerializer.cs
- FontStyle.cs
- TableHeaderCell.cs
- FullTextLine.cs
- CatalogPart.cs
- RadioButtonStandardAdapter.cs
- CallContext.cs
- ExceptionHandlersDesigner.cs
- XmlDictionaryString.cs
- SchemaLookupTable.cs
- RenderDataDrawingContext.cs
- ListViewItemEventArgs.cs
- ElementHostAutomationPeer.cs
- WebHttpBindingCollectionElement.cs
- SemanticAnalyzer.cs
- HttpConfigurationSystem.cs
- EventRoute.cs
- RegexTree.cs
- UriSection.cs
- ScriptRef.cs
- ModuleElement.cs
- StaticContext.cs
- HttpConfigurationContext.cs
- Function.cs
- CombinedHttpChannel.cs
- NullReferenceException.cs
- ItemMap.cs
- FacetChecker.cs
- DataControlButton.cs
- ValueConversionAttribute.cs
- Select.cs
- OLEDB_Util.cs
- Bitmap.cs
- OuterGlowBitmapEffect.cs
- ImageCodecInfo.cs
- AuthenticatedStream.cs
- WorkflowServiceInstance.cs
- BinaryWriter.cs
- ClientProtocol.cs
- SharedDp.cs
- EntitySqlQueryState.cs
- ConfigViewGenerator.cs
- PropertyPath.cs
- ParseChildrenAsPropertiesAttribute.cs
- ResourceReader.cs
- DeflateInput.cs
- ImageSource.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- DataGridView.cs
- QueryStatement.cs
- CallbackValidator.cs
- SecureUICommand.cs
- XmlSiteMapProvider.cs
- ApplicationInfo.cs
- SerializerDescriptor.cs
- AuthenticatedStream.cs
- DrawingDrawingContext.cs
- ListParagraph.cs
- ReadingWritingEntityEventArgs.cs
- ListBoxItemAutomationPeer.cs
- MimeAnyImporter.cs
- XmlProcessingInstruction.cs
- AspNetSynchronizationContext.cs
- TextElementEditingBehaviorAttribute.cs
- ButtonChrome.cs
- WorkflowApplicationIdleEventArgs.cs
- ListBase.cs
- SchemaElementLookUpTableEnumerator.cs
- XmlTextEncoder.cs
- UnsafePeerToPeerMethods.cs
- TreeViewImageIndexConverter.cs
- RegexFCD.cs
- ControlDesigner.cs
- SimpleMailWebEventProvider.cs
- LinearKeyFrames.cs
- PtsCache.cs
- InplaceBitmapMetadataWriter.cs
- XmlSchemaSimpleTypeList.cs
- Int32Storage.cs
- SurrogateEncoder.cs
- RawStylusSystemGestureInputReport.cs
- TableItemProviderWrapper.cs
- DataContractSet.cs
- Win32MouseDevice.cs
- DrawToolTipEventArgs.cs
- MaterialGroup.cs
- _IPv6Address.cs
- JoinQueryOperator.cs
- EventRouteFactory.cs