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
- SrgsText.cs
- RecognizedWordUnit.cs
- EventArgs.cs
- DataGridColumnDropSeparator.cs
- WindowsStartMenu.cs
- FormatSelectingMessageInspector.cs
- ContentPosition.cs
- CharAnimationBase.cs
- ActiveXSite.cs
- GridViewUpdateEventArgs.cs
- Attributes.cs
- ExpressionBuilderCollection.cs
- HttpListenerContext.cs
- BadImageFormatException.cs
- NetStream.cs
- StaticFileHandler.cs
- DynamicEntity.cs
- RequestValidator.cs
- LassoSelectionBehavior.cs
- SecureUICommand.cs
- EmulateRecognizeCompletedEventArgs.cs
- DataGridViewRowEventArgs.cs
- ExpressionConverter.cs
- FileLogRecordEnumerator.cs
- WriteableBitmap.cs
- StreamGeometry.cs
- RecognizeCompletedEventArgs.cs
- WSFederationHttpBindingElement.cs
- DataSourceGeneratorException.cs
- basemetadatamappingvisitor.cs
- FormsAuthenticationTicket.cs
- SeverityFilter.cs
- HostProtectionException.cs
- MarkupCompiler.cs
- StatusBar.cs
- RoleManagerEventArgs.cs
- AdRotator.cs
- CommonObjectSecurity.cs
- PenThread.cs
- WorkflowRuntimeSection.cs
- BamlRecordWriter.cs
- StaticContext.cs
- WebPartUserCapability.cs
- FontDriver.cs
- RelatedView.cs
- AttachedPropertyDescriptor.cs
- TransformerTypeCollection.cs
- MsmqAppDomainProtocolHandler.cs
- ServiceHttpModule.cs
- RootContext.cs
- EventLogPropertySelector.cs
- TextAnchor.cs
- RelationshipSet.cs
- FixedTextSelectionProcessor.cs
- CodeIndexerExpression.cs
- ServicesUtilities.cs
- SoapDocumentServiceAttribute.cs
- ShaderEffect.cs
- HtmlInputControl.cs
- DashStyle.cs
- NameValueCollection.cs
- ViewCellRelation.cs
- LocalBuilder.cs
- SQLResource.cs
- xmlglyphRunInfo.cs
- TextBoxDesigner.cs
- XmlDictionaryWriter.cs
- NGCPageContentSerializerAsync.cs
- XPathDocumentNavigator.cs
- X509Certificate.cs
- DotExpr.cs
- DeviceSpecificChoiceCollection.cs
- ClientTargetSection.cs
- MoveSizeWinEventHandler.cs
- Base64Decoder.cs
- DataGridViewColumnHeaderCell.cs
- _SSPISessionCache.cs
- CachedPathData.cs
- DbTransaction.cs
- EngineSiteSapi.cs
- Size.cs
- ApplicationSettingsBase.cs
- TrackBarRenderer.cs
- KeyConstraint.cs
- PeerInputChannel.cs
- ScrollItemProviderWrapper.cs
- XmlReflectionImporter.cs
- SqlDataSourceEnumerator.cs
- Decoder.cs
- IncrementalReadDecoders.cs
- DbgUtil.cs
- SqlBooleanMismatchVisitor.cs
- TextMessageEncoder.cs
- KoreanLunisolarCalendar.cs
- BitmapMetadataBlob.cs
- EventMappingSettings.cs
- SupportsEventValidationAttribute.cs
- CodeNamespaceImportCollection.cs
- XmlSequenceWriter.cs
- GeometryModel3D.cs