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
- TopClause.cs
- ExecutedRoutedEventArgs.cs
- CalendarDateChangedEventArgs.cs
- TCPListener.cs
- WinFormsSecurity.cs
- DataControlLinkButton.cs
- SafeRegistryKey.cs
- XslTransformFileEditor.cs
- Visual3D.cs
- InkCanvasAutomationPeer.cs
- DataGridViewCheckBoxCell.cs
- TaiwanCalendar.cs
- FileAuthorizationModule.cs
- ValueType.cs
- BinaryMessageEncoder.cs
- SSmlParser.cs
- EncodingInfo.cs
- WindowsListViewItem.cs
- CompositeCollection.cs
- RuleConditionDialog.cs
- PrintDocument.cs
- AvTraceDetails.cs
- NullRuntimeConfig.cs
- Vector3D.cs
- WindowsEditBox.cs
- UInt64Converter.cs
- ErrorStyle.cs
- EventLogPermissionEntryCollection.cs
- Timer.cs
- OutputCacheSection.cs
- SubtreeProcessor.cs
- NetworkStream.cs
- ObjectParameter.cs
- CompositeFontParser.cs
- ActiveXContainer.cs
- DrawToolTipEventArgs.cs
- NetCodeGroup.cs
- ClockGroup.cs
- SqlGenericUtil.cs
- TagPrefixInfo.cs
- AddInServer.cs
- MatrixTransform.cs
- CodeActivityContext.cs
- ZipIOExtraFieldPaddingElement.cs
- ImageIndexEditor.cs
- ProfilePropertySettingsCollection.cs
- HttpApplication.cs
- VarRemapper.cs
- ObjectComplexPropertyMapping.cs
- CodeDirectoryCompiler.cs
- WorkBatch.cs
- ListViewEditEventArgs.cs
- SortFieldComparer.cs
- VersionedStreamOwner.cs
- StatusBarPanelClickEvent.cs
- ConfigXmlText.cs
- WebPartVerbCollection.cs
- TraceSwitch.cs
- HtmlTableCell.cs
- XPathNavigatorReader.cs
- NativeMethods.cs
- TemplateControlParser.cs
- LineServicesCallbacks.cs
- EncoderNLS.cs
- UpdateCompiler.cs
- PrinterResolution.cs
- BlurEffect.cs
- WebBrowsableAttribute.cs
- MasterPage.cs
- XhtmlStyleClass.cs
- HttpRequest.cs
- CodeGenHelper.cs
- Cursors.cs
- GlyphRunDrawing.cs
- XmlSignatureProperties.cs
- NominalTypeEliminator.cs
- DbParameterCollection.cs
- BindingExpressionUncommonField.cs
- EntityCommandExecutionException.cs
- ReplyChannel.cs
- List.cs
- RefExpr.cs
- UriParserTemplates.cs
- DataSourceGeneratorException.cs
- ObjectComplexPropertyMapping.cs
- OrderedDictionary.cs
- Int32.cs
- SortedList.cs
- CommonDialog.cs
- RegexCompiler.cs
- GeneralTransform2DTo3DTo2D.cs
- TypeLibConverter.cs
- RequestBringIntoViewEventArgs.cs
- infer.cs
- CounterSampleCalculator.cs
- DataBinder.cs
- StyleCollection.cs
- SingleAnimationBase.cs
- SqlFormatter.cs
- ViewSimplifier.cs