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
- FlowDocumentPaginator.cs
- GridViewSortEventArgs.cs
- UserPreferenceChangingEventArgs.cs
- MobileControlBuilder.cs
- HotSpotCollection.cs
- SpStreamWrapper.cs
- KeySpline.cs
- ExpressionPrefixAttribute.cs
- SQLBytes.cs
- ClientSettingsSection.cs
- WorkerRequest.cs
- XmlBinaryReader.cs
- StopRoutingHandler.cs
- SubclassTypeValidatorAttribute.cs
- XmlSchemaSubstitutionGroup.cs
- CryptoStream.cs
- PersonalizableAttribute.cs
- AttributeEmitter.cs
- TreeNodeBindingCollection.cs
- TextPattern.cs
- XamlInt32CollectionSerializer.cs
- FontFamilyValueSerializer.cs
- SortedList.cs
- ManualResetEvent.cs
- BitmapEffectDrawing.cs
- TraceSection.cs
- Thumb.cs
- UiaCoreTypesApi.cs
- ManagementOptions.cs
- FormsAuthenticationTicket.cs
- TreeNodeStyleCollection.cs
- SqlComparer.cs
- SaveFileDialog.cs
- XmlValueConverter.cs
- TreeNodeBinding.cs
- RootBrowserWindow.cs
- DataRelation.cs
- TextSelectionHelper.cs
- Util.cs
- GeneralTransform3DCollection.cs
- SrgsDocumentParser.cs
- EntityModelSchemaGenerator.cs
- EnvironmentPermission.cs
- _ListenerResponseStream.cs
- NetworkInformationPermission.cs
- ExecutionContext.cs
- ClientUtils.cs
- Ipv6Element.cs
- SourceInterpreter.cs
- ProjectionCamera.cs
- KeysConverter.cs
- TableLayoutStyle.cs
- CellLabel.cs
- StackBuilderSink.cs
- LinearQuaternionKeyFrame.cs
- RelationshipWrapper.cs
- ThreadInterruptedException.cs
- PersonalizationStateInfo.cs
- CultureInfoConverter.cs
- CorrelationManager.cs
- MaskedTextProvider.cs
- Inflater.cs
- PeerUnsafeNativeMethods.cs
- SqlSelectClauseBuilder.cs
- DataProtection.cs
- ipaddressinformationcollection.cs
- DbException.cs
- EasingFunctionBase.cs
- BoundField.cs
- LifetimeServices.cs
- DiagnosticsConfigurationHandler.cs
- ResourcePool.cs
- HtmlObjectListAdapter.cs
- DataTemplate.cs
- CodeThrowExceptionStatement.cs
- TableCell.cs
- RadialGradientBrush.cs
- OutputWindow.cs
- ETagAttribute.cs
- QilBinary.cs
- FixedPageStructure.cs
- SqlNotificationEventArgs.cs
- DictionaryContent.cs
- XmlSubtreeReader.cs
- CurrencyWrapper.cs
- PageThemeBuildProvider.cs
- XmlDataContract.cs
- TabControlCancelEvent.cs
- WebPartDisplayModeCollection.cs
- QueryStringConverter.cs
- ProtocolElement.cs
- XPathExpr.cs
- _FtpDataStream.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DbConnectionPoolGroupProviderInfo.cs
- DelimitedListTraceListener.cs
- SQLInt16Storage.cs
- ClientTargetCollection.cs
- TextBoxAutomationPeer.cs
- HashMembershipCondition.cs