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
- HGlobalSafeHandle.cs
- ResourcePart.cs
- Int64Converter.cs
- DPTypeDescriptorContext.cs
- SamlAuthorityBinding.cs
- TickBar.cs
- UserControlBuildProvider.cs
- BitmapMetadata.cs
- HttpListenerContext.cs
- DateTimeOffsetAdapter.cs
- DoubleLinkListEnumerator.cs
- MenuCommandsChangedEventArgs.cs
- BamlRecordReader.cs
- ForeignKeyConstraint.cs
- NonClientArea.cs
- DirectoryRedirect.cs
- Configuration.cs
- ProtocolsConfigurationHandler.cs
- StylusPointPropertyId.cs
- XmlSerializerAssemblyAttribute.cs
- Double.cs
- GridViewDeletedEventArgs.cs
- RunWorkerCompletedEventArgs.cs
- ScriptManager.cs
- RefType.cs
- DataGridColumn.cs
- PasswordTextContainer.cs
- CompareInfo.cs
- WebPartConnectionsEventArgs.cs
- PasswordPropertyTextAttribute.cs
- IntSecurity.cs
- ProfileServiceManager.cs
- PrimitiveSchema.cs
- ServiceModelConfigurationSectionGroup.cs
- SqlLiftIndependentRowExpressions.cs
- DESCryptoServiceProvider.cs
- JoinSymbol.cs
- OutputScopeManager.cs
- CacheVirtualItemsEvent.cs
- Image.cs
- VirtualPathProvider.cs
- SchemaTypeEmitter.cs
- HwndSource.cs
- NullExtension.cs
- NeutralResourcesLanguageAttribute.cs
- GatewayDefinition.cs
- TreeView.cs
- UriSectionData.cs
- PointF.cs
- HebrewCalendar.cs
- ConnectorSelectionGlyph.cs
- ImageFormatConverter.cs
- ComponentRenameEvent.cs
- StylusPlugInCollection.cs
- DefaultMergeHelper.cs
- EventDriven.cs
- XmlSchemaObject.cs
- QilLiteral.cs
- wmiutil.cs
- BaseCodeDomTreeGenerator.cs
- MetadataItemCollectionFactory.cs
- ObjectStateEntry.cs
- SqlFunctionAttribute.cs
- BinaryVersion.cs
- TextPointerBase.cs
- InternalsVisibleToAttribute.cs
- PolyBezierSegment.cs
- PackageDigitalSignatureManager.cs
- MiniAssembly.cs
- MetadataPropertyAttribute.cs
- XNodeNavigator.cs
- XmlAttribute.cs
- EnterpriseServicesHelper.cs
- CodeDOMProvider.cs
- BindUriHelper.cs
- DataTableCollection.cs
- AnimatedTypeHelpers.cs
- MessageHeaderException.cs
- SessionState.cs
- TimeoutTimer.cs
- ImpersonateTokenRef.cs
- XamlFigureLengthSerializer.cs
- FrameworkPropertyMetadata.cs
- UnaryQueryOperator.cs
- KeyGesture.cs
- EditCommandColumn.cs
- ToolStripSeparatorRenderEventArgs.cs
- SmiGettersStream.cs
- MarshalByValueComponent.cs
- TypeConvertions.cs
- BaseTreeIterator.cs
- MessageDesigner.cs
- TCPClient.cs
- EntityViewGenerator.cs
- AnnotationResourceChangedEventArgs.cs
- BaseComponentEditor.cs
- Calendar.cs
- ScrollItemPatternIdentifiers.cs
- PathFigureCollection.cs
- KeyInfo.cs