Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / AccessViolationException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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 } } // 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
- CheckedListBox.cs
- GridLengthConverter.cs
- StateDesigner.Layouts.cs
- BindingGraph.cs
- IResourceProvider.cs
- LineGeometry.cs
- WebBrowserHelper.cs
- PreservationFileReader.cs
- WindowsStreamSecurityUpgradeProvider.cs
- RSAOAEPKeyExchangeDeformatter.cs
- VisualProxy.cs
- TreeNodeBinding.cs
- ImpersonationContext.cs
- TimeZone.cs
- EncoderParameters.cs
- ToolboxItemAttribute.cs
- DateRangeEvent.cs
- listitem.cs
- XamlTypeMapper.cs
- PropertyPathWorker.cs
- WebRequest.cs
- PrintPreviewGraphics.cs
- ReaderWriterLockWrapper.cs
- PointCollection.cs
- RunWorkerCompletedEventArgs.cs
- PlacementWorkspace.cs
- AttributeCollection.cs
- AssociatedControlConverter.cs
- BuildManager.cs
- Main.cs
- Pair.cs
- WebPartUserCapability.cs
- CodeAssignStatement.cs
- InsufficientMemoryException.cs
- Expander.cs
- AssemblyUtil.cs
- ZipPackagePart.cs
- Localizer.cs
- StoreItemCollection.cs
- SamlAuthenticationClaimResource.cs
- DataGridPagerStyle.cs
- StringDictionaryEditor.cs
- ScriptResourceInfo.cs
- GeneratedCodeAttribute.cs
- HttpValueCollection.cs
- GetPageCompletedEventArgs.cs
- Variant.cs
- Point.cs
- MergeLocalizationDirectives.cs
- LineMetrics.cs
- ModuleBuilderData.cs
- XmlTextWriter.cs
- ZipIOCentralDirectoryFileHeader.cs
- PerformanceCounterPermissionAttribute.cs
- KeyedByTypeCollection.cs
- SchemaElementDecl.cs
- DataListItemCollection.cs
- SubMenuStyle.cs
- NotificationContext.cs
- ConfigurationManagerHelper.cs
- WindowsFont.cs
- AuthorizationSection.cs
- oledbmetadatacolumnnames.cs
- HttpModuleCollection.cs
- TreePrinter.cs
- TranslateTransform3D.cs
- TypeContext.cs
- TextAction.cs
- ColumnTypeConverter.cs
- PersistenceException.cs
- ConfigXmlElement.cs
- KeyInterop.cs
- MemberDomainMap.cs
- ObjectDataSourceSelectingEventArgs.cs
- Emitter.cs
- ProcessStartInfo.cs
- SchemaEntity.cs
- PerformanceCounter.cs
- XmlEventCache.cs
- PerformanceCounterPermission.cs
- RuntimeEnvironment.cs
- XmlUnspecifiedAttribute.cs
- Cursors.cs
- SchemaObjectWriter.cs
- ApplicationBuildProvider.cs
- SoapExtensionReflector.cs
- SmtpNtlmAuthenticationModule.cs
- WithStatement.cs
- XmlNullResolver.cs
- StringInfo.cs
- StrokeNode.cs
- SerializationHelper.cs
- EntityCommandDefinition.cs
- XmlTextReaderImplHelpers.cs
- GridViewDeletedEventArgs.cs
- PieceNameHelper.cs
- DurableInstanceProvider.cs
- TimeZone.cs
- Operand.cs
- SourceFilter.cs