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
- DSACryptoServiceProvider.cs
- TextEditorCopyPaste.cs
- IDReferencePropertyAttribute.cs
- URL.cs
- NativeCppClassAttribute.cs
- StylusLogic.cs
- MetadataProperty.cs
- WebBrowserEvent.cs
- Identity.cs
- DependencySource.cs
- CodeIdentifier.cs
- PointCollectionValueSerializer.cs
- SpStreamWrapper.cs
- XmlArrayItemAttributes.cs
- ProtocolsSection.cs
- CompositeFontFamily.cs
- FolderNameEditor.cs
- RenderDataDrawingContext.cs
- BindMarkupExtensionSerializer.cs
- DataTableNewRowEvent.cs
- MembershipUser.cs
- HMACSHA256.cs
- TemplateControlParser.cs
- CanExecuteRoutedEventArgs.cs
- CipherData.cs
- GradientStop.cs
- ResolvedKeyFrameEntry.cs
- SystemBrushes.cs
- BindingElementCollection.cs
- RawTextInputReport.cs
- InvalidProgramException.cs
- TextMarkerSource.cs
- x509store.cs
- FontSource.cs
- FieldToken.cs
- BatchParser.cs
- AnnouncementEndpoint.cs
- BidirectionalDictionary.cs
- BrowserTree.cs
- UrlAuthorizationModule.cs
- LogSwitch.cs
- ResourcePool.cs
- PointValueSerializer.cs
- HostingEnvironmentException.cs
- SpellerInterop.cs
- TiffBitmapEncoder.cs
- CroppedBitmap.cs
- FormViewDeleteEventArgs.cs
- DisplayNameAttribute.cs
- ValidationPropertyAttribute.cs
- ColorKeyFrameCollection.cs
- MultiDataTrigger.cs
- CorePropertiesFilter.cs
- ParameterCollection.cs
- SQLConvert.cs
- WorkflowService.cs
- CodeBlockBuilder.cs
- PeerNameRegistration.cs
- Separator.cs
- AdornedElementPlaceholder.cs
- DataServiceClientException.cs
- SafeFileMappingHandle.cs
- StylusPointPropertyId.cs
- InlineCollection.cs
- DesignerAdRotatorAdapter.cs
- GroupQuery.cs
- FixedBufferAttribute.cs
- HMAC.cs
- ReadWriteObjectLock.cs
- TableHeaderCell.cs
- DesignerVerbCollection.cs
- SimpleFieldTemplateFactory.cs
- NumberSubstitution.cs
- CommandBinding.cs
- DiscoveryMessageSequenceCD1.cs
- DataTableClearEvent.cs
- Int64Storage.cs
- EmptyStringExpandableObjectConverter.cs
- DataGridViewHeaderCell.cs
- TimeSpanOrInfiniteValidator.cs
- ResourceContainer.cs
- TextCharacters.cs
- ThemeDirectoryCompiler.cs
- NamedServiceModelExtensionCollectionElement.cs
- SoapFault.cs
- CalendarTable.cs
- WsdlBuildProvider.cs
- EdmEntityTypeAttribute.cs
- Vertex.cs
- TextModifierScope.cs
- IpcClientChannel.cs
- ThreadStateException.cs
- XmlNamespaceManager.cs
- loginstatus.cs
- ResourceSetExpression.cs
- BuildProviderCollection.cs
- ProfessionalColors.cs
- DockAndAnchorLayout.cs
- DataGridViewTopLeftHeaderCell.cs
- X509UI.cs