Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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 } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TrustManager.cs
- DocumentXmlWriter.cs
- wgx_sdk_version.cs
- ServiceObjectContainer.cs
- brushes.cs
- ToolStripItemImageRenderEventArgs.cs
- WebPartVerb.cs
- XmlTypeMapping.cs
- Event.cs
- TextParaClient.cs
- BitmapFrame.cs
- EntityViewContainer.cs
- InfoCardCryptoHelper.cs
- WebPartCatalogAddVerb.cs
- RegexMatchCollection.cs
- TextRunCache.cs
- AuthenticodeSignatureInformation.cs
- ConnectionProviderAttribute.cs
- RectConverter.cs
- MenuBase.cs
- ModuleBuilderData.cs
- InlinedAggregationOperatorEnumerator.cs
- ItemAutomationPeer.cs
- DynamicResourceExtension.cs
- KeyboardEventArgs.cs
- HttpDictionary.cs
- WorkflowTerminatedException.cs
- DataMemberAttribute.cs
- RelatedCurrencyManager.cs
- MyContact.cs
- ResourceDefaultValueAttribute.cs
- AuthenticationSection.cs
- SplashScreen.cs
- Point3DCollection.cs
- DataGrid.cs
- InternalCache.cs
- TemplateBuilder.cs
- QilUnary.cs
- unsafenativemethodstextservices.cs
- UITypeEditor.cs
- DictionaryTraceRecord.cs
- EndPoint.cs
- MenuItemBinding.cs
- AppAction.cs
- OAVariantLib.cs
- SchemaNamespaceManager.cs
- ByteStorage.cs
- WindowsSidIdentity.cs
- SmtpReplyReaderFactory.cs
- OdbcTransaction.cs
- KeyInstance.cs
- HitTestResult.cs
- IntSecurity.cs
- PropertyIdentifier.cs
- StructuredType.cs
- TraceContext.cs
- FlowDocumentPaginator.cs
- SiteMapDataSource.cs
- TargetFrameworkAttribute.cs
- FunctionOverloadResolver.cs
- Util.cs
- IMembershipProvider.cs
- DataServiceContext.cs
- FormViewUpdateEventArgs.cs
- DrawToolTipEventArgs.cs
- TcpPortSharing.cs
- CompensateDesigner.cs
- SerializationHelper.cs
- TextRunProperties.cs
- NamespaceCollection.cs
- NotifyIcon.cs
- Animatable.cs
- TextRunTypographyProperties.cs
- ExtendedPropertyDescriptor.cs
- WebPartEditorOkVerb.cs
- Compiler.cs
- DocobjHost.cs
- EntityDataSource.cs
- ModulesEntry.cs
- DecoderNLS.cs
- RtfToXamlLexer.cs
- Model3DGroup.cs
- IPGlobalProperties.cs
- BitmapPalette.cs
- PathSegment.cs
- TimerExtension.cs
- ReadOnlyHierarchicalDataSourceView.cs
- LinkConverter.cs
- DelegateArgument.cs
- __ConsoleStream.cs
- VariableReference.cs
- FixedSOMTextRun.cs
- CellParaClient.cs
- ConsumerConnectionPointCollection.cs
- FileSystemInfo.cs
- PartialList.cs
- VectorAnimation.cs
- StreamMarshaler.cs
- WorkflowPageSetupDialog.cs
- DashStyle.cs