Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SqlRowUpdatingEvent.cs
- BindingExpressionBase.cs
- HttpHandlersInstallComponent.cs
- TextEffectCollection.cs
- Operators.cs
- FormsAuthenticationUser.cs
- MappedMetaModel.cs
- AVElementHelper.cs
- Part.cs
- BaseConfigurationRecord.cs
- ListBoxAutomationPeer.cs
- BoundPropertyEntry.cs
- CreateUserErrorEventArgs.cs
- InternalConfigRoot.cs
- DataRowCollection.cs
- XhtmlBasicSelectionListAdapter.cs
- CertificateManager.cs
- WebPartsPersonalization.cs
- TableLayoutRowStyleCollection.cs
- SortDescriptionCollection.cs
- KeyTime.cs
- HttpModuleCollection.cs
- CheckableControlBaseAdapter.cs
- Vector3DValueSerializer.cs
- SqlInternalConnectionTds.cs
- ImageSource.cs
- M3DUtil.cs
- UdpUtility.cs
- VisualTarget.cs
- RetrieveVirtualItemEventArgs.cs
- HexParser.cs
- LogWriteRestartAreaAsyncResult.cs
- TimeoutValidationAttribute.cs
- CompilerState.cs
- SafeArrayRankMismatchException.cs
- Console.cs
- LabelTarget.cs
- DataBindingExpressionBuilder.cs
- WorkflowView.cs
- SourceFileInfo.cs
- PathGeometry.cs
- sqlstateclientmanager.cs
- MarginsConverter.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- AssociationSetMetadata.cs
- RandomDelaySendsAsyncResult.cs
- SoapElementAttribute.cs
- Lazy.cs
- SafeNativeMethods.cs
- NullableConverter.cs
- LinkConverter.cs
- UriTemplate.cs
- ThousandthOfEmRealPoints.cs
- XPathMessageFilterElement.cs
- typedescriptorpermissionattribute.cs
- SchemaCollectionCompiler.cs
- PointConverter.cs
- XamlStyleSerializer.cs
- ArgumentValue.cs
- DataGridAutoFormatDialog.cs
- ParserExtension.cs
- AccessibleObject.cs
- CookieHandler.cs
- PagedDataSource.cs
- GradientSpreadMethodValidation.cs
- IResourceProvider.cs
- ComponentResourceKey.cs
- Wizard.cs
- TextureBrush.cs
- ArgumentElement.cs
- ActivityWithResultValueSerializer.cs
- ProviderBase.cs
- FloaterBaseParaClient.cs
- ReadOnlyAttribute.cs
- ResourceExpressionBuilder.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- PolicyStatement.cs
- BaseValidatorDesigner.cs
- Triangle.cs
- GregorianCalendar.cs
- XamlFigureLengthSerializer.cs
- UniqueSet.cs
- XmlWhitespace.cs
- TimeZone.cs
- SyndicationItem.cs
- AsyncPostBackErrorEventArgs.cs
- DirectoryInfo.cs
- FileIOPermission.cs
- DataControlFieldHeaderCell.cs
- WsdlInspector.cs
- PreservationFileReader.cs
- CachedFontFace.cs
- HandlerBase.cs
- HttpHandlerAction.cs
- PtsHelper.cs
- TextEmbeddedObject.cs
- BoolExpressionVisitors.cs
- IPCCacheManager.cs
- BrowserDefinitionCollection.cs
- DescendantBaseQuery.cs