Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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 } } // 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
- WebBaseEventKeyComparer.cs
- TypeSystemHelpers.cs
- ShapeTypeface.cs
- ClientTarget.cs
- itemelement.cs
- ToolStripContentPanelRenderEventArgs.cs
- WebProxyScriptElement.cs
- UntrustedRecipientException.cs
- BuiltInExpr.cs
- __Filters.cs
- UserInitiatedNavigationPermission.cs
- ComponentConverter.cs
- SpecialNameAttribute.cs
- ExtractedStateEntry.cs
- CodeTypeReferenceExpression.cs
- WebPartConnectionsEventArgs.cs
- SmiMetaDataProperty.cs
- SymmetricAlgorithm.cs
- FastEncoder.cs
- XmlValidatingReader.cs
- CheckedListBox.cs
- Rotation3DAnimation.cs
- GridViewUpdateEventArgs.cs
- WebPartCatalogCloseVerb.cs
- WindowsListViewItemStartMenu.cs
- BasePropertyDescriptor.cs
- QueryCursorEventArgs.cs
- ToolStripControlHost.cs
- InputBinding.cs
- linebase.cs
- ContactManager.cs
- QueryResponse.cs
- CssTextWriter.cs
- TabControl.cs
- CodeCatchClauseCollection.cs
- AutomationPropertyInfo.cs
- recordstate.cs
- FrameDimension.cs
- DataControlFieldHeaderCell.cs
- WebConfigurationFileMap.cs
- Point4D.cs
- CharConverter.cs
- ProcessModelInfo.cs
- MouseGestureConverter.cs
- DataTemplate.cs
- ToolStripPanelRenderEventArgs.cs
- PrivateFontCollection.cs
- DataMemberAttribute.cs
- PasswordDeriveBytes.cs
- WmpBitmapEncoder.cs
- DiscoveryClientDocuments.cs
- PathTooLongException.cs
- Image.cs
- GridViewEditEventArgs.cs
- HttpHeaderCollection.cs
- sqlstateclientmanager.cs
- PerspectiveCamera.cs
- PropertyGridView.cs
- HtmlInputPassword.cs
- AvTrace.cs
- EntityConnectionStringBuilder.cs
- PanelStyle.cs
- RecognizerStateChangedEventArgs.cs
- Behavior.cs
- MimeTypeAttribute.cs
- DashStyle.cs
- SectionRecord.cs
- ValueHandle.cs
- ServiceTimeoutsBehavior.cs
- X509Chain.cs
- TypeInitializationException.cs
- PropertyPathWorker.cs
- StyleTypedPropertyAttribute.cs
- ListViewGroupItemCollection.cs
- ResourcePermissionBaseEntry.cs
- Misc.cs
- ColumnResult.cs
- ProjectedSlot.cs
- DirtyTextRange.cs
- Line.cs
- UpWmlPageAdapter.cs
- PropertyKey.cs
- DebugTraceHelper.cs
- ObjectTag.cs
- TextProperties.cs
- FileDialog.cs
- DataGridDetailsPresenterAutomationPeer.cs
- basenumberconverter.cs
- GlyphRunDrawing.cs
- ObjectContext.cs
- XmlAtomicValue.cs
- WpfSharedXamlSchemaContext.cs
- Overlapped.cs
- Axis.cs
- BufferAllocator.cs
- _KerberosClient.cs
- HGlobalSafeHandle.cs
- CallSite.cs
- ReplyChannelAcceptor.cs
- OutputCacheModule.cs