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
- WebPartEditorOkVerb.cs
- ListViewContainer.cs
- ClientSettingsSection.cs
- XmlCharCheckingReader.cs
- Base64Decoder.cs
- printdlgexmarshaler.cs
- AssemblyName.cs
- FileRecordSequenceHelper.cs
- EmptyStringExpandableObjectConverter.cs
- LinqExpressionNormalizer.cs
- DrawItemEvent.cs
- FileReservationCollection.cs
- TemplateField.cs
- HealthMonitoringSection.cs
- DbConnectionFactory.cs
- URI.cs
- InstanceData.cs
- BindStream.cs
- typedescriptorpermissionattribute.cs
- ImageMapEventArgs.cs
- BaseTypeViewSchema.cs
- GenericTypeParameterBuilder.cs
- DbQueryCommandTree.cs
- Converter.cs
- NameNode.cs
- AbandonedMutexException.cs
- LoadRetryHandler.cs
- Border.cs
- SoapSchemaMember.cs
- DataSysAttribute.cs
- SessionStateSection.cs
- PageAction.cs
- StreamProxy.cs
- WSHttpSecurity.cs
- UInt16Converter.cs
- ResourceWriter.cs
- XmlNodeComparer.cs
- TextBoxView.cs
- BitmapEffectInputConnector.cs
- CodeEventReferenceExpression.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- PrintPreviewControl.cs
- XamlTreeBuilder.cs
- StretchValidation.cs
- TargetException.cs
- DataSetFieldSchema.cs
- InputScopeManager.cs
- XmlElementAttributes.cs
- HtmlTextArea.cs
- ValidatedControlConverter.cs
- CodeDOMProvider.cs
- Sql8ConformanceChecker.cs
- OracleDataReader.cs
- StatusBarPanel.cs
- BaseAppDomainProtocolHandler.cs
- WriteTimeStream.cs
- TableRowGroup.cs
- ObjectDataSourceDesigner.cs
- SoundPlayer.cs
- ViewBase.cs
- Condition.cs
- util.cs
- WebBrowserProgressChangedEventHandler.cs
- SqlUtils.cs
- TreeViewHitTestInfo.cs
- GlobalProxySelection.cs
- ConfigViewGenerator.cs
- SoapAttributes.cs
- DeferredBinaryDeserializerExtension.cs
- BasicHttpSecurityElement.cs
- AssociationEndMember.cs
- NetworkInformationPermission.cs
- StrokeIntersection.cs
- Dispatcher.cs
- SimplePropertyEntry.cs
- IPipelineRuntime.cs
- EntityContainerEmitter.cs
- IPAddress.cs
- SchemaTypeEmitter.cs
- CheckableControlBaseAdapter.cs
- NullableDecimalAverageAggregationOperator.cs
- AmbientValueAttribute.cs
- StringResourceManager.cs
- TreeIterators.cs
- MemoryFailPoint.cs
- XmlNamespaceDeclarationsAttribute.cs
- XmlILConstructAnalyzer.cs
- TextCompositionManager.cs
- TextBox.cs
- StringToken.cs
- ClientScriptManagerWrapper.cs
- WebBrowserNavigatingEventHandler.cs
- ObjectDataSourceSelectingEventArgs.cs
- DataFormat.cs
- NTAccount.cs
- Pen.cs
- SortDescription.cs
- TemplateNameScope.cs
- TokenBasedSet.cs
- LocalValueEnumerator.cs