Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- MembershipPasswordException.cs
- MessageSecurityOverTcp.cs
- UserControl.cs
- PackWebRequest.cs
- VSDExceptions.cs
- CellRelation.cs
- NumberSubstitution.cs
- ExpressionBuilder.cs
- DecoderBestFitFallback.cs
- DockPattern.cs
- EditorZone.cs
- DataServiceHostFactory.cs
- Vector3DAnimationUsingKeyFrames.cs
- HttpValueCollection.cs
- EditorPartChrome.cs
- XmlBuffer.cs
- Lazy.cs
- ToolCreatedEventArgs.cs
- WorkflowService.cs
- _OverlappedAsyncResult.cs
- MasterPageCodeDomTreeGenerator.cs
- ChannelCredentials.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- ScrollableControl.cs
- OLEDB_Enum.cs
- DataPagerFieldItem.cs
- ListViewInsertionMark.cs
- AssertUtility.cs
- AtomContentProperty.cs
- Baml6ConstructorInfo.cs
- RulePatternOps.cs
- DataReceivedEventArgs.cs
- ProfileParameter.cs
- Graphics.cs
- StringDictionary.cs
- NaturalLanguageHyphenator.cs
- ValidatingPropertiesEventArgs.cs
- DataGridViewAddColumnDialog.cs
- SerialErrors.cs
- TypeUtils.cs
- NotifyParentPropertyAttribute.cs
- TextOptions.cs
- ScrollBar.cs
- DrawingContextWalker.cs
- KeyValuePairs.cs
- ProcessRequestArgs.cs
- XmlHierarchyData.cs
- BitmapMetadataEnumerator.cs
- ChannelEndpointElementCollection.cs
- RegexParser.cs
- TypeToken.cs
- HttpDictionary.cs
- SqlRecordBuffer.cs
- _IPv4Address.cs
- Size3DConverter.cs
- ComponentEditorPage.cs
- Table.cs
- FormViewPagerRow.cs
- securestring.cs
- ProxyManager.cs
- HandleCollector.cs
- ConvertEvent.cs
- ActivityTrace.cs
- ProxySimple.cs
- StrokeIntersection.cs
- UnsafeNativeMethods.cs
- ScriptingJsonSerializationSection.cs
- ListBindableAttribute.cs
- basecomparevalidator.cs
- EditorPartCollection.cs
- Errors.cs
- Util.cs
- ListItemParagraph.cs
- SafeWaitHandle.cs
- Memoizer.cs
- SafeMILHandleMemoryPressure.cs
- BuildManagerHost.cs
- ByteStack.cs
- DocumentApplicationJournalEntry.cs
- WebBrowserEvent.cs
- CodeDOMUtility.cs
- PrinterResolution.cs
- IssuedTokensHeader.cs
- XmlResolver.cs
- TableChangeProcessor.cs
- DataSourceIDConverter.cs
- TypeUtils.cs
- AppAction.cs
- ClientRoleProvider.cs
- XmlKeywords.cs
- XamlInt32CollectionSerializer.cs
- BulletDecorator.cs
- ProcessInputEventArgs.cs
- RenderTargetBitmap.cs
- SecureStringHasher.cs
- InternalConfigRoot.cs
- CodeBlockBuilder.cs
- SimpleWorkerRequest.cs
- GenerateTemporaryTargetAssembly.cs
- MouseCaptureWithinProperty.cs