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
- EdmScalarPropertyAttribute.cs
- SelectionWordBreaker.cs
- SliderAutomationPeer.cs
- NodeInfo.cs
- InlineObject.cs
- ColumnMapCopier.cs
- ContentElement.cs
- SpeechDetectedEventArgs.cs
- _ConnectOverlappedAsyncResult.cs
- EventMappingSettings.cs
- InlineCollection.cs
- BigInt.cs
- XmlSchemaInclude.cs
- ConfigurationProperty.cs
- Size3DValueSerializer.cs
- TypeUsage.cs
- InsufficientMemoryException.cs
- FileVersion.cs
- DrawingVisual.cs
- NetStream.cs
- ProcessHost.cs
- WmfPlaceableFileHeader.cs
- MemoryStream.cs
- Int64.cs
- CopyNamespacesAction.cs
- ISCIIEncoding.cs
- TraceProvider.cs
- ProcessHostMapPath.cs
- SqlParameter.cs
- SQLInt16Storage.cs
- AlignmentXValidation.cs
- MailMessageEventArgs.cs
- ConnectionProviderAttribute.cs
- OperationContextScope.cs
- ProcessHostMapPath.cs
- BadImageFormatException.cs
- PropertyBuilder.cs
- EditBehavior.cs
- AsyncParams.cs
- SecUtil.cs
- AdornedElementPlaceholder.cs
- ControlFilterExpression.cs
- SystemIcmpV6Statistics.cs
- CodeTypeReferenceSerializer.cs
- SqlCommand.cs
- TraceShell.cs
- DataGridCellInfo.cs
- Manipulation.cs
- ResourceDescriptionAttribute.cs
- Group.cs
- ColumnMapVisitor.cs
- BinaryObjectInfo.cs
- CompleteWizardStep.cs
- XslAst.cs
- WeakEventTable.cs
- MissingFieldException.cs
- ProfileModule.cs
- MDIWindowDialog.cs
- CryptoHelper.cs
- ContentType.cs
- webbrowsersite.cs
- QueryCursorEventArgs.cs
- ContainerActivationHelper.cs
- WindowsIdentity.cs
- CodeMethodReturnStatement.cs
- DocumentXPathNavigator.cs
- TextEditor.cs
- VSDExceptions.cs
- SchemaConstraints.cs
- HierarchicalDataSourceDesigner.cs
- WebBrowsableAttribute.cs
- CqlWriter.cs
- CompilerInfo.cs
- TransactionManager.cs
- ScalarOps.cs
- Bits.cs
- EmptyControlCollection.cs
- MachineKeySection.cs
- Properties.cs
- ipaddressinformationcollection.cs
- InvokeMethod.cs
- ArgumentOutOfRangeException.cs
- ExecutedRoutedEventArgs.cs
- TdsParameterSetter.cs
- SqlDataRecord.cs
- JoinTreeSlot.cs
- ImageAnimator.cs
- FormsAuthenticationConfiguration.cs
- handlecollector.cs
- CompiledQuery.cs
- TextElementEnumerator.cs
- CqlLexer.cs
- WebPartZone.cs
- TableParaClient.cs
- SQLInt32Storage.cs
- DrawingGroupDrawingContext.cs
- LogStore.cs
- TabletCollection.cs
- EntityDataSourceDesigner.cs
- DrawingDrawingContext.cs