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
- MetadataItemEmitter.cs
- ReliableInputConnection.cs
- TableLayoutSettingsTypeConverter.cs
- ListCollectionView.cs
- LogPolicy.cs
- WrappedIUnknown.cs
- DetailsViewRow.cs
- CreateUserWizardStep.cs
- ExpandSegmentCollection.cs
- ReadOnlyNameValueCollection.cs
- SchemaImporterExtensionElement.cs
- TextLineResult.cs
- SynchronizedDispatch.cs
- WebConfigurationHostFileChange.cs
- ActivityInterfaces.cs
- XmlSchemaObjectCollection.cs
- InputBindingCollection.cs
- ReadOnlyDictionary.cs
- ASCIIEncoding.cs
- TableStyle.cs
- XmlSchemaSimpleTypeUnion.cs
- ValueType.cs
- WebPartActionVerb.cs
- ClientSession.cs
- CancellationHandlerDesigner.cs
- SafeArrayTypeMismatchException.cs
- BehaviorEditorPart.cs
- SoapTransportImporter.cs
- GeometryDrawing.cs
- HtmlInputRadioButton.cs
- AuthorizationContext.cs
- RenamedEventArgs.cs
- Grid.cs
- RepeaterItemCollection.cs
- GetPageCompletedEventArgs.cs
- TypeConverterAttribute.cs
- CompiledWorkflowDefinitionContext.cs
- SmiSettersStream.cs
- listitem.cs
- HebrewCalendar.cs
- TypeDescriptionProviderAttribute.cs
- DataBindingValueUIHandler.cs
- CodeDirectionExpression.cs
- ArithmeticException.cs
- PerformanceCounterLib.cs
- VirtualPath.cs
- MenuAdapter.cs
- ApplicationManager.cs
- SymmetricAlgorithm.cs
- PieceDirectory.cs
- SpotLight.cs
- DataGridViewComboBoxColumn.cs
- LogicalMethodInfo.cs
- CodeVariableDeclarationStatement.cs
- BaseDataBoundControl.cs
- DesignTimeValidationFeature.cs
- XsdBuilder.cs
- BooleanStorage.cs
- LinqDataSourceSelectEventArgs.cs
- DynamicResourceExtensionConverter.cs
- SecurityHeaderTokenResolver.cs
- BaseValidator.cs
- CodeIdentifiers.cs
- PackageProperties.cs
- DeferrableContentConverter.cs
- StringSorter.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- MultiSelector.cs
- ErrorStyle.cs
- ParseHttpDate.cs
- XmlCharCheckingWriter.cs
- CodeGotoStatement.cs
- LineServices.cs
- AnnotationResource.cs
- SHA256CryptoServiceProvider.cs
- RegistrySecurity.cs
- ValidationUtility.cs
- InvalidEnumArgumentException.cs
- ModelItem.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- UniqueIdentifierService.cs
- DirectoryInfo.cs
- Rotation3DAnimation.cs
- ControlBuilderAttribute.cs
- SynchronousChannel.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- TextBounds.cs
- CustomAttribute.cs
- WorkflowMarkupSerializationManager.cs
- VisualStyleTypesAndProperties.cs
- validation.cs
- RSAPKCS1SignatureDeformatter.cs
- PreservationFileReader.cs
- ControlParameter.cs
- PolyQuadraticBezierSegment.cs
- ValidationResult.cs
- TextBoxAutoCompleteSourceConverter.cs
- Transaction.cs
- CommonXSendMessage.cs
- PropertyMapper.cs