TargetFrameworkAttribute Constructor
Collapse the table of content
Expand the table of content

TargetFrameworkAttribute Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes an instance of the TargetFrameworkAttribute class by specifying the .NET Framework version against which an assembly was built.

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

public TargetFrameworkAttribute(
	string frameworkName
)

Parameters

frameworkName
Type: System.String
The version of the .NET Framework against which the assembly was built.

ExceptionCondition
ArgumentNullException

frameworkName is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft