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
- HtmlProps.cs
- FunctionImportMapping.cs
- ListSortDescriptionCollection.cs
- AlphaSortedEnumConverter.cs
- TextBoxBase.cs
- CurrentTimeZone.cs
- ColorMatrix.cs
- SqlBulkCopy.cs
- ConfigXmlAttribute.cs
- XmlProcessingInstruction.cs
- Dictionary.cs
- AsyncCompletedEventArgs.cs
- Error.cs
- RegexReplacement.cs
- ImmutableObjectAttribute.cs
- MenuEventArgs.cs
- ActivationArguments.cs
- KeyTimeConverter.cs
- OnOperation.cs
- ExtensionQuery.cs
- DataSourceXmlTextReader.cs
- SourceLineInfo.cs
- DeviceContext.cs
- SystemIPInterfaceProperties.cs
- ServiceMoniker.cs
- NamespaceQuery.cs
- ZipIOCentralDirectoryBlock.cs
- path.cs
- WebMessageFormatHelper.cs
- SqlEnums.cs
- ScrollEvent.cs
- XmlPreloadedResolver.cs
- XmlSchemaAny.cs
- CodeMemberProperty.cs
- RadialGradientBrush.cs
- mediaeventargs.cs
- XmlSchemaType.cs
- BaseComponentEditor.cs
- DeflateStream.cs
- PathFigureCollectionConverter.cs
- SystemIcmpV6Statistics.cs
- GPPOINT.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- ParseHttpDate.cs
- EntityKeyElement.cs
- DataMemberFieldConverter.cs
- Set.cs
- CodeDirectionExpression.cs
- StrongName.cs
- TransformerConfigurationWizardBase.cs
- IndexingContentUnit.cs
- MeasureData.cs
- TypeNameConverter.cs
- GenericWebPart.cs
- ListMarkerSourceInfo.cs
- DoWorkEventArgs.cs
- OdbcParameter.cs
- Journaling.cs
- TypeCodeDomSerializer.cs
- TransformerInfo.cs
- LinearKeyFrames.cs
- SecurityElement.cs
- OdbcCommandBuilder.cs
- processwaithandle.cs
- LassoSelectionBehavior.cs
- ResXDataNode.cs
- FileDialog_Vista_Interop.cs
- DataGrid.cs
- SynchronizedDispatch.cs
- IODescriptionAttribute.cs
- StatusBarItem.cs
- ConstNode.cs
- LineSegment.cs
- IgnoreFlushAndCloseStream.cs
- AvTraceFormat.cs
- ReliableOutputSessionChannel.cs
- TreeViewCancelEvent.cs
- TableParaClient.cs
- FillErrorEventArgs.cs
- HtmlShim.cs
- _NetworkingPerfCounters.cs
- RSAOAEPKeyExchangeFormatter.cs
- MailHeaderInfo.cs
- Stackframe.cs
- DataSourceXmlAttributeAttribute.cs
- SQLDateTimeStorage.cs
- TextTreeNode.cs
- Geometry.cs
- OleDbRowUpdatedEvent.cs
- SmiEventSink.cs
- TemplateControl.cs
- Trace.cs
- ProcessModuleCollection.cs
- ListBox.cs
- RegularExpressionValidator.cs
- XmlSchemaInferenceException.cs
- OperatingSystem.cs
- OdbcParameter.cs
- DBConnection.cs
- KeyValueConfigurationElement.cs