Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IO / DriveNotFoundException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- RegexMatchCollection.cs
- ClientBuildManager.cs
- CellNormalizer.cs
- WmlPhoneCallAdapter.cs
- Rotation3DAnimationBase.cs
- ItemsControlAutomationPeer.cs
- SystemDropShadowChrome.cs
- ConfigViewGenerator.cs
- XmlCountingReader.cs
- SrgsGrammarCompiler.cs
- GrowingArray.cs
- AuthenticationModeHelper.cs
- SafeEventLogReadHandle.cs
- SqlReferenceCollection.cs
- NetworkStream.cs
- TypeDelegator.cs
- TrustManager.cs
- OleDbTransaction.cs
- WebPartCollection.cs
- SchemaImporter.cs
- SimpleExpression.cs
- SimpleParser.cs
- HtmlUtf8RawTextWriter.cs
- ConfigXmlAttribute.cs
- FontClient.cs
- ClientCredentialsSecurityTokenManager.cs
- UnwrappedTypesXmlSerializerManager.cs
- FilterQueryOptionExpression.cs
- ToolboxItemLoader.cs
- HtmlLink.cs
- AssemblyNameProxy.cs
- TextComposition.cs
- MultiByteCodec.cs
- PackageProperties.cs
- PasswordBox.cs
- InstanceKey.cs
- BitmapEffectGroup.cs
- contentDescriptor.cs
- RuleRefElement.cs
- ConfigurationElement.cs
- ElementHost.cs
- RayMeshGeometry3DHitTestResult.cs
- SecurityContextCookieSerializer.cs
- XPathParser.cs
- TraceProvider.cs
- SqlStatistics.cs
- SvcMapFile.cs
- SafeCoTaskMem.cs
- TemplatePartAttribute.cs
- StyleXamlTreeBuilder.cs
- _SSPISessionCache.cs
- EnterpriseServicesHelper.cs
- EntityException.cs
- ReflectTypeDescriptionProvider.cs
- XmlSchemaSimpleContentRestriction.cs
- TreeViewItemAutomationPeer.cs
- UTF7Encoding.cs
- DataControlField.cs
- Pool.cs
- FormsAuthenticationUser.cs
- GenericsInstances.cs
- SmtpSection.cs
- IsolatedStorageSecurityState.cs
- _IPv6Address.cs
- GCHandleCookieTable.cs
- Quaternion.cs
- InlineObject.cs
- ServicePoint.cs
- SqlLiftWhereClauses.cs
- IItemContainerGenerator.cs
- SafeHGlobalHandleCritical.cs
- ZipFileInfoCollection.cs
- RowUpdatingEventArgs.cs
- ByteStorage.cs
- DataServiceException.cs
- TextRangeEditTables.cs
- Enumerable.cs
- Mutex.cs
- DataGridViewRowConverter.cs
- RichTextBox.cs
- XmlAttributeCache.cs
- ScriptResourceAttribute.cs
- ServiceReference.cs
- BamlResourceContent.cs
- ConnectionProviderAttribute.cs
- EntityAdapter.cs
- Converter.cs
- RowTypeElement.cs
- SHA1Cng.cs
- LocatorPart.cs
- DispatcherExceptionFilterEventArgs.cs
- Encoder.cs
- DbConnectionStringBuilder.cs
- RayHitTestParameters.cs
- UnionExpr.cs
- ContextToken.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- PathParser.cs
- InputBindingCollection.cs
- SubMenuStyleCollection.cs