Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ApplicationId Constructor (array<Byte>^, String^, Version^, String^, String^)

 

Initializes a new instance of the ApplicationId class.

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

public:
ApplicationId(
	array<unsigned char>^ publicKeyToken,
	String^ name,
	Version^ version,
	String^ processorArchitecture,
	String^ culture
)

Parameters

publicKeyToken
Type: array<System::Byte>^

The array of bytes representing the raw public key data.

name
Type: System::String^

The name of the application.

version
Type: System::Version^

A Version object that specifies the version of the application.

processorArchitecture
Type: System::String^

The processor architecture of the application.

culture
Type: System::String^

The culture of the application.

Exception Condition
ArgumentNullException

name is null.

-or-

version is null.

-or-

publicKeyToken is null.

ArgumentException

name is an empty string.

The constructor initializes the Culture, Name, ProcessorArchitecture, PublicKeyToken, and Version properties of the ApplicationId.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft