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
- ReaderWriterLock.cs
- SliderAutomationPeer.cs
- DesignerMetadata.cs
- ADConnectionHelper.cs
- TextBox.cs
- SystemWebCachingSectionGroup.cs
- ParserHooks.cs
- TickBar.cs
- PageParserFilter.cs
- NavigationService.cs
- ConstraintStruct.cs
- BitmapEffectGeneralTransform.cs
- SiteMapNode.cs
- BitArray.cs
- GenericParameterDataContract.cs
- CodeGeneratorOptions.cs
- CustomValidator.cs
- Overlapped.cs
- VectorCollectionConverter.cs
- FileLevelControlBuilderAttribute.cs
- shaper.cs
- DrawingImage.cs
- SafeNativeMethods.cs
- GeneralTransform.cs
- DataSourceGeneratorException.cs
- OrderedDictionaryStateHelper.cs
- UpDownBaseDesigner.cs
- _LoggingObject.cs
- XmlSortKeyAccumulator.cs
- ActiveDocumentEvent.cs
- FontNameConverter.cs
- DocumentXmlWriter.cs
- EntityCollection.cs
- Rotation3DAnimation.cs
- DataServiceEntityAttribute.cs
- RelationshipFixer.cs
- EmptyStringExpandableObjectConverter.cs
- Animatable.cs
- XmlSchemaSimpleTypeUnion.cs
- GeneralTransform2DTo3D.cs
- DbConnectionPoolIdentity.cs
- XamlHostingConfiguration.cs
- oledbmetadatacollectionnames.cs
- HttpServerVarsCollection.cs
- IndentedWriter.cs
- VirtualPath.cs
- QueryContinueDragEventArgs.cs
- Evidence.cs
- TemplateControlParser.cs
- FormViewUpdateEventArgs.cs
- ComponentEditorPage.cs
- SplineKeyFrames.cs
- EndEvent.cs
- TdsRecordBufferSetter.cs
- ContextDataSourceContextData.cs
- CompoundFileIOPermission.cs
- ServicesUtilities.cs
- SrgsElementFactory.cs
- FilterableAttribute.cs
- WinInetCache.cs
- SynchronizedChannelCollection.cs
- AttributeEmitter.cs
- CompressedStack.cs
- ProviderCollection.cs
- Missing.cs
- TextServicesHost.cs
- CompositeFontFamily.cs
- ActivationServices.cs
- SQLByte.cs
- FactoryMaker.cs
- ScriptServiceAttribute.cs
- XmlQueryCardinality.cs
- OleDbStruct.cs
- StreamGeometry.cs
- DbConnectionPoolGroup.cs
- ListComponentEditor.cs
- DbInsertCommandTree.cs
- XhtmlConformanceSection.cs
- CodeFieldReferenceExpression.cs
- XmlSchemaSet.cs
- MatrixKeyFrameCollection.cs
- MatrixAnimationUsingPath.cs
- DockAndAnchorLayout.cs
- MemberDescriptor.cs
- SiteMapNodeItem.cs
- Int32.cs
- VBCodeProvider.cs
- xmlglyphRunInfo.cs
- HttpDictionary.cs
- ConfigurationValues.cs
- BaseDataBoundControl.cs
- TypeGeneratedEventArgs.cs
- ListViewItem.cs
- DataRecordInternal.cs
- FormViewUpdateEventArgs.cs
- GenerateTemporaryTargetAssembly.cs
- CookielessHelper.cs
- JoinCqlBlock.cs
- __Error.cs
- TrackingQuery.cs