Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / UnauthorizedAccessException.cs / 1 / UnauthorizedAccessException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: UnauthorizedAccessException ** ** ** Purpose: An exception for OS 'access denied' types of ** errors, including IO and limited security types ** of errors. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System { // The UnauthorizedAccessException is thrown when access errors // occur from IO or other OS methods. [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public class UnauthorizedAccessException : SystemException { public UnauthorizedAccessException() : base(Environment.GetResourceString("Arg_UnauthorizedAccessException")) { SetErrorCode(__HResults.COR_E_UNAUTHORIZEDACCESS); } public UnauthorizedAccessException(String message) : base(message) { SetErrorCode(__HResults.COR_E_UNAUTHORIZEDACCESS); } public UnauthorizedAccessException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_UNAUTHORIZEDACCESS); } protected UnauthorizedAccessException(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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OleCmdHelper.cs
- RIPEMD160.cs
- HtmlElementErrorEventArgs.cs
- CreationContext.cs
- IdentityNotMappedException.cs
- CopyCodeAction.cs
- XomlCompilerError.cs
- MultiBindingExpression.cs
- _SSPIWrapper.cs
- DialogBaseForm.cs
- InkCanvas.cs
- PathFigureCollectionConverter.cs
- ApplicationManager.cs
- HashSetDebugView.cs
- NetworkInformationPermission.cs
- OutKeywords.cs
- CngAlgorithm.cs
- ColorTranslator.cs
- MasterPageBuildProvider.cs
- FixedFindEngine.cs
- InputMethodStateTypeInfo.cs
- ImpersonationContext.cs
- AttachedPropertyDescriptor.cs
- DirectoryGroupQuery.cs
- ScriptReference.cs
- WrapperSecurityCommunicationObject.cs
- LayoutUtils.cs
- TextContainerChangeEventArgs.cs
- HMACSHA512.cs
- DispatchChannelSink.cs
- VirtualPathData.cs
- ConnectionPoolManager.cs
- EntitySqlQueryCacheEntry.cs
- Padding.cs
- PassportAuthenticationEventArgs.cs
- RunInstallerAttribute.cs
- PreviewPrintController.cs
- XmlAttributeOverrides.cs
- Odbc32.cs
- UserInitiatedNavigationPermission.cs
- BulletedListEventArgs.cs
- ECDsa.cs
- CodeIterationStatement.cs
- IFlowDocumentViewer.cs
- KeyboardNavigation.cs
- Bitmap.cs
- ExpressionBindingCollection.cs
- DataGridViewHitTestInfo.cs
- MenuStrip.cs
- MulticastDelegate.cs
- SqlDataAdapter.cs
- AnnotationResourceCollection.cs
- TokenBasedSetEnumerator.cs
- PartialClassGenerationTask.cs
- Queue.cs
- ResolveCriteriaApril2005.cs
- ArcSegment.cs
- LambdaExpression.cs
- XPathDocumentIterator.cs
- ReadOnlyDataSource.cs
- EncryptedPackageFilter.cs
- AutomationEvent.cs
- PlainXmlDeserializer.cs
- ControlEvent.cs
- DoubleAnimationUsingPath.cs
- Gdiplus.cs
- ServiceObjectContainer.cs
- CngKeyCreationParameters.cs
- RelationalExpressions.cs
- CommandBindingCollection.cs
- DocumentApplicationJournalEntry.cs
- AmbientValueAttribute.cs
- BaseParser.cs
- AttributeCollection.cs
- RawStylusInputCustomDataList.cs
- DrawingCollection.cs
- WindowsRebar.cs
- FrameworkElementAutomationPeer.cs
- SBCSCodePageEncoding.cs
- unsafenativemethodstextservices.cs
- StyleXamlParser.cs
- FileUpload.cs
- TargetException.cs
- Certificate.cs
- HttpModuleCollection.cs
- HebrewNumber.cs
- SafeCryptoHandles.cs
- PseudoWebRequest.cs
- StoreContentChangedEventArgs.cs
- OdbcDataReader.cs
- HtmlShimManager.cs
- HtmlButton.cs
- Oci.cs
- SqlCommandBuilder.cs
- JsonReaderDelegator.cs
- EntityReference.cs
- UnauthorizedWebPart.cs
- EncodingFallbackAwareXmlTextWriter.cs
- XmlMapping.cs
- AmbientProperties.cs