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
- BooleanFunctions.cs
- SortedList.cs
- SurrogateSelector.cs
- CopyCodeAction.cs
- PtsCache.cs
- ChildChangedEventArgs.cs
- TransformGroup.cs
- Expression.DebuggerProxy.cs
- Point.cs
- WebPartDescription.cs
- IsolatedStorageFilePermission.cs
- ClipboardProcessor.cs
- XmlAtomicValue.cs
- ToolboxBitmapAttribute.cs
- DynamicDocumentPaginator.cs
- ProviderConnectionPointCollection.cs
- SystemNetworkInterface.cs
- CorrelationValidator.cs
- HierarchicalDataSourceControl.cs
- LocatorPart.cs
- SchemaMerger.cs
- WeakEventManager.cs
- StrokeCollectionDefaultValueFactory.cs
- TaiwanCalendar.cs
- LineUtil.cs
- DataKeyCollection.cs
- BitmapEffectInput.cs
- precedingsibling.cs
- MLangCodePageEncoding.cs
- OutOfProcStateClientManager.cs
- TextMetrics.cs
- ExtensibleClassFactory.cs
- DesignerAdRotatorAdapter.cs
- CompilationPass2TaskInternal.cs
- AbandonedMutexException.cs
- ListBoxItemWrapperAutomationPeer.cs
- XmlSchemaExporter.cs
- ListSortDescriptionCollection.cs
- ToolBarButton.cs
- PropertyIDSet.cs
- SpecularMaterial.cs
- WebPartTransformer.cs
- HtmlTableCell.cs
- MenuStrip.cs
- ApplicationFileCodeDomTreeGenerator.cs
- EmptyControlCollection.cs
- ParsedRoute.cs
- SemaphoreFullException.cs
- TreeNode.cs
- WmpBitmapEncoder.cs
- GridViewUpdateEventArgs.cs
- HotSpotCollectionEditor.cs
- InternalResources.cs
- PenLineJoinValidation.cs
- DocComment.cs
- FrameAutomationPeer.cs
- APCustomTypeDescriptor.cs
- DocumentPageViewAutomationPeer.cs
- SqlConnection.cs
- Pool.cs
- HtmlSelect.cs
- TemplateContentLoader.cs
- WebPartsPersonalizationAuthorization.cs
- RoutedEventArgs.cs
- ProvidersHelper.cs
- DefaultBinder.cs
- KeyValueConfigurationCollection.cs
- PropertyPushdownHelper.cs
- KerberosReceiverSecurityToken.cs
- ToolStripDropDownMenu.cs
- TextSpan.cs
- ListViewPagedDataSource.cs
- PageCodeDomTreeGenerator.cs
- TableRow.cs
- FixedSOMPageElement.cs
- XPathNavigatorReader.cs
- ParameterExpression.cs
- SystemFonts.cs
- XmlStrings.cs
- PolyBezierSegmentFigureLogic.cs
- StoreContentChangedEventArgs.cs
- EventPrivateKey.cs
- URLString.cs
- InstanceOwnerException.cs
- CommandBindingCollection.cs
- FtpWebResponse.cs
- InternalControlCollection.cs
- LateBoundBitmapDecoder.cs
- BamlRecordWriter.cs
- controlskin.cs
- GetPageNumberCompletedEventArgs.cs
- SHA256.cs
- HtmlInputImage.cs
- BaseAppDomainProtocolHandler.cs
- MSAANativeProvider.cs
- QilTypeChecker.cs
- TextLineBreak.cs
- MenuRendererStandards.cs
- SqlDataSourceQueryEditorForm.cs
- DateTimeOffset.cs