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
- UrlMappingsSection.cs
- Errors.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- StrongTypingException.cs
- ProvideValueServiceProvider.cs
- MarshalDirectiveException.cs
- UiaCoreTypesApi.cs
- Queue.cs
- Content.cs
- AnimatedTypeHelpers.cs
- Base64Decoder.cs
- MulticastNotSupportedException.cs
- MD5.cs
- HwndTarget.cs
- LocatorPart.cs
- Model3D.cs
- FillBehavior.cs
- xmlglyphRunInfo.cs
- DesignerDataTable.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ComboBoxDesigner.cs
- FilteredAttributeCollection.cs
- SqlSupersetValidator.cs
- IgnoreFileBuildProvider.cs
- ErrorTableItemStyle.cs
- RangeValueProviderWrapper.cs
- JulianCalendar.cs
- DBPropSet.cs
- OperandQuery.cs
- TextureBrush.cs
- BCryptHashAlgorithm.cs
- HierarchicalDataSourceControl.cs
- ReadOnlyHierarchicalDataSource.cs
- ListViewItem.cs
- ConfigurationPermission.cs
- Error.cs
- ResourceDictionary.cs
- ArgumentNullException.cs
- LeftCellWrapper.cs
- TrackingExtract.cs
- OutputCacheModule.cs
- _ShellExpression.cs
- NamespaceList.cs
- RIPEMD160Managed.cs
- ItemsPanelTemplate.cs
- PackWebRequest.cs
- ThousandthOfEmRealDoubles.cs
- ImplicitInputBrush.cs
- MethodExpr.cs
- XNameConverter.cs
- SQLDateTime.cs
- Logging.cs
- ContextStack.cs
- MemberInitExpression.cs
- HtmlSelect.cs
- RelationshipDetailsRow.cs
- Object.cs
- Rotation3D.cs
- ExcludePathInfo.cs
- ViewValidator.cs
- SecurityKeyIdentifier.cs
- LoginViewDesigner.cs
- CodePrimitiveExpression.cs
- ObjectNavigationPropertyMapping.cs
- NonClientArea.cs
- BuildProvider.cs
- HyperLinkDesigner.cs
- DynamicUpdateCommand.cs
- DPCustomTypeDescriptor.cs
- CommandHelpers.cs
- ExpressionBuilderCollection.cs
- DataObject.cs
- DesignerWithHeader.cs
- UnknownBitmapDecoder.cs
- NativeMethods.cs
- TextEditorTyping.cs
- AnnouncementInnerClient11.cs
- CompoundFileDeflateTransform.cs
- Context.cs
- FigureHelper.cs
- EditorPartCollection.cs
- FileIOPermission.cs
- PermissionSetEnumerator.cs
- RowParagraph.cs
- CellParagraph.cs
- RectAnimationClockResource.cs
- InfoCardSymmetricAlgorithm.cs
- HtmlTableCellCollection.cs
- DetailsViewDeletedEventArgs.cs
- HierarchicalDataBoundControlAdapter.cs
- SafeRightsManagementSessionHandle.cs
- TerminateSequence.cs
- XPathItem.cs
- PathSegment.cs
- AttributeInfo.cs
- PartialList.cs
- JsonByteArrayDataContract.cs
- LayoutUtils.cs
- CultureInfo.cs
- StringInfo.cs