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
- IdentityNotMappedException.cs
- NamedPermissionSet.cs
- KeyValueSerializer.cs
- Popup.cs
- StringOutput.cs
- Focus.cs
- SQLGuid.cs
- ContainerParagraph.cs
- ExceptionHelpers.cs
- HtmlWindow.cs
- StructuredCompositeActivityDesigner.cs
- BamlLocalizabilityResolver.cs
- KeyboardNavigation.cs
- SelectionProcessor.cs
- DataGridViewColumn.cs
- IteratorDescriptor.cs
- CheckBoxField.cs
- NotCondition.cs
- HashHelper.cs
- AppSettingsReader.cs
- LogStream.cs
- ProjectionPathBuilder.cs
- PatternMatcher.cs
- ConnectorDragDropGlyph.cs
- DependencyObjectType.cs
- BCLDebug.cs
- NullableBoolConverter.cs
- MSHTMLHostUtil.cs
- Stroke.cs
- SplineQuaternionKeyFrame.cs
- DropDownList.cs
- GeneralTransform2DTo3DTo2D.cs
- CreateSequenceResponse.cs
- BinaryObjectReader.cs
- ProviderConnectionPoint.cs
- ImageCodecInfo.cs
- PropertyGridView.cs
- GeneralTransform2DTo3D.cs
- KeyedHashAlgorithm.cs
- Rfc2898DeriveBytes.cs
- HtmlControl.cs
- SqlStatistics.cs
- SoapSchemaExporter.cs
- ReadOnlyPropertyMetadata.cs
- SoapTypeAttribute.cs
- CompilerTypeWithParams.cs
- AppSettingsExpressionBuilder.cs
- ToolStripDropTargetManager.cs
- ConstrainedDataObject.cs
- TextDecorationLocationValidation.cs
- ListCollectionView.cs
- EditingCoordinator.cs
- WindowsGrip.cs
- GifBitmapDecoder.cs
- TypeInitializationException.cs
- ErrorHandlerModule.cs
- HierarchicalDataBoundControl.cs
- Menu.cs
- WebScriptEnablingBehavior.cs
- AppendHelper.cs
- ItemMap.cs
- BindToObject.cs
- StreamUpgradeBindingElement.cs
- Pair.cs
- _LazyAsyncResult.cs
- DataTableExtensions.cs
- TextParagraphView.cs
- SmtpDigestAuthenticationModule.cs
- Int32Collection.cs
- SqlNotificationRequest.cs
- SortDescriptionCollection.cs
- MenuItem.cs
- TextRangeAdaptor.cs
- CompressEmulationStream.cs
- WebRequestModuleElement.cs
- Transaction.cs
- SafePEFileHandle.cs
- Serializer.cs
- CodeDefaultValueExpression.cs
- TraceLog.cs
- ComponentEvent.cs
- PermissionRequestEvidence.cs
- counter.cs
- DataPointer.cs
- ClientScriptManager.cs
- DoubleAnimationUsingKeyFrames.cs
- StickyNoteHelper.cs
- TransformedBitmap.cs
- MenuItemStyleCollection.cs
- DeadCharTextComposition.cs
- XmlExtensionFunction.cs
- TextContainerChangedEventArgs.cs
- XmlParserContext.cs
- Viewport2DVisual3D.cs
- FontCacheUtil.cs
- ClockController.cs
- ThrowHelper.cs
- HtmlValidatorAdapter.cs
- CodeValidator.cs
- MetadataArtifactLoaderFile.cs