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.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- frameworkName
- Type: System.String
The version of the .NET Framework against which the assembly was built.
| Exception | Condition |
|---|---|
| ArgumentNullException | frameworkName is null. |
Show: