.NET Framework Class Library
TargetedPatchingOptOutAttribute Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Indicates that the .NET Framework class library method to which this attribute is applied is unlikely to be affected by servicing releases, and therefore is eligible to be inlined across Native Image Generator (NGen) images.

Namespace:  System.Runtime
Assembly:  mscorlib (in mscorlib.dll)
Syntax

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Constructor Or AttributeTargets.Method, AllowMultiple := False,  _
    Inherited := False)> _
Public NotInheritable Class TargetedPatchingOptOutAttribute _
    Inherits Attribute
Visual Basic (Usage)
Dim instance As TargetedPatchingOptOutAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method, AllowMultiple = false, 
    Inherited = false)]
public sealed class TargetedPatchingOptOutAttribute : Attribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::Constructor|AttributeTargets::Method, AllowMultiple = false, 
    Inherited = false)]
public ref class TargetedPatchingOptOutAttribute sealed : public Attribute
F#
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method, AllowMultiple = false, 
    Inherited = false)>]
type TargetedPatchingOptOutAttribute =  
    class
        inherit Attribute
    end
Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    System.Runtime..::.TargetedPatchingOptOutAttribute
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
See Also

Reference

Page view tracker