Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / DllNotFoundException.cs / 1 / 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);
}
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);
}
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
- TextPattern.cs
- TransactionValidationBehavior.cs
- BmpBitmapEncoder.cs
- WindowsAuthenticationModule.cs
- DataGridViewBand.cs
- returneventsaver.cs
- RowToFieldTransformer.cs
- StringValueSerializer.cs
- TabletCollection.cs
- CheckBoxStandardAdapter.cs
- dataSvcMapFileLoader.cs
- SqlCaseSimplifier.cs
- HttpCookie.cs
- SystemIPGlobalStatistics.cs
- ServiceBehaviorAttribute.cs
- TypeExtension.cs
- InvalidComObjectException.cs
- Int64Animation.cs
- DependencyPropertyKey.cs
- UriTemplateQueryValue.cs
- NotifyIcon.cs
- XmlElementCollection.cs
- CurrencyWrapper.cs
- HttpsChannelListener.cs
- ColorConvertedBitmapExtension.cs
- TrustManager.cs
- ConfigurationSectionGroupCollection.cs
- PolyBezierSegmentFigureLogic.cs
- storagemappingitemcollection.viewdictionary.cs
- XmlAutoDetectWriter.cs
- TemplateControlParser.cs
- Identity.cs
- PeerNameRecordCollection.cs
- XmlMemberMapping.cs
- QEncodedStream.cs
- PocoEntityKeyStrategy.cs
- MessagePartDescription.cs
- TextViewBase.cs
- SecurityCredentialsManager.cs
- TypedTableBaseExtensions.cs
- Currency.cs
- DelegatedStream.cs
- TemplateControlParser.cs
- ExpressionNode.cs
- DomainUpDown.cs
- SchemaImporterExtensionElement.cs
- XsltFunctions.cs
- RuleSetBrowserDialog.cs
- TextServicesCompartmentContext.cs
- Int32CollectionConverter.cs
- XmlResolver.cs
- Math.cs
- ToolStripOverflowButton.cs
- FixedSOMSemanticBox.cs
- HttpCacheVaryByContentEncodings.cs
- figurelength.cs
- IndexedString.cs
- RuntimeIdentifierPropertyAttribute.cs
- PresentationAppDomainManager.cs
- Stacktrace.cs
- UpWmlMobileTextWriter.cs
- MainMenu.cs
- TickBar.cs
- InheritedPropertyChangedEventArgs.cs
- ToolStripTextBox.cs
- CallbackValidator.cs
- ZoneLinkButton.cs
- XmlWrappingWriter.cs
- ValidationUtility.cs
- UnsafeNativeMethods.cs
- RepeatBehavior.cs
- EndpointDispatcher.cs
- Clause.cs
- HostedHttpContext.cs
- CodeSnippetCompileUnit.cs
- GenericWebPart.cs
- NavigationCommands.cs
- SystemUnicastIPAddressInformation.cs
- LogPolicy.cs
- XmlSchemaAnnotation.cs
- CapabilitiesSection.cs
- SspiNegotiationTokenProviderState.cs
- PreservationFileWriter.cs
- ProfileInfo.cs
- RoleGroup.cs
- XPathSingletonIterator.cs
- DbModificationClause.cs
- ImageFormat.cs
- ErrorTableItemStyle.cs
- SqlGenerator.cs
- FontCollection.cs
- ItemDragEvent.cs
- DbProviderManifest.cs
- WebPartUserCapability.cs
- DefaultTextStore.cs
- sortedlist.cs
- _FtpDataStream.cs
- KeyboardDevice.cs
- Visual3D.cs
- EventSinkHelperWriter.cs