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
- ProfileServiceManager.cs
- FullTextBreakpoint.cs
- AutoScrollHelper.cs
- XmlSchemaAnnotated.cs
- DBAsyncResult.cs
- ProbeMatchesMessageCD1.cs
- XmlNamespaceMapping.cs
- HScrollProperties.cs
- ChtmlLinkAdapter.cs
- Latin1Encoding.cs
- XmlSchemaSimpleTypeRestriction.cs
- BaseTypeViewSchema.cs
- DataViewListener.cs
- BaseCAMarshaler.cs
- MobileResource.cs
- ExpressionBindingCollection.cs
- __ComObject.cs
- ExitEventArgs.cs
- SqlConnectionPoolGroupProviderInfo.cs
- AttachedPropertyBrowsableAttribute.cs
- Utils.cs
- TextControl.cs
- entityreference_tresulttype.cs
- CheckableControlBaseAdapter.cs
- XmlObjectSerializerReadContext.cs
- EmptyEnumerable.cs
- ParameterCollection.cs
- FormViewInsertedEventArgs.cs
- DataGridViewDataErrorEventArgs.cs
- arclist.cs
- CompilerScope.cs
- InvalidDataException.cs
- TextParaClient.cs
- XmlExpressionDumper.cs
- ArraySegment.cs
- ContentType.cs
- TargetParameterCountException.cs
- WebPartDisplayModeEventArgs.cs
- Wildcard.cs
- StaticContext.cs
- CompareValidator.cs
- IdentityReference.cs
- HttpSessionStateBase.cs
- TypedDatasetGenerator.cs
- TableLayoutSettingsTypeConverter.cs
- Light.cs
- PermissionSetEnumerator.cs
- FileLevelControlBuilderAttribute.cs
- GeometryModel3D.cs
- ColumnWidthChangedEvent.cs
- PrimitiveXmlSerializers.cs
- CacheChildrenQuery.cs
- SplitterEvent.cs
- SplineKeyFrames.cs
- KerberosReceiverSecurityToken.cs
- PolyBezierSegment.cs
- ContractAdapter.cs
- RowCache.cs
- PrincipalPermission.cs
- ElementsClipboardData.cs
- HostSecurityManager.cs
- ThicknessAnimationUsingKeyFrames.cs
- TemplateControlBuildProvider.cs
- GradientBrush.cs
- XslNumber.cs
- XamlToRtfParser.cs
- HtmlInputHidden.cs
- ComponentCommands.cs
- NotFiniteNumberException.cs
- COSERVERINFO.cs
- IBuiltInEvidence.cs
- SizeF.cs
- EntityCodeGenerator.cs
- Shape.cs
- SystemInformation.cs
- ButtonPopupAdapter.cs
- MenuItemCollectionEditor.cs
- Trigger.cs
- MenuCommand.cs
- ChameleonKey.cs
- RtType.cs
- Int32KeyFrameCollection.cs
- SmiXetterAccessMap.cs
- TreeChangeInfo.cs
- DbDataSourceEnumerator.cs
- SqlParameterCollection.cs
- BezierSegment.cs
- OutOfProcStateClientManager.cs
- WizardStepBase.cs
- CodeNamespaceImportCollection.cs
- OracleRowUpdatingEventArgs.cs
- ServiceModelActivity.cs
- basevalidator.cs
- BaseServiceProvider.cs
- FileBasedResourceGroveler.cs
- OdbcEnvironmentHandle.cs
- XmlSignificantWhitespace.cs
- TimeoutValidationAttribute.cs
- EffectiveValueEntry.cs
- DependencyObjectValidator.cs