[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)
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Constructor Or AttributeTargets.Method, AllowMultiple := False, _
Inherited := False)> _
Public NotInheritable Class TargetedPatchingOptOutAttribute _
Inherits Attribute
Dim instance As TargetedPatchingOptOutAttribute
[AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method, AllowMultiple = false,
Inherited = false)]
public sealed class TargetedPatchingOptOutAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Constructor|AttributeTargets::Method, AllowMultiple = false,
Inherited = false)]
public ref class TargetedPatchingOptOutAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method, AllowMultiple = false,
Inherited = false)>]
type TargetedPatchingOptOutAttribute =
class
inherit Attribute
end
System..::.Object
System..::.Attribute
System.Runtime..::.TargetedPatchingOptOutAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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.
.NET Framework
Supported in: 4
.NET Framework Client Profile
Supported in: 4
Reference