Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // 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); } 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
- Int32RectConverter.cs
- CustomErrorsSection.cs
- backend.cs
- InstanceDataCollection.cs
- HatchBrush.cs
- InternalsVisibleToAttribute.cs
- BaseParaClient.cs
- ProcessHostConfigUtils.cs
- DataMisalignedException.cs
- WinFormsSpinner.cs
- MultiView.cs
- DocumentApplicationJournalEntry.cs
- SQLByte.cs
- PropertyStore.cs
- DataKey.cs
- NonParentingControl.cs
- OrthographicCamera.cs
- ValidatedControlConverter.cs
- GeneralTransform3DTo2DTo3D.cs
- DataPointer.cs
- HttpHandlersSection.cs
- SqlServices.cs
- DesignerVerbCollection.cs
- CacheSection.cs
- IncrementalReadDecoders.cs
- Menu.cs
- HtmlSelect.cs
- StorageBasedPackageProperties.cs
- CryptoProvider.cs
- FormViewDeletedEventArgs.cs
- CredentialManagerDialog.cs
- CookieParameter.cs
- Focus.cs
- Rect3DConverter.cs
- StateItem.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- MatrixTransform.cs
- SaveFileDialog.cs
- DeploymentExceptionMapper.cs
- shaperfactoryquerycacheentry.cs
- cookie.cs
- ListSortDescriptionCollection.cs
- ReflectPropertyDescriptor.cs
- HttpStreamFormatter.cs
- StdValidatorsAndConverters.cs
- NavigationProperty.cs
- VisualBasicSettingsConverter.cs
- SoapFormatter.cs
- DeleteIndexBinder.cs
- MergablePropertyAttribute.cs
- FilteredXmlReader.cs
- ToolTipAutomationPeer.cs
- MetaTableHelper.cs
- WebPartZoneBaseDesigner.cs
- QuaternionConverter.cs
- VerificationException.cs
- DoubleLinkList.cs
- EntityDataSourceChangedEventArgs.cs
- PerformanceCountersElement.cs
- WhiteSpaceTrimStringConverter.cs
- LayoutExceptionEventArgs.cs
- AssemblyCache.cs
- safelinkcollection.cs
- StreamHelper.cs
- CurrencyManager.cs
- UriTemplateMatch.cs
- ArithmeticException.cs
- __FastResourceComparer.cs
- __Filters.cs
- RegexTree.cs
- StaticContext.cs
- XhtmlTextWriter.cs
- PropertyValueChangedEvent.cs
- WsrmTraceRecord.cs
- Separator.cs
- ResourcePool.cs
- BindingList.cs
- HostProtectionException.cs
- WebPart.cs
- SystemInfo.cs
- EntityTypeEmitter.cs
- DataGridViewTextBoxEditingControl.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CurrencyWrapper.cs
- SignatureDescription.cs
- OleDbDataAdapter.cs
- ISO2022Encoding.cs
- CollectionContainer.cs
- PathStreamGeometryContext.cs
- StaticResourceExtension.cs
- CachingHintValidation.cs
- WindowsClientElement.cs
- NativeCompoundFileAPIs.cs
- Cursors.cs
- AlignmentXValidation.cs
- ModuleConfigurationInfo.cs
- MergePropertyDescriptor.cs
- MetadataItemCollectionFactory.cs
- ThreadExceptionEvent.cs
- AuthorizationRuleCollection.cs