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
- UnsafeNativeMethods.cs
- BezierSegment.cs
- SignatureToken.cs
- MD5.cs
- SamlAttribute.cs
- DbConnectionPoolCounters.cs
- EntityTransaction.cs
- XmlnsCache.cs
- VariableElement.cs
- DataException.cs
- FontUnitConverter.cs
- FixedTextPointer.cs
- CharStorage.cs
- Enum.cs
- DataSet.cs
- WindowsComboBox.cs
- DataControlButton.cs
- XmlBinaryReader.cs
- BinaryObjectWriter.cs
- BaseUriHelper.cs
- SortableBindingList.cs
- Parameter.cs
- APCustomTypeDescriptor.cs
- SafeArchiveContext.cs
- StyleCollection.cs
- UmAlQuraCalendar.cs
- IndentedTextWriter.cs
- ExceptionUtil.cs
- ExpressionEvaluator.cs
- DataColumnCollection.cs
- SessionStateSection.cs
- NumberSubstitution.cs
- SetIndexBinder.cs
- ValidationSummary.cs
- IncomingWebResponseContext.cs
- RequestTimeoutManager.cs
- TaskFileService.cs
- ColumnResizeUndoUnit.cs
- InternalRelationshipCollection.cs
- odbcmetadatacollectionnames.cs
- PolicyManager.cs
- ListViewSortEventArgs.cs
- ProxyWebPartManager.cs
- RenderOptions.cs
- LayoutInformation.cs
- ClassicBorderDecorator.cs
- XmlEntity.cs
- MessageHeader.cs
- SafeReadContext.cs
- LinearQuaternionKeyFrame.cs
- ExpressionConverter.cs
- RowType.cs
- ProxyWebPartConnectionCollection.cs
- LineServicesRun.cs
- SessionEndingEventArgs.cs
- GetMemberBinder.cs
- ZeroOpNode.cs
- PackWebResponse.cs
- Version.cs
- TileBrush.cs
- DatatypeImplementation.cs
- BitmapInitialize.cs
- FlowDocumentScrollViewer.cs
- columnmapkeybuilder.cs
- ExpanderAutomationPeer.cs
- RepeatButton.cs
- PointIndependentAnimationStorage.cs
- Keywords.cs
- SafeFileHandle.cs
- CounterSet.cs
- ParserContext.cs
- NamespaceInfo.cs
- LambdaExpression.cs
- DataQuery.cs
- ParameterEditorUserControl.cs
- MenuItemBindingCollection.cs
- BrushConverter.cs
- HtmlProps.cs
- HostExecutionContextManager.cs
- AddInAttribute.cs
- DataGridViewRowPostPaintEventArgs.cs
- Command.cs
- DiscoveryClientDocuments.cs
- ConstraintEnumerator.cs
- IsolatedStorageException.cs
- Point3DAnimationBase.cs
- CustomCredentialPolicy.cs
- XmlLoader.cs
- Stackframe.cs
- TextServicesDisplayAttributePropertyRanges.cs
- CustomErrorCollection.cs
- ConnectionInterfaceCollection.cs
- ThreadAttributes.cs
- FileAuthorizationModule.cs
- EpmTargetTree.cs
- CustomErrorCollection.cs
- PageSetupDialog.cs
- BuildProvider.cs
- TextBoxLine.cs
- VarRemapper.cs