Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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() { } } } // 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
- CompositeCollectionView.cs
- ReadonlyMessageFilter.cs
- BitmapCodecInfoInternal.cs
- SimpleHandlerFactory.cs
- XpsFontSerializationService.cs
- FontUnit.cs
- ManualResetEvent.cs
- DataGridViewCellCollection.cs
- EntityViewContainer.cs
- TrackingStringDictionary.cs
- XmlDataImplementation.cs
- WorkflowApplicationTerminatedException.cs
- PanelDesigner.cs
- DbParameterCollection.cs
- PeerName.cs
- XPathEmptyIterator.cs
- SessionPageStateSection.cs
- MachineKeyConverter.cs
- FontDriver.cs
- ToolStripDropDownClosingEventArgs.cs
- IpcClientChannel.cs
- DbgUtil.cs
- IndependentlyAnimatedPropertyMetadata.cs
- XmlSchemas.cs
- MobileListItemCollection.cs
- HttpResponse.cs
- ColumnMap.cs
- ProcessThreadCollection.cs
- StructuredType.cs
- SqlXml.cs
- PhysicalFontFamily.cs
- XamlFxTrace.cs
- UrlParameterWriter.cs
- SqlParameter.cs
- XamlPathDataSerializer.cs
- EntityDataSourceContextCreatingEventArgs.cs
- BitmapData.cs
- URLEditor.cs
- keycontainerpermission.cs
- TextSelectionProcessor.cs
- Html32TextWriter.cs
- DataGridViewCellCollection.cs
- PageRequestManager.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Hash.cs
- HwndHostAutomationPeer.cs
- ScrollPattern.cs
- FixedSOMPage.cs
- KnownBoxes.cs
- LinkedResource.cs
- MembershipUser.cs
- DataObjectSettingDataEventArgs.cs
- TraceContext.cs
- TypePresenter.xaml.cs
- BinaryMethodMessage.cs
- BamlLocalizabilityResolver.cs
- ThreadAttributes.cs
- XpsSerializationException.cs
- OutputCacheProfileCollection.cs
- EdmComplexPropertyAttribute.cs
- CodeObject.cs
- XmlNamedNodeMap.cs
- LZCodec.cs
- XmlSerializerNamespaces.cs
- Calendar.cs
- BlockUIContainer.cs
- EntityKey.cs
- DataSourceCacheDurationConverter.cs
- TableLayoutStyleCollection.cs
- DataListItemEventArgs.cs
- StandardMenuStripVerb.cs
- HttpStaticObjectsCollectionBase.cs
- HuffCodec.cs
- OptimizedTemplateContent.cs
- _ShellExpression.cs
- DataSourceView.cs
- SimpleHandlerBuildProvider.cs
- MDIClient.cs
- IdentityManager.cs
- HierarchicalDataBoundControlAdapter.cs
- DockingAttribute.cs
- OracleRowUpdatedEventArgs.cs
- PointF.cs
- Group.cs
- DataGridViewCellFormattingEventArgs.cs
- ExternalCalls.cs
- QueryAsyncResult.cs
- KeyGesture.cs
- Site.cs
- InkCanvasSelection.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SessionIDManager.cs
- RecordManager.cs
- SafeHandle.cs
- SqlPersonalizationProvider.cs
- XmlValueConverter.cs
- ColorConverter.cs
- SelfIssuedAuthRSACryptoProvider.cs
- InkCanvasSelection.cs
- SslStreamSecurityElement.cs