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
- DispatcherEventArgs.cs
- DataShape.cs
- PersonalizationState.cs
- OleDbStruct.cs
- SequentialUshortCollection.cs
- IpcClientChannel.cs
- ParallelLoopState.cs
- Animatable.cs
- SqlRemoveConstantOrderBy.cs
- SapiRecoInterop.cs
- SqlBuffer.cs
- State.cs
- DataRecord.cs
- ListViewDataItem.cs
- XmlNamedNodeMap.cs
- StorageMappingFragment.cs
- ListenerServiceInstallComponent.cs
- HttpListenerContext.cs
- NamedPipeTransportElement.cs
- ProcessHostMapPath.cs
- ServiceModelEnumValidatorAttribute.cs
- DateTimeUtil.cs
- LogicalExpr.cs
- StrongName.cs
- FileVersion.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- InvalidDataException.cs
- CapacityStreamGeometryContext.cs
- BitStream.cs
- StyleXamlParser.cs
- ReadWriteSpinLock.cs
- Timer.cs
- CapabilitiesRule.cs
- Camera.cs
- SignedXml.cs
- WindowsRichEditRange.cs
- DebugView.cs
- TemplateBindingExpressionConverter.cs
- CommandPlan.cs
- SafeNativeMethods.cs
- ProgressiveCrcCalculatingStream.cs
- MenuEventArgs.cs
- precedingsibling.cs
- TemplateColumn.cs
- TextElementEnumerator.cs
- ControlBindingsConverter.cs
- MaskedTextProvider.cs
- SqlNodeAnnotation.cs
- DataGridViewElement.cs
- Style.cs
- ExpressionBindingsDialog.cs
- BaseValidator.cs
- DESCryptoServiceProvider.cs
- FacetChecker.cs
- ProtocolsConfigurationEntry.cs
- EventDescriptor.cs
- DeleteIndexBinder.cs
- LinqDataSourceEditData.cs
- SourceInterpreter.cs
- RuleSettings.cs
- Emitter.cs
- WebCategoryAttribute.cs
- EntityConnection.cs
- SystemIcmpV4Statistics.cs
- DrawingServices.cs
- LinkGrep.cs
- ServiceNameElement.cs
- Root.cs
- ScriptResourceHandler.cs
- ScrollChrome.cs
- GenericXmlSecurityToken.cs
- FontWeightConverter.cs
- ToolStripPanelRow.cs
- SpecialFolderEnumConverter.cs
- ValueChangedEventManager.cs
- EntitySqlQueryCacheKey.cs
- LongValidatorAttribute.cs
- MachineKeySection.cs
- SimpleRecyclingCache.cs
- DrawingBrush.cs
- XmlSchemaCollection.cs
- NativeWrapper.cs
- QueryContinueDragEvent.cs
- shaper.cs
- SqlConnectionPoolGroupProviderInfo.cs
- QilVisitor.cs
- SafeSecurityHelper.cs
- WindowsAltTab.cs
- TextTreeTextNode.cs
- TextEditorLists.cs
- XmlDocumentFragment.cs
- assemblycache.cs
- listitem.cs
- XmlPreloadedResolver.cs
- TokenBasedSet.cs
- DataBoundControl.cs
- VectorCollection.cs
- ZipIOExtraFieldElement.cs
- Table.cs
- NameValueFileSectionHandler.cs