Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- basecomparevalidator.cs
- DiscoveryEndpoint.cs
- SqlException.cs
- WebMessageEncoderFactory.cs
- BuildProvider.cs
- FunctionDetailsReader.cs
- RayMeshGeometry3DHitTestResult.cs
- CannotUnloadAppDomainException.cs
- IsolatedStorageFilePermission.cs
- ZipIOModeEnforcingStream.cs
- LambdaCompiler.Address.cs
- URLMembershipCondition.cs
- Keyboard.cs
- Misc.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- TextSpan.cs
- KeyedCollection.cs
- UIElementIsland.cs
- MenuEventArgs.cs
- AccessorTable.cs
- WebAdminConfigurationHelper.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- TextEffect.cs
- QilStrConcat.cs
- HttpCookie.cs
- WindowsTreeView.cs
- LinkedResource.cs
- MasterPageCodeDomTreeGenerator.cs
- JsonDeserializer.cs
- SQLRoleProvider.cs
- TcpPortSharing.cs
- Bezier.cs
- XmlCustomFormatter.cs
- InheritanceAttribute.cs
- DefaultMergeHelper.cs
- RemotingException.cs
- AutomationPropertyInfo.cs
- RtfFormatStack.cs
- COAUTHINFO.cs
- EnumerableCollectionView.cs
- SystemTcpConnection.cs
- CodeTypeMemberCollection.cs
- ObjectStateEntryDbDataRecord.cs
- ResourceFallbackManager.cs
- DbParameterCollectionHelper.cs
- unsafeIndexingFilterStream.cs
- BitmapData.cs
- HMACSHA256.cs
- TransformCryptoHandle.cs
- EnumValAlphaComparer.cs
- SignedXml.cs
- TreeViewItemAutomationPeer.cs
- PathFigureCollectionConverter.cs
- RuleSettingsCollection.cs
- LogStore.cs
- ConfigurationSchemaErrors.cs
- Paragraph.cs
- dtdvalidator.cs
- MemberListBinding.cs
- DataGridViewCellParsingEventArgs.cs
- ParseNumbers.cs
- ComboBox.cs
- IPAddressCollection.cs
- DiagnosticsConfiguration.cs
- DataGridViewCellParsingEventArgs.cs
- AdornerPresentationContext.cs
- PropVariant.cs
- HashHelper.cs
- Columns.cs
- DataGridViewCell.cs
- InputManager.cs
- diagnosticsswitches.cs
- ScriptBehaviorDescriptor.cs
- XmlFileEditor.cs
- SerializationInfo.cs
- Console.cs
- WebPartVerbsEventArgs.cs
- Matrix3DValueSerializer.cs
- WebPartActionVerb.cs
- ProxyManager.cs
- FunctionCommandText.cs
- WaitHandleCannotBeOpenedException.cs
- PersistencePipeline.cs
- PageBreakRecord.cs
- ComponentTray.cs
- TextEffect.cs
- XmlSerializationWriter.cs
- VoiceChangeEventArgs.cs
- GeneralTransform3D.cs
- ToolStripComboBox.cs
- DefaultValueTypeConverter.cs
- InkCanvas.cs
- Camera.cs
- BaseTemplateCodeDomTreeGenerator.cs
- MenuItemCollection.cs
- TextElement.cs
- DataServiceSaveChangesEventArgs.cs
- ContainerControl.cs
- SemanticValue.cs
- PointCollectionValueSerializer.cs