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
- RegionIterator.cs
- DataControlButton.cs
- WhiteSpaceTrimStringConverter.cs
- ZoneButton.cs
- Validator.cs
- InstanceContext.cs
- SafeBitVector32.cs
- NativeRightsManagementAPIsStructures.cs
- RegionInfo.cs
- WindowsSlider.cs
- TrackingMemoryStreamFactory.cs
- SoapFormatter.cs
- Process.cs
- CaseExpr.cs
- SQLInt64Storage.cs
- UnsafeNativeMethods.cs
- CTreeGenerator.cs
- DoubleCollectionValueSerializer.cs
- CodeArrayIndexerExpression.cs
- ObjectQuery.cs
- ImpersonationOption.cs
- DocumentScope.cs
- EventLevel.cs
- securitycriticaldata.cs
- PeerCustomResolverSettings.cs
- SubMenuStyle.cs
- BrowserDefinition.cs
- SimplePropertyEntry.cs
- RegexBoyerMoore.cs
- ColorConvertedBitmap.cs
- DefaultAutoFieldGenerator.cs
- basecomparevalidator.cs
- ComponentConverter.cs
- SqlFactory.cs
- ZoneLinkButton.cs
- ZeroOpNode.cs
- WebBrowserEvent.cs
- WebPartDescriptionCollection.cs
- BoundConstants.cs
- DesignTableCollection.cs
- WSFederationHttpBinding.cs
- PrintPreviewDialog.cs
- DataSourceCache.cs
- SingleConverter.cs
- __FastResourceComparer.cs
- StringUtil.cs
- CustomCategoryAttribute.cs
- CssStyleCollection.cs
- SendSecurityHeaderElement.cs
- LinqDataSourceEditData.cs
- CharacterMetricsDictionary.cs
- XmlSchemaProviderAttribute.cs
- XmlMapping.cs
- DesignerSerializationVisibilityAttribute.cs
- Thumb.cs
- PublisherIdentityPermission.cs
- NodeFunctions.cs
- Simplifier.cs
- HttpRuntime.cs
- ExpressionParser.cs
- SourceCollection.cs
- ConnectionProviderAttribute.cs
- Keywords.cs
- NotImplementedException.cs
- Evidence.cs
- FreezableDefaultValueFactory.cs
- _ProxyChain.cs
- Rotation3D.cs
- BoolExpr.cs
- DataControlExtensions.cs
- TypeUtils.cs
- SqlIdentifier.cs
- PointF.cs
- DoubleCollectionConverter.cs
- SudsCommon.cs
- _ConnectOverlappedAsyncResult.cs
- Button.cs
- DataRowIndexBuffer.cs
- EdmScalarPropertyAttribute.cs
- Publisher.cs
- VectorAnimationBase.cs
- FormViewModeEventArgs.cs
- IxmlLineInfo.cs
- LineGeometry.cs
- BeginStoryboard.cs
- UriSection.cs
- ListenerChannelContext.cs
- SchemaComplexType.cs
- SubstitutionResponseElement.cs
- HttpBufferlessInputStream.cs
- AnimationException.cs
- RTLAwareMessageBox.cs
- SqlDuplicator.cs
- BulletedList.cs
- SymbolEqualComparer.cs
- WebPartActionVerb.cs
- Matrix.cs
- ClosureBinding.cs
- HighlightVisual.cs
- XmlUtil.cs