TargetedPatchingOptOutAttribute Constructor (String^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Initializes a new instance of the TargetedPatchingOptOutAttribute class.

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

public:
TargetedPatchingOptOutAttribute(
	String^ reason
)

Parameters

reason
Type: System::String^

The reason why the method to which the TargetedPatchingOptOutAttribute attribute is applied is considered to be eligible for inlining across Native Image Generator (NGen) images.

.NET Framework
Available since 4.0
Return to top
Show: