Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / Reliability / CriticalFinalizerObject.cs / 1 / CriticalFinalizerObject.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: CriticalFinalizerObject ** ** ** Deriving from this class will cause any finalizer you define to be critical ** (i.e. the finalizer is guaranteed to run, won't be aborted by the host and is ** run after the finalizers of other objects collected at the same time). ** ** You must possess UnmanagedCode permission in order to derive from this class. ** ** ===========================================================*/ using System; using System.Security.Permissions; using System.Runtime.InteropServices; namespace System.Runtime.ConstrainedExecution { [SecurityPermission(SecurityAction.InheritanceDemand, UnmanagedCode=true)] [System.Runtime.InteropServices.ComVisible(true)] public abstract class CriticalFinalizerObject { [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] protected CriticalFinalizerObject() { } [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] ~CriticalFinalizerObject() { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DashStyle.cs
- InputMethodStateTypeInfo.cs
- IxmlLineInfo.cs
- SmiEventSink.cs
- Maps.cs
- JavaScriptSerializer.cs
- Span.cs
- ISAPIWorkerRequest.cs
- Publisher.cs
- RectangleF.cs
- StrokeRenderer.cs
- UnsafeCollabNativeMethods.cs
- AuthenticationSection.cs
- ProcessModuleCollection.cs
- TagMapInfo.cs
- cookieexception.cs
- RelationshipEndCollection.cs
- ExtenderHelpers.cs
- CachedFontFace.cs
- FastEncoder.cs
- ContextDataSourceContextData.cs
- Codec.cs
- KnownTypesProvider.cs
- ObjectView.cs
- httpstaticobjectscollection.cs
- SplitterPanelDesigner.cs
- RequestCacheValidator.cs
- LicFileLicenseProvider.cs
- TextRenderer.cs
- ContentType.cs
- ManagedCodeMarkers.cs
- TextFormattingConverter.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- DataPager.cs
- AppDomainProtocolHandler.cs
- Dictionary.cs
- MenuItem.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- AbstractSvcMapFileLoader.cs
- DataRowComparer.cs
- SchemaManager.cs
- metadatamappinghashervisitor.cs
- ActiveXHost.cs
- Adorner.cs
- Line.cs
- XmlCompatibilityReader.cs
- DynamicRenderer.cs
- RegexFCD.cs
- CommandField.cs
- DropShadowBitmapEffect.cs
- TypeSystem.cs
- Menu.cs
- Listbox.cs
- PrePrepareMethodAttribute.cs
- ShaderEffect.cs
- ScrollChrome.cs
- ClientSettingsSection.cs
- QueryAccessibilityHelpEvent.cs
- MenuStrip.cs
- OracleConnectionFactory.cs
- BulletChrome.cs
- KeyEvent.cs
- BuildProviderAppliesToAttribute.cs
- EmptyQuery.cs
- EditorZone.cs
- SystemWebSectionGroup.cs
- SQLResource.cs
- PlatformNotSupportedException.cs
- XmlSchemaCollection.cs
- SchemaImporterExtensionElementCollection.cs
- AttachedAnnotationChangedEventArgs.cs
- LineServicesCallbacks.cs
- IsolationInterop.cs
- COM2ComponentEditor.cs
- RegistrySecurity.cs
- ExceptionAggregator.cs
- IisTraceListener.cs
- NamedPipeDuplicateContext.cs
- ExtractorMetadata.cs
- PresentationAppDomainManager.cs
- PrintingPermissionAttribute.cs
- Control.cs
- ConfigurationSectionGroupCollection.cs
- PrtCap_Base.cs
- FileDetails.cs
- TextUtf8RawTextWriter.cs
- Command.cs
- CodeEntryPointMethod.cs
- BitmapMetadata.cs
- XPathDescendantIterator.cs
- RowsCopiedEventArgs.cs
- XPathBinder.cs
- HttpWebRequest.cs
- BulletChrome.cs
- ByteStream.cs
- altserialization.cs
- WindowsClientElement.cs
- connectionpool.cs
- AudioStateChangedEventArgs.cs
- PackagingUtilities.cs