ApplicationId Constructor (array<Byte>^, String^, Version^, String^, String^)
.NET Framework (current version)
Initializes a new instance of the ApplicationId class.
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
Available since 2.0
Show: