Export (0) Print
Expand All

FrameworkName Constructor (String, Version, String)

Initializes a new instance of the FrameworkName class from a string, a Version object that identifies a .NET Framework version, and a profile name.

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

public:
FrameworkName(
	String^ identifier, 
	Version^ version, 
	String^ profile
)

Parameters

identifier
Type: System::String

A string that identifies a .NET Framework version.

version
Type: System::Version

An object that contains .NET Framework version information.

profile
Type: System::String

A profile name.

ExceptionCondition
ArgumentException

identifier is String::Empty.

ArgumentNullException

identifier is nullptr.

-or-

version is nullptr.

The FrameworkName class requires that a Version object include at least a major and minor version number.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft