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
- DbConnectionClosed.cs
- PenContexts.cs
- X509SecurityTokenParameters.cs
- COM2TypeInfoProcessor.cs
- TemplatePartAttribute.cs
- GenericTextProperties.cs
- LogicalTreeHelper.cs
- ProviderConnectionPoint.cs
- FieldMetadata.cs
- TypeReference.cs
- WebBrowserNavigatingEventHandler.cs
- XmlDocumentType.cs
- Subset.cs
- OleDbConnectionInternal.cs
- CodeConstructor.cs
- HttpInputStream.cs
- XmlNodeChangedEventArgs.cs
- HotSpotCollectionEditor.cs
- FrameAutomationPeer.cs
- ToolStripContentPanelDesigner.cs
- FileStream.cs
- cookieexception.cs
- XmlHelper.cs
- ReceiveSecurityHeaderEntry.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- _IPv4Address.cs
- storepermission.cs
- NestedContainer.cs
- XmlSubtreeReader.cs
- RegexStringValidator.cs
- StreamWriter.cs
- X509Utils.cs
- PrinterSettings.cs
- QueuePathDialog.cs
- RegistryExceptionHelper.cs
- PassportPrincipal.cs
- ParameterCollection.cs
- LocalBuilder.cs
- ActivationProxy.cs
- DataViewListener.cs
- Pipe.cs
- DataBindingCollectionConverter.cs
- MetadataCollection.cs
- LocatorBase.cs
- FontDriver.cs
- TableRow.cs
- PersonalizationProviderCollection.cs
- COM2EnumConverter.cs
- StrokeDescriptor.cs
- DynamicPropertyHolder.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- NullableIntSumAggregationOperator.cs
- Variant.cs
- TypeExtensionConverter.cs
- HostingEnvironmentException.cs
- Listbox.cs
- GacUtil.cs
- OutgoingWebResponseContext.cs
- Menu.cs
- DbDataSourceEnumerator.cs
- X509WindowsSecurityToken.cs
- DeviceContexts.cs
- HttpListenerRequest.cs
- DataGridViewCellCancelEventArgs.cs
- DbSourceParameterCollection.cs
- GeometryDrawing.cs
- ColumnCollection.cs
- AssociationTypeEmitter.cs
- Material.cs
- InheritanceUI.cs
- TextRenderer.cs
- DataGridDesigner.cs
- WindowsListViewGroup.cs
- HttpWebRequest.cs
- FastPropertyAccessor.cs
- ObservableCollection.cs
- FloatMinMaxAggregationOperator.cs
- ToolTipService.cs
- ProvidersHelper.cs
- Panel.cs
- SerializationEventsCache.cs
- DbXmlEnabledProviderManifest.cs
- MD5HashHelper.cs
- BreakRecordTable.cs
- DoubleConverter.cs
- RegexCaptureCollection.cs
- SingleBodyParameterMessageFormatter.cs
- XmlToDatasetMap.cs
- SrgsElementFactory.cs
- StreamGeometry.cs
- FormCollection.cs
- SourceChangedEventArgs.cs
- OleDbPermission.cs
- ParenthesizePropertyNameAttribute.cs
- FlowDocumentView.cs
- ItemPager.cs
- CheckableControlBaseAdapter.cs
- ChildTable.cs
- DataAdapter.cs
- NavigationProperty.cs