Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / AccessViolationException.cs / 1 / AccessViolationException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: AccessViolationException ** ** ** Purpose: Exception class representing an AV that was deemed unsafe and may have corrupted the application. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class AccessViolationException : SystemException { public AccessViolationException() : base(Environment.GetResourceString("Arg_AccessViolationException")) { SetErrorCode(__HResults.E_POINTER); } public AccessViolationException(String message) : base(message) { SetErrorCode(__HResults.E_POINTER); } public AccessViolationException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.E_POINTER); } protected AccessViolationException(SerializationInfo info, StreamingContext context) : base(info, context) {} #pragma warning disable 169 // Field is not used from managed. private IntPtr _ip; // Address of faulting instruction. private IntPtr _target; // Address that could not be accessed. private int _accessType; // 0:read, 1:write #pragma warning restore 169 } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MultitargetUtil.cs
- DataColumnChangeEvent.cs
- SQLRoleProvider.cs
- ResourceExpressionBuilder.cs
- UIServiceHelper.cs
- IListConverters.cs
- ToolStripPanelSelectionGlyph.cs
- TableItemPatternIdentifiers.cs
- RectAnimationBase.cs
- AspCompat.cs
- MemberPath.cs
- StrongNameUtility.cs
- GreaterThan.cs
- ListBindingConverter.cs
- PackageController.cs
- ReadOnlyDictionary.cs
- SessionStateContainer.cs
- DictionaryKeyPropertyAttribute.cs
- SafeRightsManagementPubHandle.cs
- ListenerHandler.cs
- Exceptions.cs
- DataView.cs
- NotifyInputEventArgs.cs
- MediaElementAutomationPeer.cs
- PerformanceCounterManager.cs
- ObjectSelectorEditor.cs
- InitializeCorrelation.cs
- HijriCalendar.cs
- ADMembershipUser.cs
- RsaSecurityToken.cs
- HandlerMappingMemo.cs
- SequentialOutput.cs
- PackWebRequest.cs
- TemplateBindingExtension.cs
- MultiView.cs
- DataTableExtensions.cs
- SeverityFilter.cs
- RelationshipType.cs
- PreDigestedSignedInfo.cs
- Int64AnimationUsingKeyFrames.cs
- UseLicense.cs
- AppDomainUnloadedException.cs
- MetadataCache.cs
- ZoneIdentityPermission.cs
- RectAnimationClockResource.cs
- WindowsGraphicsCacheManager.cs
- DesignTimeParseData.cs
- KeyInfo.cs
- DocumentXPathNavigator.cs
- SBCSCodePageEncoding.cs
- XmlName.cs
- BindingExpressionBase.cs
- OneWayBindingElement.cs
- ResourceKey.cs
- XsdDateTime.cs
- ProfileModule.cs
- SequentialWorkflowHeaderFooter.cs
- ImageFormat.cs
- ConfigViewGenerator.cs
- SamlSecurityToken.cs
- ArrayList.cs
- ISO2022Encoding.cs
- InputReportEventArgs.cs
- SqlServices.cs
- Wizard.cs
- ActionMessageFilterTable.cs
- parserscommon.cs
- ITreeGenerator.cs
- CacheDependency.cs
- SQLRoleProvider.cs
- ValidationPropertyAttribute.cs
- PackagePartCollection.cs
- DeflateEmulationStream.cs
- Page.cs
- CollectionBase.cs
- InOutArgumentConverter.cs
- CodeIterationStatement.cs
- graph.cs
- Native.cs
- Function.cs
- IisTraceWebEventProvider.cs
- OdbcTransaction.cs
- IdentityHolder.cs
- formatstringdialog.cs
- ToolStripPanelRenderEventArgs.cs
- AppDomainProtocolHandler.cs
- DataGridViewCellValidatingEventArgs.cs
- ProtocolsConfiguration.cs
- CompilerErrorCollection.cs
- LogoValidationException.cs
- EntityContainerEmitter.cs
- AssemblyNameUtility.cs
- MostlySingletonList.cs
- WebPartZoneCollection.cs
- WeakKeyDictionary.cs
- InheritanceContextHelper.cs
- OleDbCommandBuilder.cs
- ServiceMetadataExtension.cs
- BufferedMessageWriter.cs
- ImageClickEventArgs.cs