Code:
/ FX-1434 / FX-1434 / 1.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
- VerticalAlignConverter.cs
- EventLogException.cs
- XmlSchemaRedefine.cs
- XPathDescendantIterator.cs
- MsmqIntegrationBindingElement.cs
- OrderingQueryOperator.cs
- CharacterMetrics.cs
- ExceptionList.cs
- PersistNameAttribute.cs
- PingReply.cs
- CodeAttributeArgument.cs
- MessagePropertyFilter.cs
- CodeConstructor.cs
- MoveSizeWinEventHandler.cs
- XmlCompatibilityReader.cs
- ColumnResult.cs
- TransformCryptoHandle.cs
- RootBrowserWindowAutomationPeer.cs
- ResourcePool.cs
- DataServiceQueryOfT.cs
- PageStatePersister.cs
- MethodExpr.cs
- SerializationHelper.cs
- ObjectViewFactory.cs
- CodeExpressionStatement.cs
- ReflectionPermission.cs
- TraceContextEventArgs.cs
- MapPathBasedVirtualPathProvider.cs
- GenericTextProperties.cs
- SmiSettersStream.cs
- UpdateTranslator.cs
- ParsedAttributeCollection.cs
- ThreadPool.cs
- GenericXmlSecurityToken.cs
- Hashtable.cs
- SafeRightsManagementPubHandle.cs
- DataGridViewCellMouseEventArgs.cs
- ContentWrapperAttribute.cs
- HtmlLiteralTextAdapter.cs
- DirectoryInfo.cs
- MouseCaptureWithinProperty.cs
- XPathItem.cs
- SafeHandle.cs
- Model3DGroup.cs
- GridViewRowPresenterBase.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- ExpandSegment.cs
- CompiledIdentityConstraint.cs
- GregorianCalendarHelper.cs
- CalendarTable.cs
- Win32MouseDevice.cs
- WsdlParser.cs
- UnrecognizedAssertionsBindingElement.cs
- NamedPipeChannelFactory.cs
- UnsafeNativeMethodsTablet.cs
- XmlAtomErrorReader.cs
- OutputScopeManager.cs
- RuntimeHandles.cs
- SynchronizedRandom.cs
- NameValuePermission.cs
- ErrorStyle.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- SingleKeyFrameCollection.cs
- RequiredArgumentAttribute.cs
- activationcontext.cs
- IArgumentProvider.cs
- TabControlEvent.cs
- VisualTarget.cs
- WindowsTokenRoleProvider.cs
- HwndHost.cs
- SHA1Managed.cs
- HealthMonitoringSectionHelper.cs
- XmlSchemaSet.cs
- XmlSchemaExporter.cs
- UInt16Converter.cs
- DataServiceHost.cs
- MetadataArtifactLoaderResource.cs
- ServiceProviders.cs
- SerializationAttributes.cs
- ObjectView.cs
- KoreanCalendar.cs
- FlowLayoutPanel.cs
- SqlUDTStorage.cs
- CommandHelper.cs
- xsdvalidator.cs
- IImplicitResourceProvider.cs
- HtmlUtf8RawTextWriter.cs
- ClassicBorderDecorator.cs
- AudioLevelUpdatedEventArgs.cs
- StrokeNodeOperations2.cs
- QueryReaderSettings.cs
- MachineSettingsSection.cs
- UnsafeNativeMethods.cs
- MessageLogger.cs
- RowType.cs
- ObjectDataSourceDisposingEventArgs.cs
- LinqToSqlWrapper.cs
- ActivationProxy.cs
- DocComment.cs
- QuotedStringFormatReader.cs