Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / IO / DriveNotFoundException.cs / 1 / DriveNotFoundException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //============================================================ // // Class: DriveNotFoundException // // Purpose: Exception for accessing a drive that is not available. // // //=========================================================== using System; using System.Runtime.Serialization; namespace System.IO { //Thrown when trying to access a drive that is not availabe. [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class DriveNotFoundException : IOException { public DriveNotFoundException() : base(Environment.GetResourceString("Arg_DriveNotFoundException")) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } public DriveNotFoundException(String message) : base(message) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } public DriveNotFoundException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } protected DriveNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AnnotationObservableCollection.cs
- BadImageFormatException.cs
- TemplateEditingFrame.cs
- ItemCheckedEvent.cs
- OperationPickerDialog.designer.cs
- DataTable.cs
- QuaternionAnimation.cs
- cookieexception.cs
- CacheModeConverter.cs
- FontFamily.cs
- XPathParser.cs
- ResourceAssociationSet.cs
- ProfileProvider.cs
- PathFigureCollection.cs
- EUCJPEncoding.cs
- WSTransactionSection.cs
- WpfMemberInvoker.cs
- StatusBarDrawItemEvent.cs
- ToolBarButton.cs
- XmlDocument.cs
- FreezableCollection.cs
- MailDefinition.cs
- HostAdapter.cs
- RectangleHotSpot.cs
- sqlnorm.cs
- HebrewCalendar.cs
- EventProviderWriter.cs
- QilExpression.cs
- EditBehavior.cs
- propertyentry.cs
- ComponentEditorPage.cs
- CultureTableRecord.cs
- CreateDataSourceDialog.cs
- StylusEventArgs.cs
- HwndStylusInputProvider.cs
- SecUtil.cs
- SoapElementAttribute.cs
- DataGridPagerStyle.cs
- TextEndOfParagraph.cs
- InsufficientExecutionStackException.cs
- SiteMapNodeItemEventArgs.cs
- QueuedDeliveryRequirementsMode.cs
- XmlSchemaObjectCollection.cs
- KeyNotFoundException.cs
- InternalSafeNativeMethods.cs
- QueryCacheEntry.cs
- DBNull.cs
- X509WindowsSecurityToken.cs
- cookieexception.cs
- RelationshipNavigation.cs
- DesignerActionItem.cs
- Triplet.cs
- ArrayExtension.cs
- MessageDecoder.cs
- IPAddressCollection.cs
- WebConfigurationHost.cs
- DbgCompiler.cs
- RSAProtectedConfigurationProvider.cs
- InstancePersistenceContext.cs
- SafeNativeMethods.cs
- ZipFileInfoCollection.cs
- NaturalLanguageHyphenator.cs
- Int64AnimationBase.cs
- SqlException.cs
- InternalTypeHelper.cs
- ArithmeticException.cs
- XPathBuilder.cs
- TcpClientChannel.cs
- infer.cs
- Bitmap.cs
- HostVisual.cs
- ProgressBarHighlightConverter.cs
- StandardOleMarshalObject.cs
- BrowsableAttribute.cs
- DispatcherExceptionFilterEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- StylusPlugin.cs
- SchemaTableOptionalColumn.cs
- PolyLineSegmentFigureLogic.cs
- ResourcePool.cs
- TabItemAutomationPeer.cs
- EventArgs.cs
- CapabilitiesAssignment.cs
- TransactionTable.cs
- XPathNode.cs
- XmlSchemaSimpleTypeList.cs
- CapiNative.cs
- InputProcessorProfilesLoader.cs
- TextEmbeddedObject.cs
- VirtualizedItemPattern.cs
- DocumentScope.cs
- MenuCommandService.cs
- Timer.cs
- AttachedAnnotation.cs
- SqlDataReaderSmi.cs
- TrackingDataItem.cs
- SessionEndingCancelEventArgs.cs
- SurrogateSelector.cs
- ReachPageContentCollectionSerializer.cs
- WebConfigManager.cs