Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / UnauthorizedAccessException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated protected UnauthorizedAccessException(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
- RightsManagementResourceHelper.cs
- VideoDrawing.cs
- ReferentialConstraint.cs
- ActivitiesCollection.cs
- JoinElimination.cs
- TemplateGroupCollection.cs
- MsmqIntegrationSecurityMode.cs
- ContentPlaceHolder.cs
- ExecutionContext.cs
- SchemaImporterExtensionElementCollection.cs
- NoPersistProperty.cs
- InternalBase.cs
- DataGridTextBox.cs
- FrugalList.cs
- ContentOperations.cs
- DataRecord.cs
- ClassData.cs
- FilteredAttributeCollection.cs
- TimeSpanConverter.cs
- TranslateTransform.cs
- FormViewDeletedEventArgs.cs
- WebServiceResponse.cs
- PartitionedStream.cs
- _NetRes.cs
- SqlDataSourceCustomCommandEditor.cs
- DrawingVisualDrawingContext.cs
- WindowsSysHeader.cs
- WindowsFormsLinkLabel.cs
- InheritanceAttribute.cs
- DataMemberAttribute.cs
- TextTreeFixupNode.cs
- ToolStripTemplateNode.cs
- EmptyCollection.cs
- FontWeights.cs
- WebControlAdapter.cs
- IsolatedStorage.cs
- TextEditorParagraphs.cs
- RegionIterator.cs
- UrlMappingsModule.cs
- CachedTypeface.cs
- AssemblyResourceLoader.cs
- EditorOptionAttribute.cs
- BitmapSizeOptions.cs
- PropertyTab.cs
- ThrowHelper.cs
- LogicalTreeHelper.cs
- UrlAuthorizationModule.cs
- AssemblyContextControlItem.cs
- ParagraphVisual.cs
- ForeignConstraint.cs
- TemplateLookupAction.cs
- HttpListenerResponse.cs
- DataServiceQuery.cs
- PropertyGrid.cs
- FilterableAttribute.cs
- SiteMapHierarchicalDataSourceView.cs
- Sql8ExpressionRewriter.cs
- HyperLinkField.cs
- HttpHandlerAction.cs
- TextElementEnumerator.cs
- DocumentPageTextView.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- JsonReaderWriterFactory.cs
- DataGridViewMethods.cs
- SoapMessage.cs
- AxDesigner.cs
- EqualityArray.cs
- DataTableMappingCollection.cs
- AsymmetricSignatureDeformatter.cs
- SolidColorBrush.cs
- HtmlHistory.cs
- ConstantExpression.cs
- DBCommand.cs
- MethodAccessException.cs
- Matrix3D.cs
- ListControlConvertEventArgs.cs
- BCLDebug.cs
- PriorityChain.cs
- WorkflowFileItem.cs
- CacheSection.cs
- OutputCacheSettingsSection.cs
- ValueSerializer.cs
- DetailsViewDeleteEventArgs.cs
- PointConverter.cs
- Label.cs
- DefinitionUpdate.cs
- CustomAttributeBuilder.cs
- WorkflowNamespace.cs
- XmlSerializationGeneratedCode.cs
- SimpleNameService.cs
- SystemIPInterfaceProperties.cs
- NotifyInputEventArgs.cs
- Expressions.cs
- ClientTarget.cs
- XmlIlGenerator.cs
- Binding.cs
- OutputCacheSettings.cs
- Identity.cs
- DelayedRegex.cs
- TreeNode.cs