Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- WebFormsRootDesigner.cs
- RightsManagementErrorHandler.cs
- DbConnectionClosed.cs
- Terminate.cs
- LicenseException.cs
- ListParaClient.cs
- MouseOverProperty.cs
- DataGridViewRowPostPaintEventArgs.cs
- IProvider.cs
- SqlBulkCopy.cs
- DataGridAddNewRow.cs
- ControlDesignerState.cs
- FormViewRow.cs
- TextDecoration.cs
- ProfileModule.cs
- DllNotFoundException.cs
- XappLauncher.cs
- WithStatement.cs
- RepeatButtonAutomationPeer.cs
- ThrowHelper.cs
- UpdateCompiler.cs
- PocoEntityKeyStrategy.cs
- CorrelationTokenTypeConvertor.cs
- ToolStripCodeDomSerializer.cs
- BindingManagerDataErrorEventArgs.cs
- DrawingAttributesDefaultValueFactory.cs
- TransformerConfigurationWizardBase.cs
- MimeParameterWriter.cs
- TracingConnectionListener.cs
- CodeSubDirectoriesCollection.cs
- TreeViewImageIndexConverter.cs
- LongValidator.cs
- UpdateException.cs
- EntityParameter.cs
- InvokeMemberBinder.cs
- ContentPlaceHolder.cs
- ZipIOExtraFieldPaddingElement.cs
- ResourceExpressionBuilder.cs
- XmlSchemaDatatype.cs
- TrackPointCollection.cs
- LicenseException.cs
- ProcessInputEventArgs.cs
- DataTableNameHandler.cs
- PolicyException.cs
- StringResourceManager.cs
- LogEntry.cs
- FrameworkElement.cs
- Library.cs
- DllNotFoundException.cs
- WebServiceEnumData.cs
- BitmapEffect.cs
- EnvelopedPkcs7.cs
- CardSpaceShim.cs
- CodeTypeDeclarationCollection.cs
- DataServiceRequestException.cs
- OutOfMemoryException.cs
- BlobPersonalizationState.cs
- NativeMethods.cs
- TableSectionStyle.cs
- InstancePersistence.cs
- TypeConverterAttribute.cs
- VsPropertyGrid.cs
- CalendarDesigner.cs
- NavigationProgressEventArgs.cs
- GlyphsSerializer.cs
- UpdatePanelTriggerCollection.cs
- DbConnectionPoolGroup.cs
- Soap11ServerProtocol.cs
- AdCreatedEventArgs.cs
- CustomErrorCollection.cs
- RequestCacheManager.cs
- SafeEventLogWriteHandle.cs
- AccessControlList.cs
- XmlSchemaExporter.cs
- TableRowCollection.cs
- XmlSchemaParticle.cs
- CommonXSendMessage.cs
- SingleSelectRootGridEntry.cs
- MouseEvent.cs
- SymmetricAlgorithm.cs
- DesignerTextWriter.cs
- CompiledIdentityConstraint.cs
- ExternalCalls.cs
- ReachPageContentSerializerAsync.cs
- PanelDesigner.cs
- IndependentAnimationStorage.cs
- XmlChildNodes.cs
- RSAPKCS1KeyExchangeFormatter.cs
- IndexedString.cs
- IdnMapping.cs
- ResourceIDHelper.cs
- TransformCollection.cs
- DetailsViewInsertedEventArgs.cs
- InternalCache.cs
- EventManager.cs
- LineServicesCallbacks.cs
- DynamicDiscoveryDocument.cs
- TypeCollectionPropertyEditor.cs
- ImageAttributes.cs
- ProgressBarBrushConverter.cs