Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / DllNotFoundException.cs / 1305376 / DllNotFoundException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: DllNotFoundException ** ** ** Purpose: The exception class for some failed P/Invoke calls. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class DllNotFoundException : TypeLoadException { public DllNotFoundException() : base(Environment.GetResourceString("Arg_DllNotFoundException")) { SetErrorCode(__HResults.COR_E_DLLNOTFOUND); } public DllNotFoundException(String message) : base(message) { SetErrorCode(__HResults.COR_E_DLLNOTFOUND); } public DllNotFoundException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_DLLNOTFOUND); } [System.Security.SecuritySafeCritical] // auto-generated protected DllNotFoundException(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: DllNotFoundException ** ** ** Purpose: The exception class for some failed P/Invoke calls. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class DllNotFoundException : TypeLoadException { public DllNotFoundException() : base(Environment.GetResourceString("Arg_DllNotFoundException")) { SetErrorCode(__HResults.COR_E_DLLNOTFOUND); } public DllNotFoundException(String message) : base(message) { SetErrorCode(__HResults.COR_E_DLLNOTFOUND); } public DllNotFoundException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_DLLNOTFOUND); } [System.Security.SecuritySafeCritical] // auto-generated protected DllNotFoundException(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
- ExceptionRoutedEventArgs.cs
- DesignerAutoFormatStyle.cs
- ArrayList.cs
- SystemInfo.cs
- TableLayoutStyleCollection.cs
- ReadOnlyMetadataCollection.cs
- TTSEngineTypes.cs
- LiteralSubsegment.cs
- Guid.cs
- ExpressionPrefixAttribute.cs
- SqlCacheDependency.cs
- TablePatternIdentifiers.cs
- DurableInstance.cs
- TypedElement.cs
- SoapReflectionImporter.cs
- OleDbDataReader.cs
- ProviderIncompatibleException.cs
- FrameworkElement.cs
- InputLanguageCollection.cs
- Socket.cs
- CancellationHandler.cs
- TypeUnloadedException.cs
- DeclaredTypeValidator.cs
- CodePropertyReferenceExpression.cs
- XmlSchemaSubstitutionGroup.cs
- PipelineModuleStepContainer.cs
- WindowsListView.cs
- SmiRecordBuffer.cs
- LayoutInformation.cs
- WebPartMenuStyle.cs
- BitmapDownload.cs
- Formatter.cs
- ProcessInfo.cs
- ViewCellSlot.cs
- GlyphCache.cs
- AnimationTimeline.cs
- NameValueCollection.cs
- SqlCommandBuilder.cs
- xmlglyphRunInfo.cs
- Sql8ExpressionRewriter.cs
- XmlAtomicValue.cs
- TextRangeEditLists.cs
- XamlInt32CollectionSerializer.cs
- SessionStateUtil.cs
- ValidationManager.cs
- LineInfo.cs
- WindowsGraphics.cs
- HttpHandlersSection.cs
- LinqDataSourceInsertEventArgs.cs
- HttpContext.cs
- ToolStripItemImageRenderEventArgs.cs
- SymmetricKeyWrap.cs
- AutomationEventArgs.cs
- DataGridViewHitTestInfo.cs
- ServiceThrottlingElement.cs
- TypeDependencyAttribute.cs
- SinglePageViewer.cs
- PersistenceTypeAttribute.cs
- CompensableActivity.cs
- StructuredTypeInfo.cs
- StaticExtensionConverter.cs
- ColorConvertedBitmapExtension.cs
- XmlTextWriter.cs
- SignatureToken.cs
- PenCursorManager.cs
- BulletDecorator.cs
- XmlSerializerFactory.cs
- ItemMap.cs
- DataFormats.cs
- Tag.cs
- WindowHideOrCloseTracker.cs
- PriorityBinding.cs
- ITreeGenerator.cs
- MulticastIPAddressInformationCollection.cs
- FileDetails.cs
- XmlText.cs
- AttributeExtensions.cs
- FunctionNode.cs
- TabletDeviceInfo.cs
- CategoriesDocumentFormatter.cs
- XslTransform.cs
- WebPartVerbCollection.cs
- Adorner.cs
- WindowsContainer.cs
- OleDbDataReader.cs
- DataSetMappper.cs
- AutomationAttributeInfo.cs
- TableRowGroup.cs
- MemberDescriptor.cs
- PathParser.cs
- AttachmentService.cs
- HttpInputStream.cs
- DefaultObjectMappingItemCollection.cs
- Predicate.cs
- SqlPersistenceProviderFactory.cs
- DecimalConstantAttribute.cs
- _OSSOCK.cs
- wmiprovider.cs
- CacheManager.cs
- UserControl.cs