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
- Bezier.cs
- SqlPersonalizationProvider.cs
- StatusBarPanel.cs
- TempFiles.cs
- FlowNode.cs
- ServiceModelTimeSpanValidator.cs
- SmtpAuthenticationManager.cs
- AnnotationAuthorChangedEventArgs.cs
- SqlDelegatedTransaction.cs
- GroupItem.cs
- ToolStripItemRenderEventArgs.cs
- UnauthorizedWebPart.cs
- GenericUriParser.cs
- SQLInt16.cs
- WinCategoryAttribute.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- RelationshipType.cs
- XamlClipboardData.cs
- WebDescriptionAttribute.cs
- LineGeometry.cs
- BrowserCapabilitiesCodeGenerator.cs
- ImmutableCommunicationTimeouts.cs
- ConnectivityStatus.cs
- ApplicationHost.cs
- VirtualPathUtility.cs
- WindowsBrush.cs
- FixedSOMPageConstructor.cs
- SqlLiftWhereClauses.cs
- HorizontalAlignConverter.cs
- WindowShowOrOpenTracker.cs
- HtmlMeta.cs
- DocobjHost.cs
- CacheOutputQuery.cs
- SerializationEventsCache.cs
- RowToFieldTransformer.cs
- DirectoryRedirect.cs
- DownloadProgressEventArgs.cs
- EventWaitHandleSecurity.cs
- BitmapFrameDecode.cs
- PropertyTabChangedEvent.cs
- UriSchemeKeyedCollection.cs
- SecurityProtocolCorrelationState.cs
- ObjectSet.cs
- BamlRecordWriter.cs
- XmlSignificantWhitespace.cs
- AttachedAnnotationChangedEventArgs.cs
- ResXResourceReader.cs
- FilterException.cs
- AccessViolationException.cs
- GenericQueueSurrogate.cs
- TreeChangeInfo.cs
- XmlSchemaComplexContentRestriction.cs
- SimpleParser.cs
- RichTextBox.cs
- ProfilePropertySettings.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- RadioButtonStandardAdapter.cs
- StopStoryboard.cs
- MenuCommand.cs
- PointCollection.cs
- mediapermission.cs
- HitTestWithGeometryDrawingContextWalker.cs
- TreeViewAutomationPeer.cs
- TraceInternal.cs
- ProfileGroupSettings.cs
- IsolatedStorageFileStream.cs
- ReferentialConstraint.cs
- SchemaHelper.cs
- TaskExceptionHolder.cs
- SemanticKeyElement.cs
- Column.cs
- SqlDataSourceConfigureFilterForm.cs
- SetUserLanguageRequest.cs
- FunctionQuery.cs
- MemberDomainMap.cs
- ContractSearchPattern.cs
- Polyline.cs
- CommonProperties.cs
- FileLogRecordEnumerator.cs
- Oci.cs
- DataBoundControl.cs
- EventRouteFactory.cs
- ToolBarTray.cs
- HttpWebRequest.cs
- UIElementParaClient.cs
- UInt16.cs
- NullableFloatAverageAggregationOperator.cs
- CurrencyWrapper.cs
- HashSetDebugView.cs
- TextRangeProviderWrapper.cs
- DataGridViewSelectedColumnCollection.cs
- QilIterator.cs
- DataObjectCopyingEventArgs.cs
- PeerApplication.cs
- DbTypeMap.cs
- COM2PropertyPageUITypeConverter.cs
- InnerItemCollectionView.cs
- ToolStripCollectionEditor.cs
- WebPartConnectionCollection.cs
- ExceptionHandlers.cs