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
- LongValidatorAttribute.cs
- TypeInitializationException.cs
- UnsafeNativeMethods.cs
- LinkedResource.cs
- HttpServerUtilityBase.cs
- PassportAuthenticationEventArgs.cs
- XmlLanguage.cs
- FormCollection.cs
- X509CertificateValidator.cs
- GridViewEditEventArgs.cs
- ActivityExecutionContextCollection.cs
- RemotingServices.cs
- TextFormatterImp.cs
- DebuggerAttributes.cs
- DependsOnAttribute.cs
- StylusEventArgs.cs
- CertificateReferenceElement.cs
- DocumentSequence.cs
- ThreadAttributes.cs
- Update.cs
- DynamicILGenerator.cs
- TransactionContextManager.cs
- TreeViewImageKeyConverter.cs
- MetaData.cs
- ContainerParagraph.cs
- WsdlImporterElementCollection.cs
- IArgumentProvider.cs
- FormCollection.cs
- WebPartVerbsEventArgs.cs
- UpdateManifestForBrowserApplication.cs
- ValueUnavailableException.cs
- ColorConverter.cs
- WpfSharedXamlSchemaContext.cs
- Positioning.cs
- RuleSettings.cs
- PermissionSetEnumerator.cs
- PreviewKeyDownEventArgs.cs
- ListViewItemSelectionChangedEvent.cs
- StorageEndPropertyMapping.cs
- FileDialog.cs
- StrokeCollection.cs
- NetworkAddressChange.cs
- CommandID.cs
- BidOverLoads.cs
- TextBoxView.cs
- formatstringdialog.cs
- ConnectionStringSettingsCollection.cs
- ImageAnimator.cs
- BufferedGenericXmlSecurityToken.cs
- SQLResource.cs
- ControlPaint.cs
- CrossContextChannel.cs
- FormatException.cs
- XmlSchemaComplexType.cs
- TextContainerChangedEventArgs.cs
- ContextMenu.cs
- ISAPIWorkerRequest.cs
- Label.cs
- PersonalizationAdministration.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- ProjectionCamera.cs
- ParameterElementCollection.cs
- EntityViewGenerator.cs
- AgileSafeNativeMemoryHandle.cs
- IIS7WorkerRequest.cs
- CriticalExceptions.cs
- WindowsStreamSecurityBindingElement.cs
- StoreAnnotationsMap.cs
- SessionEndedEventArgs.cs
- CodeGeneratorOptions.cs
- ValuePattern.cs
- MsmqHostedTransportManager.cs
- ProcessManager.cs
- EntityConnection.cs
- InteropBitmapSource.cs
- objectresult_tresulttype.cs
- ISessionStateStore.cs
- KeyValuePairs.cs
- MultipleViewProviderWrapper.cs
- AdjustableArrowCap.cs
- ContractListAdapter.cs
- XamlGridLengthSerializer.cs
- NestedContainer.cs
- PixelFormats.cs
- PropertyDescriptorComparer.cs
- DocumentDesigner.cs
- TemplateBindingExtension.cs
- RectangleF.cs
- Figure.cs
- XmlMembersMapping.cs
- TextParagraphView.cs
- WebPartConnectionsConnectVerb.cs
- ContentOperations.cs
- CodeStatement.cs
- SqlConnectionManager.cs
- TableRow.cs
- FontSizeConverter.cs
- PaintValueEventArgs.cs
- PathTooLongException.cs
- AutomationPropertyInfo.cs