Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) {
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HashLookup.cs
- TreeNodeSelectionProcessor.cs
- ResumeStoryboard.cs
- entitydatasourceentitysetnameconverter.cs
- TraceSection.cs
- CanonicalXml.cs
- BypassElement.cs
- CachedFontFace.cs
- SqlDependencyListener.cs
- Line.cs
- XamlTreeBuilder.cs
- Rotation3DAnimationBase.cs
- FileRecordSequenceHelper.cs
- CatalogPart.cs
- IsolatedStoragePermission.cs
- SystemWebSectionGroup.cs
- SafeCryptContextHandle.cs
- CircleHotSpot.cs
- ObjectToIdCache.cs
- WebPartConnectionsCloseVerb.cs
- TTSEvent.cs
- MultiView.cs
- PropertyStore.cs
- DataGridViewBand.cs
- DataGridAddNewRow.cs
- CustomValidator.cs
- Point3D.cs
- VirtualPathProvider.cs
- connectionpool.cs
- GridLength.cs
- WinFormsUtils.cs
- BlobPersonalizationState.cs
- URLBuilder.cs
- FormatterServices.cs
- DataGridTableCollection.cs
- HMAC.cs
- ReachSerializerAsync.cs
- ProxyAttribute.cs
- SortableBindingList.cs
- XpsDocument.cs
- CfgRule.cs
- DesignTimeParseData.cs
- _AutoWebProxyScriptEngine.cs
- Dump.cs
- XmlDataDocument.cs
- UserPreferenceChangingEventArgs.cs
- Console.cs
- QueryOptionExpression.cs
- WebSysDisplayNameAttribute.cs
- SiteMapNode.cs
- DataServiceClientException.cs
- RegistryDataKey.cs
- MouseDevice.cs
- VisualTreeUtils.cs
- LoginName.cs
- EvidenceBase.cs
- FaultHandlingFilter.cs
- SelectedCellsChangedEventArgs.cs
- OperandQuery.cs
- DesignerDataTable.cs
- OdbcConnectionFactory.cs
- MatchingStyle.cs
- ColorContextHelper.cs
- MethodToken.cs
- EdmComplexTypeAttribute.cs
- WebPartManager.cs
- VirtualizingStackPanel.cs
- XPathDescendantIterator.cs
- SystemUnicastIPAddressInformation.cs
- WebMethodAttribute.cs
- HttpValueCollection.cs
- InputQueue.cs
- MetricEntry.cs
- Base64Decoder.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- GiveFeedbackEventArgs.cs
- DataDesignUtil.cs
- ImageField.cs
- Int32RectConverter.cs
- AttachmentCollection.cs
- Math.cs
- ExtensionFile.cs
- HttpCachePolicy.cs
- HighlightVisual.cs
- ProgressBarHighlightConverter.cs
- BitmapEncoder.cs
- DocumentXmlWriter.cs
- HostProtectionPermission.cs
- UDPClient.cs
- OneOfConst.cs
- ColorAnimation.cs
- Menu.cs
- SqlGenericUtil.cs
- AbstractExpressions.cs
- TextAnchor.cs
- UpdateException.cs
- WebPartHelpVerb.cs
- PropertyState.cs
- ModuleElement.cs
- CheckBoxField.cs