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
- ExpressionNormalizer.cs
- UrlParameterReader.cs
- Types.cs
- TraceLevelStore.cs
- PersonalizationDictionary.cs
- DataColumnMapping.cs
- HyperlinkAutomationPeer.cs
- SortDescriptionCollection.cs
- Version.cs
- wpf-etw.cs
- BitmapEffectInputData.cs
- FlatButtonAppearance.cs
- WindowsButton.cs
- securitymgrsite.cs
- BaseComponentEditor.cs
- GatewayDefinition.cs
- LineMetrics.cs
- ToggleProviderWrapper.cs
- Vector3DAnimation.cs
- CallbackHandler.cs
- MouseActionValueSerializer.cs
- SendMessageContent.cs
- WindowPatternIdentifiers.cs
- TextBoxDesigner.cs
- NumericUpDownAcceleration.cs
- dtdvalidator.cs
- DetailsViewPageEventArgs.cs
- ModuleConfigurationInfo.cs
- InputLanguageProfileNotifySink.cs
- GestureRecognitionResult.cs
- CompressStream.cs
- TraceShell.cs
- DependsOnAttribute.cs
- NavigatorOutput.cs
- XslTransformFileEditor.cs
- ChangeInterceptorAttribute.cs
- DesignerSerializerAttribute.cs
- DataGridViewComboBoxColumn.cs
- OrderPreservingPipeliningMergeHelper.cs
- DodSequenceMerge.cs
- BitmapImage.cs
- SqlFactory.cs
- ListQueryResults.cs
- MemoryFailPoint.cs
- Comparer.cs
- ConfigurationManagerInternal.cs
- IisTraceWebEventProvider.cs
- BooleanFunctions.cs
- HtmlUtf8RawTextWriter.cs
- AttachmentCollection.cs
- IdentityReference.cs
- StandardOleMarshalObject.cs
- NativeMethods.cs
- FtpWebRequest.cs
- ListSortDescriptionCollection.cs
- IgnoreSectionHandler.cs
- ProfileInfo.cs
- EdmSchemaError.cs
- DocumentSequence.cs
- BaseAddressElementCollection.cs
- WCFServiceClientProxyGenerator.cs
- HGlobalSafeHandle.cs
- safemediahandle.cs
- WindowsToolbarAsMenu.cs
- StatusBar.cs
- cookiecollection.cs
- BinaryEditor.cs
- Repeater.cs
- RelationshipType.cs
- ToolStripContentPanel.cs
- DesigntimeLicenseContextSerializer.cs
- ScrollableControlDesigner.cs
- DateTimeParse.cs
- BufferModeSettings.cs
- ToolStripManager.cs
- MappingModelBuildProvider.cs
- BinHexEncoder.cs
- Compress.cs
- MouseOverProperty.cs
- CompilationSection.cs
- TailCallAnalyzer.cs
- DataGridViewTopLeftHeaderCell.cs
- DynamicMethod.cs
- InteropBitmapSource.cs
- SettingsBindableAttribute.cs
- HtmlInputButton.cs
- OciEnlistContext.cs
- ListBase.cs
- PathNode.cs
- DocumentViewerBaseAutomationPeer.cs
- ElementFactory.cs
- SchemaNotation.cs
- WindowsRebar.cs
- GACMembershipCondition.cs
- DesignerMetadata.cs
- XmlEnumAttribute.cs
- CalendarDesigner.cs
- sitestring.cs
- SizeAnimationClockResource.cs
- ModifierKeysValueSerializer.cs