Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / AccessViolationException.cs / 2 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridHeaderBorder.cs
- Container.cs
- SByteStorage.cs
- XmlEntity.cs
- SelectionEditingBehavior.cs
- isolationinterop.cs
- Asn1IntegerConverter.cs
- GraphicsContainer.cs
- Overlapped.cs
- WebPartEditorOkVerb.cs
- OperationFormatter.cs
- AmbiguousMatchException.cs
- ContentElement.cs
- HtmlLink.cs
- Point.cs
- Pair.cs
- XslVisitor.cs
- WebServiceResponseDesigner.cs
- InternalResources.cs
- StackBuilderSink.cs
- SqlCommandAsyncResult.cs
- RadioButtonBaseAdapter.cs
- Constants.cs
- TextRangeEditTables.cs
- PeerUnsafeNativeCryptMethods.cs
- QualifiedCellIdBoolean.cs
- ProjectionCamera.cs
- ContentElementAutomationPeer.cs
- XsltArgumentList.cs
- XmlEncoding.cs
- CriticalFinalizerObject.cs
- CollectionView.cs
- AuthenticateEventArgs.cs
- RuntimeCompatibilityAttribute.cs
- ItemsChangedEventArgs.cs
- DataGridTableCollection.cs
- OdbcFactory.cs
- CompressedStack.cs
- DeviceContext.cs
- XmlDocumentSerializer.cs
- SystemSounds.cs
- MediaElementAutomationPeer.cs
- LateBoundBitmapDecoder.cs
- SimplePropertyEntry.cs
- TagPrefixAttribute.cs
- WeakKeyDictionary.cs
- CategoryState.cs
- odbcmetadatacolumnnames.cs
- WindowsListViewGroupHelper.cs
- QueryAsyncResult.cs
- ManageRequest.cs
- PageBuildProvider.cs
- SystemTcpStatistics.cs
- ProfilePropertySettings.cs
- TextClipboardData.cs
- ConfigurationSchemaErrors.cs
- AccessorTable.cs
- ByteStreamMessageUtility.cs
- Logging.cs
- CompilerResults.cs
- Camera.cs
- JsonSerializer.cs
- SqlDataSourceEnumerator.cs
- AuthenticatedStream.cs
- SoapInteropTypes.cs
- GlyphRunDrawing.cs
- SmtpNtlmAuthenticationModule.cs
- MobileCapabilities.cs
- Logging.cs
- XmlNodeList.cs
- WebPartVerb.cs
- EntityDesignerBuildProvider.cs
- Ref.cs
- MultiPageTextView.cs
- ContextActivityUtils.cs
- CaseInsensitiveComparer.cs
- PointConverter.cs
- ListItemParagraph.cs
- CharacterHit.cs
- XmlSchemaSimpleContentExtension.cs
- SuppressIldasmAttribute.cs
- IntAverageAggregationOperator.cs
- GraphicsContainer.cs
- ZipIOExtraFieldZip64Element.cs
- RichTextBox.cs
- controlskin.cs
- BamlCollectionHolder.cs
- control.ime.cs
- EndOfStreamException.cs
- ControlCommandSet.cs
- ContentControl.cs
- Assert.cs
- Focus.cs
- XamlHostingConfiguration.cs
- DbConnectionOptions.cs
- NamedPermissionSet.cs
- QueryComponents.cs
- CodeValidator.cs
- DomNameTable.cs
- ConfigXmlDocument.cs