Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Version.cs
- FragmentNavigationEventArgs.cs
- Transform.cs
- ActivityBuilderHelper.cs
- DesignTimeVisibleAttribute.cs
- KeyGesture.cs
- XmlTextReaderImplHelpers.cs
- ProcessHostMapPath.cs
- DataGridTextColumn.cs
- OrthographicCamera.cs
- DbException.cs
- RemoteArgument.cs
- PowerModeChangedEventArgs.cs
- UxThemeWrapper.cs
- FileEnumerator.cs
- AttributeTableBuilder.cs
- MethodBuilder.cs
- ReadOnlyCollection.cs
- UnionQueryOperator.cs
- CqlQuery.cs
- EntityCommandDefinition.cs
- FolderLevelBuildProvider.cs
- AutomationPattern.cs
- HttpStreams.cs
- DataGridViewCheckBoxColumn.cs
- HtmlObjectListAdapter.cs
- SQLMoneyStorage.cs
- PersistenceTypeAttribute.cs
- WindowsClientCredential.cs
- DataGridToolTip.cs
- FieldToken.cs
- SystemParameters.cs
- ErrorWebPart.cs
- BitStack.cs
- ToolStripSystemRenderer.cs
- EdmMember.cs
- EventItfInfo.cs
- SessionStateContainer.cs
- View.cs
- TemplateBindingExpression.cs
- SubclassTypeValidatorAttribute.cs
- MatrixCamera.cs
- SegmentTree.cs
- ADMembershipUser.cs
- ConnectionPoint.cs
- SoapServerMethod.cs
- DeferredTextReference.cs
- ToolStripOverflow.cs
- DataBoundControlAdapter.cs
- XsdDuration.cs
- mansign.cs
- SchemaImporter.cs
- BaseTemplateBuildProvider.cs
- ItemsPresenter.cs
- ProfessionalColors.cs
- CodeConstructor.cs
- BrowserCapabilitiesFactory.cs
- SystemIPv4InterfaceProperties.cs
- ReadOnlyDictionary.cs
- TabletDeviceInfo.cs
- TempFiles.cs
- TraceSection.cs
- OleDbEnumerator.cs
- XamlSerializationHelper.cs
- safelink.cs
- BrowsableAttribute.cs
- ApplicationDirectory.cs
- WebPartConnectionCollection.cs
- CacheHelper.cs
- HtmlTableRowCollection.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- DataRelationPropertyDescriptor.cs
- MethodCallExpression.cs
- FrameDimension.cs
- glyphs.cs
- ReceiveMessageContent.cs
- LocalizationParserHooks.cs
- Stackframe.cs
- QueryStatement.cs
- TextParaClient.cs
- MultiPropertyDescriptorGridEntry.cs
- PropertyTab.cs
- FormViewDesigner.cs
- WebRequestModuleElementCollection.cs
- TimestampInformation.cs
- XamlStackWriter.cs
- CodeCommentStatement.cs
- DataBindingCollection.cs
- XDRSchema.cs
- BamlVersionHeader.cs
- WhitespaceSignificantCollectionAttribute.cs
- CodeDelegateInvokeExpression.cs
- StackOverflowException.cs
- log.cs
- SelectionChangedEventArgs.cs
- EventLogPermissionHolder.cs
- NullableDecimalMinMaxAggregationOperator.cs
- SessionMode.cs
- StaticDataManager.cs
- SQLGuidStorage.cs