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
- ImageList.cs
- SuppressMergeCheckAttribute.cs
- WindowProviderWrapper.cs
- AutomationProperties.cs
- DATA_BLOB.cs
- BitmapSource.cs
- ListViewDataItem.cs
- ReaderContextStackData.cs
- ControlBindingsConverter.cs
- TextServicesLoader.cs
- InstanceDataCollectionCollection.cs
- EntitySetDataBindingList.cs
- CalendarDateRangeChangingEventArgs.cs
- ImageAttributes.cs
- TypeConstant.cs
- BmpBitmapDecoder.cs
- MultiView.cs
- ShaperBuffers.cs
- CatalogZone.cs
- DbUpdateCommandTree.cs
- WebPartManagerInternals.cs
- XpsFilter.cs
- EventDescriptor.cs
- RegexWorker.cs
- ObjectHandle.cs
- TextComposition.cs
- DependencyPropertyDescriptor.cs
- ArrayWithOffset.cs
- VirtualPath.cs
- XPathNodeHelper.cs
- MSAAEventDispatcher.cs
- ICspAsymmetricAlgorithm.cs
- PropertyInformationCollection.cs
- PointCollectionConverter.cs
- XmlSiteMapProvider.cs
- HtmlElementCollection.cs
- SettingsPropertyIsReadOnlyException.cs
- ResourceReferenceExpressionConverter.cs
- LockedActivityGlyph.cs
- PropertyKey.cs
- returneventsaver.cs
- UseManagedPresentationBindingElement.cs
- CodeMemberProperty.cs
- ellipse.cs
- NamedPipeProcessProtocolHandler.cs
- OrderedDictionary.cs
- FixedBufferAttribute.cs
- SqlBuffer.cs
- VectorCollectionConverter.cs
- TriggerCollection.cs
- XmlDocumentSurrogate.cs
- FileIOPermission.cs
- MDIClient.cs
- ListViewTableRow.cs
- XmlDataSource.cs
- URLIdentityPermission.cs
- ThicknessConverter.cs
- XPathAncestorIterator.cs
- ContainsRowNumberChecker.cs
- ConditionedDesigner.cs
- DocumentSequenceHighlightLayer.cs
- StrokeNodeEnumerator.cs
- TemplateComponentConnector.cs
- QilTernary.cs
- MenuItem.cs
- GlyphTypeface.cs
- elementinformation.cs
- StringValueSerializer.cs
- RowToFieldTransformer.cs
- PageThemeBuildProvider.cs
- ProcessHostServerConfig.cs
- GridView.cs
- WsiProfilesElement.cs
- UserControl.cs
- PropertyManager.cs
- XmlReflectionMember.cs
- FtpWebResponse.cs
- FontDifferentiator.cs
- ICspAsymmetricAlgorithm.cs
- GiveFeedbackEventArgs.cs
- OracleDataAdapter.cs
- CultureTable.cs
- LongValidator.cs
- Action.cs
- UpdatePanelTriggerCollection.cs
- DependencyProperty.cs
- KeyPullup.cs
- TextElementCollectionHelper.cs
- DayRenderEvent.cs
- WindowsListViewItemCheckBox.cs
- CmsInterop.cs
- ApplicationDirectory.cs
- SqlLiftIndependentRowExpressions.cs
- SamlConstants.cs
- ProfilePropertySettings.cs
- SQLChars.cs
- ObjectDataSourceEventArgs.cs
- X509ChainPolicy.cs
- SelectionEditor.cs
- VarInfo.cs