Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GridViewPageEventArgs.cs
- QueryStatement.cs
- ByteAnimation.cs
- TypeGeneratedEventArgs.cs
- WindowsListViewGroup.cs
- DataColumnMappingCollection.cs
- CommandDevice.cs
- HwndTarget.cs
- LinkDescriptor.cs
- SqlDataSource.cs
- ParenthesizePropertyNameAttribute.cs
- SettingsProviderCollection.cs
- TextEditorParagraphs.cs
- PersonalizationDictionary.cs
- DragDrop.cs
- TypeToken.cs
- Menu.cs
- DeviceFilterDictionary.cs
- QueryExpression.cs
- RegexWorker.cs
- GorillaCodec.cs
- ComponentDesigner.cs
- IDispatchConstantAttribute.cs
- DataSourceViewSchemaConverter.cs
- ViewgenContext.cs
- TypeSystemProvider.cs
- ResourceCodeDomSerializer.cs
- HwndMouseInputProvider.cs
- XmlSchemaSet.cs
- TextBoxAutomationPeer.cs
- MsmqIntegrationValidationBehavior.cs
- NotificationContext.cs
- StackSpiller.Bindings.cs
- BindingFormattingDialog.cs
- XamlGridLengthSerializer.cs
- ObjectItemAssemblyLoader.cs
- CacheModeConverter.cs
- InvalidComObjectException.cs
- InstanceHandle.cs
- DocumentOutline.cs
- User.cs
- UpdateManifestForBrowserApplication.cs
- HttpResponse.cs
- CryptographicAttribute.cs
- DeclarativeCatalogPart.cs
- Util.cs
- AppDomainShutdownMonitor.cs
- AvTraceDetails.cs
- TransactionManager.cs
- _DisconnectOverlappedAsyncResult.cs
- FlagsAttribute.cs
- ObjectViewFactory.cs
- ActiveXContainer.cs
- FontInfo.cs
- DynamicResourceExtensionConverter.cs
- TextBox.cs
- ListenerPerfCounters.cs
- ProcessManager.cs
- EditorServiceContext.cs
- OptimisticConcurrencyException.cs
- COM2ComponentEditor.cs
- WebBrowsableAttribute.cs
- Typography.cs
- DiscoveryOperationContext.cs
- FileDialog_Vista_Interop.cs
- DbgUtil.cs
- ChangeDirector.cs
- PolicyException.cs
- SrgsNameValueTag.cs
- ArraySubsetEnumerator.cs
- SmiContextFactory.cs
- WhitespaceRuleLookup.cs
- RemotingHelper.cs
- QueryRewriter.cs
- ElementUtil.cs
- MeshGeometry3D.cs
- FtpRequestCacheValidator.cs
- CryptoApi.cs
- TraceEventCache.cs
- WsdlBuildProvider.cs
- ShaderEffect.cs
- CopyNamespacesAction.cs
- PTConverter.cs
- TextDpi.cs
- WriterOutput.cs
- __Error.cs
- RangeValuePattern.cs
- TextSelection.cs
- ObjectListItemCollection.cs
- DesignerSerializationOptionsAttribute.cs
- CancellationToken.cs
- ResourceReader.cs
- PageRequestManager.cs
- TripleDESCryptoServiceProvider.cs
- TemplateKey.cs
- AnimatedTypeHelpers.cs
- _IPv6Address.cs
- OdbcConnection.cs
- CanonicalFormWriter.cs
- ResourceReferenceKeyNotFoundException.cs